@harnessio/react-sei-panorama-service-client 0.21.21 → 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.
Files changed (28) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerApproveDevelopersSaveMutation.d.ts +18 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerApproveDevelopersSaveMutation.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetIntegrationHealthQuery.d.ts +20 -0
  4. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetIntegrationHealthQuery.js +14 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmCommitsCountQuery.d.ts +4 -4
  6. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmCommitsCountQuery.js +2 -2
  7. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmPrsCountQuery.d.ts +4 -4
  8. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmPrsCountQuery.js +2 -2
  9. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmReposCountQuery.d.ts +4 -4
  10. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetScmReposCountQuery.js +2 -2
  11. package/dist/sei-panorama-service/src/services/index.d.ts +12 -3
  12. package/dist/sei-panorama-service/src/services/index.js +2 -0
  13. package/dist/sei-panorama-service/src/services/schemas/BaExpressionLeafDto.d.ts +2 -0
  14. package/dist/sei-panorama-service/src/services/schemas/DailyCountDataPoint.d.ts +0 -3
  15. package/dist/sei-panorama-service/src/services/schemas/Developer.d.ts +33 -0
  16. package/dist/sei-panorama-service/src/services/schemas/Developer.js +4 -0
  17. package/dist/sei-panorama-service/src/services/schemas/DeveloperSaveResponseDto.d.ts +12 -0
  18. package/dist/sei-panorama-service/src/services/schemas/DevelopersUpdateReview.d.ts +27 -0
  19. package/dist/sei-panorama-service/src/services/schemas/DevelopersUpdateReview.js +1 -0
  20. package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
  21. package/dist/sei-panorama-service/src/services/schemas/IntegrationHealthStatusDto.d.ts +20 -0
  22. package/dist/sei-panorama-service/src/services/schemas/IntegrationHealthStatusDto.js +4 -0
  23. package/dist/sei-panorama-service/src/services/schemas/ScmStatsRequest.d.ts +5 -0
  24. package/dist/sei-panorama-service/src/services/schemas/ScmStatsRequest.js +4 -0
  25. package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +9 -2
  26. package/dist/sei-panorama-service/src/services/schemas/TeamInfo.d.ts +28 -0
  27. package/dist/sei-panorama-service/src/services/schemas/TeamInfo.js +4 -0
  28. 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,17 +1,17 @@
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
- integrationIds: string[];
7
- fromDate?: string;
8
- toDate?: string;
9
7
  account: string;
10
8
  }
9
+ export type IntegrationStatsControllerGetScmCommitsCountRequestBody = ScmStatsRequest;
11
10
  export type IntegrationStatsControllerGetScmCommitsCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
12
11
  export type IntegrationStatsControllerGetScmCommitsCountErrorResponse = IntegrationStatsDto[];
13
- export interface IntegrationStatsControllerGetScmCommitsCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetScmCommitsCountQueryQueryParams, unknown>, 'url'> {
12
+ export interface IntegrationStatsControllerGetScmCommitsCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetScmCommitsCountQueryQueryParams, IntegrationStatsControllerGetScmCommitsCountRequestBody>, 'url'> {
14
13
  queryParams: IntegrationStatsControllerGetScmCommitsCountQueryQueryParams;
14
+ body: IntegrationStatsControllerGetScmCommitsCountRequestBody;
15
15
  }
16
16
  export declare function integrationStatsControllerGetScmCommitsCount(props: IntegrationStatsControllerGetScmCommitsCountProps): Promise<IntegrationStatsControllerGetScmCommitsCountOkResponse>;
17
17
  /**
@@ -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: 'GET' }, props));
7
+ return fetcher(Object.assign({ url: `/v2/integration-stats/scm/commits`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
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,17 +1,17 @@
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
- integrationIds: string[];
7
- fromDate?: string;
8
- toDate?: string;
9
7
  account: string;
10
8
  }
9
+ export type IntegrationStatsControllerGetScmPrsCountRequestBody = ScmStatsRequest;
11
10
  export type IntegrationStatsControllerGetScmPrsCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
12
11
  export type IntegrationStatsControllerGetScmPrsCountErrorResponse = IntegrationStatsDto[];
13
- export interface IntegrationStatsControllerGetScmPrsCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetScmPrsCountQueryQueryParams, unknown>, 'url'> {
12
+ export interface IntegrationStatsControllerGetScmPrsCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetScmPrsCountQueryQueryParams, IntegrationStatsControllerGetScmPrsCountRequestBody>, 'url'> {
14
13
  queryParams: IntegrationStatsControllerGetScmPrsCountQueryQueryParams;
14
+ body: IntegrationStatsControllerGetScmPrsCountRequestBody;
15
15
  }
16
16
  export declare function integrationStatsControllerGetScmPrsCount(props: IntegrationStatsControllerGetScmPrsCountProps): Promise<IntegrationStatsControllerGetScmPrsCountOkResponse>;
17
17
  /**
@@ -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: 'GET' }, props));
7
+ return fetcher(Object.assign({ url: `/v2/integration-stats/scm/prs`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
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,17 +1,17 @@
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
- integrationIds: string[];
7
- fromDate?: string;
8
- toDate?: string;
9
7
  account: string;
10
8
  }
9
+ export type IntegrationStatsControllerGetScmReposCountRequestBody = ScmStatsRequest;
11
10
  export type IntegrationStatsControllerGetScmReposCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
12
11
  export type IntegrationStatsControllerGetScmReposCountErrorResponse = IntegrationStatsDto[];
13
- export interface IntegrationStatsControllerGetScmReposCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetScmReposCountQueryQueryParams, unknown>, 'url'> {
12
+ export interface IntegrationStatsControllerGetScmReposCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetScmReposCountQueryQueryParams, IntegrationStatsControllerGetScmReposCountRequestBody>, 'url'> {
14
13
  queryParams: IntegrationStatsControllerGetScmReposCountQueryQueryParams;
14
+ body: IntegrationStatsControllerGetScmReposCountRequestBody;
15
15
  }
16
16
  export declare function integrationStatsControllerGetScmReposCount(props: IntegrationStatsControllerGetScmReposCountProps): Promise<IntegrationStatsControllerGetScmReposCountOkResponse>;
17
17
  /**
@@ -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: 'GET' }, props));
7
+ return fetcher(Object.assign({ url: `/v2/integration-stats/scm/repos`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
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 { IntegrationStatsControllerGetScmCommitsCountErrorResponse, IntegrationStatsControllerGetScmCommitsCountOkResponse, IntegrationStatsControllerGetScmCommitsCountProps, IntegrationStatsControllerGetScmCommitsCountQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetScmCommitsCountQuery';
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';
@@ -316,6 +320,7 @@ export type { DataPointDeploymentFrequency } from './schemas/DataPointDeployment
316
320
  export type { DbListResponseCategory } from './schemas/DbListResponseCategory';
317
321
  export type { DbListResponseCollectionTree } from './schemas/DbListResponseCollectionTree';
318
322
  export type { DeploymentInfo } from './schemas/DeploymentInfo';
323
+ export type { Developer } from './schemas/Developer';
319
324
  export type { DeveloperCloudIdMapping } from './schemas/DeveloperCloudIdMapping';
320
325
  export type { DeveloperFieldDto } from './schemas/DeveloperFieldDto';
321
326
  export type { DeveloperFilePreviewDto } from './schemas/DeveloperFilePreviewDto';
@@ -326,6 +331,7 @@ export type { DeveloperSaveResponseDto } from './schemas/DeveloperSaveResponseDt
326
331
  export type { DeveloperSearchParams } from './schemas/DeveloperSearchParams';
327
332
  export type { DeveloperUpsertResponseDto } from './schemas/DeveloperUpsertResponseDto';
328
333
  export type { DeveloperValidationErrorDto } from './schemas/DeveloperValidationErrorDto';
334
+ export type { DevelopersUpdateReview } from './schemas/DevelopersUpdateReview';
329
335
  export type { DfConfigurationDto } from './schemas/DfConfigurationDto';
330
336
  export type { DoraChangeFailureRateMetric } from './schemas/DoraChangeFailureRateMetric';
331
337
  export type { DoraChangeFailureRateMetricBreakdown } from './schemas/DoraChangeFailureRateMetricBreakdown';
@@ -382,6 +388,7 @@ export type { IndividualDrilldownDataV3 } from './schemas/IndividualDrilldownDat
382
388
  export type { Integration } from './schemas/Integration';
383
389
  export type { IntegrationConfigRequestDto } from './schemas/IntegrationConfigRequestDto';
384
390
  export type { IntegrationConfigResponseDto } from './schemas/IntegrationConfigResponseDto';
391
+ export type { IntegrationHealthStatusDto } from './schemas/IntegrationHealthStatusDto';
385
392
  export type { IntegrationIdsDto } from './schemas/IntegrationIdsDto';
386
393
  export type { IntegrationObject } from './schemas/IntegrationObject';
387
394
  export type { IntegrationResponseDto } from './schemas/IntegrationResponseDto';
@@ -457,6 +464,7 @@ export type { ProfileSearchParams } from './schemas/ProfileSearchParams';
457
464
  export type { RefIdDto } from './schemas/RefIdDto';
458
465
  export type { ReleaseIssueDto } from './schemas/ReleaseIssueDto';
459
466
  export type { ReleaseIssuesResponseWrapper } from './schemas/ReleaseIssuesResponseWrapper';
467
+ export type { ScmStatsRequest } from './schemas/ScmStatsRequest';
460
468
  export type { SectionDto } from './schemas/SectionDto';
461
469
  export type { SortOption } from './schemas/SortOption';
462
470
  export type { Stage } from './schemas/Stage';
@@ -466,6 +474,7 @@ export type { SummaryValueChange } from './schemas/SummaryValueChange';
466
474
  export type { TeamDeveloperSearchParams } from './schemas/TeamDeveloperSearchParams';
467
475
  export type { TeamDevelopersDto } from './schemas/TeamDevelopersDto';
468
476
  export type { TeamFilter } from './schemas/TeamFilter';
477
+ export type { TeamInfo } from './schemas/TeamInfo';
469
478
  export type { TeamInfoUpdateRequestDto } from './schemas/TeamInfoUpdateRequestDto';
470
479
  export type { TeamIntegrationDto } from './schemas/TeamIntegrationDto';
471
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[];
@@ -3,9 +3,6 @@ export interface DailyCountDataPoint {
3
3
  * @format int64
4
4
  */
5
5
  dailyCount?: number;
6
- /**
7
- * @format date
8
- */
9
6
  date?: string;
10
7
  integrationId?: string;
11
8
  }
@@ -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
+ }
@@ -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,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
+ }
@@ -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
+ }
@@ -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,5 @@
1
+ export interface ScmStatsRequest {
2
+ fromDate?: string;
3
+ integrationIds?: string[];
4
+ toDate?: string;
5
+ }
@@ -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,6 +1,12 @@
1
1
  export interface TeamFilter {
2
- applicableMetrics?: Array<'BA' | 'CFR' | 'DF' | 'LTTC' | 'MTTR' | 'PRODUCTIVITY'>;
3
- 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';
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
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.21.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",