@harnessio/react-sei-panorama-service-client 0.21.11 → 0.21.13
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/useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.d.ts +2 -1
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery.d.ts +1 -5
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery.d.ts +1 -5
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.d.ts +2 -1
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerPreviewTeamHierarchyMutation.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerPreviewTeamHierarchyMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerSearchOrgTreesQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation.d.ts +1 -5
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.d.ts +1 -5
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationFiltersQuery.d.ts +0 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamDevelopersQuery.d.ts +33 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamDevelopersQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamsQuery.d.ts +2 -4
- package/dist/sei-panorama-service/src/services/index.d.ts +14 -7
- package/dist/sei-panorama-service/src/services/index.js +3 -1
- package/dist/sei-panorama-service/src/services/schemas/DeveloperSearchParams.d.ts +1 -0
- package/dist/sei-panorama-service/src/services/schemas/FilterByField.d.ts +11 -0
- package/dist/sei-panorama-service/src/services/schemas/MinimalDeveloperDto.d.ts +18 -0
- package/dist/sei-panorama-service/src/services/schemas/MinimalDeveloperDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreePreviewRequestDto.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreePreviewRequestDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.d.ts +2 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeSearchParams.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/PreviewTeamHierarchyResponseDto.d.ts +21 -0
- package/dist/sei-panorama-service/src/services/schemas/PreviewTeamHierarchyResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureResponseDto.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/schemas/ProductivityV3FeatureBreakdownResponseDataPoint.d.ts +7 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamSearchParams.d.ts +4 -0
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchDevelopersQuery.d.ts +0 -31
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchDevelopersQuery.js +0 -11
- package/dist/sei-panorama-service/src/services/schemas/StatisticalTrendPercent.d.ts +0 -18
- /package/dist/sei-panorama-service/src/services/schemas/{StatisticalTrendPercent.js → FilterByField.js} +0 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { ResponseWithPagination } from '../helpers';
|
3
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
4
|
+
export interface DeveloperControllerGetDistinctDeveloperAttributeValuesQueryQueryParams {
|
5
|
+
attribute: string;
|
6
|
+
}
|
7
|
+
export type DeveloperControllerGetDistinctDeveloperAttributeValuesOkResponse = ResponseWithPagination<string[]>;
|
8
|
+
export type DeveloperControllerGetDistinctDeveloperAttributeValuesErrorResponse = unknown;
|
9
|
+
export interface DeveloperControllerGetDistinctDeveloperAttributeValuesProps extends Omit<FetcherOptions<DeveloperControllerGetDistinctDeveloperAttributeValuesQueryQueryParams, unknown>, 'url'> {
|
10
|
+
queryParams: DeveloperControllerGetDistinctDeveloperAttributeValuesQueryQueryParams;
|
11
|
+
}
|
12
|
+
export declare function developerControllerGetDistinctDeveloperAttributeValues(props: DeveloperControllerGetDistinctDeveloperAttributeValuesProps): Promise<DeveloperControllerGetDistinctDeveloperAttributeValuesOkResponse>;
|
13
|
+
/**
|
14
|
+
* Returns distinct values for a given attribute key from developers.attributes for the active version.
|
15
|
+
*/
|
16
|
+
export declare function useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery(props: DeveloperControllerGetDistinctDeveloperAttributeValuesProps, options?: Omit<UseQueryOptions<DeveloperControllerGetDistinctDeveloperAttributeValuesOkResponse, DeveloperControllerGetDistinctDeveloperAttributeValuesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<DeveloperControllerGetDistinctDeveloperAttributeValuesOkResponse, unknown>;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
3
|
+
// Please do not modify this code directly.
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
+
export function developerControllerGetDistinctDeveloperAttributeValues(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/developers/attribute-values`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Returns distinct values for a given attribute key from developers.attributes for the active version.
|
11
|
+
*/
|
12
|
+
export function useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery(props, options) {
|
13
|
+
return useQuery(['DeveloperControllerGetDistinctDeveloperAttributeValues', props.queryParams], ({ signal }) => developerControllerGetDistinctDeveloperAttributeValues(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.d.ts
CHANGED
@@ -6,7 +6,8 @@ import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
7
7
|
export interface OrgTreeControllerCreateOrgTreeMutationQueryParams {
|
8
8
|
accountIdentifier: string;
|
9
|
-
orgIdentifer
|
9
|
+
orgIdentifer?: string;
|
10
|
+
orgIdentifier?: string;
|
10
11
|
projectIdentifier: string;
|
11
12
|
}
|
12
13
|
export type OrgTreeControllerCreateOrgTreeRequestBody = OrgTreeCreateRequestDto;
|
@@ -9,13 +9,9 @@ export interface OrgTreeControllerGetOrgTreeIntegrationsQueryPathParams {
|
|
9
9
|
*/
|
10
10
|
orgTreeId: number;
|
11
11
|
}
|
12
|
-
export interface OrgTreeControllerGetOrgTreeIntegrationsQueryQueryParams {
|
13
|
-
accountIdentifier: string;
|
14
|
-
}
|
15
12
|
export type OrgTreeControllerGetOrgTreeIntegrationsOkResponse = ResponseWithPagination<IntegrationResponseDto[]>;
|
16
13
|
export type OrgTreeControllerGetOrgTreeIntegrationsErrorResponse = ErrorResponse;
|
17
|
-
export interface OrgTreeControllerGetOrgTreeIntegrationsProps extends OrgTreeControllerGetOrgTreeIntegrationsQueryPathParams, Omit<FetcherOptions<
|
18
|
-
queryParams: OrgTreeControllerGetOrgTreeIntegrationsQueryQueryParams;
|
14
|
+
export interface OrgTreeControllerGetOrgTreeIntegrationsProps extends OrgTreeControllerGetOrgTreeIntegrationsQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
19
15
|
}
|
20
16
|
export declare function orgTreeControllerGetOrgTreeIntegrations(props: OrgTreeControllerGetOrgTreeIntegrationsProps): Promise<OrgTreeControllerGetOrgTreeIntegrationsOkResponse>;
|
21
17
|
/**
|
@@ -10,5 +10,5 @@ export function orgTreeControllerGetOrgTreeIntegrations(props) {
|
|
10
10
|
* Get the integrations associated with an organization tree
|
11
11
|
*/
|
12
12
|
export function useOrgTreeControllerGetOrgTreeIntegrationsQuery(props, options) {
|
13
|
-
return useQuery(['OrgTreeControllerGetOrgTreeIntegrations', props.orgTreeId
|
13
|
+
return useQuery(['OrgTreeControllerGetOrgTreeIntegrations', props.orgTreeId], ({ signal }) => orgTreeControllerGetOrgTreeIntegrations(Object.assign(Object.assign({}, props), { signal })), options);
|
14
14
|
}
|
@@ -9,13 +9,9 @@ export interface OrgTreeControllerGetOrgTreeTeamHierarchyQueryPathParams {
|
|
9
9
|
*/
|
10
10
|
orgTreeId: number;
|
11
11
|
}
|
12
|
-
export interface OrgTreeControllerGetOrgTreeTeamHierarchyQueryQueryParams {
|
13
|
-
accountIdentifier: string;
|
14
|
-
}
|
15
12
|
export type OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse = ResponseWithPagination<MinimalTeamHierarchyResponseDto>;
|
16
13
|
export type OrgTreeControllerGetOrgTreeTeamHierarchyErrorResponse = ErrorResponse;
|
17
|
-
export interface OrgTreeControllerGetOrgTreeTeamHierarchyProps extends OrgTreeControllerGetOrgTreeTeamHierarchyQueryPathParams, Omit<FetcherOptions<
|
18
|
-
queryParams: OrgTreeControllerGetOrgTreeTeamHierarchyQueryQueryParams;
|
14
|
+
export interface OrgTreeControllerGetOrgTreeTeamHierarchyProps extends OrgTreeControllerGetOrgTreeTeamHierarchyQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
19
15
|
}
|
20
16
|
export declare function orgTreeControllerGetOrgTreeTeamHierarchy(props: OrgTreeControllerGetOrgTreeTeamHierarchyProps): Promise<OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse>;
|
21
17
|
/**
|
@@ -10,5 +10,5 @@ export function orgTreeControllerGetOrgTreeTeamHierarchy(props) {
|
|
10
10
|
* Get the team hierarchy for an organization tree
|
11
11
|
*/
|
12
12
|
export function useOrgTreeControllerGetOrgTreeTeamHierarchyQuery(props, options) {
|
13
|
-
return useQuery(['OrgTreeControllerGetOrgTreeTeamHierarchy', props.orgTreeId
|
13
|
+
return useQuery(['OrgTreeControllerGetOrgTreeTeamHierarchy', props.orgTreeId], ({ signal }) => orgTreeControllerGetOrgTreeTeamHierarchy(Object.assign(Object.assign({}, props), { signal })), options);
|
14
14
|
}
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.d.ts
CHANGED
@@ -5,7 +5,8 @@ import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
6
|
export interface OrgTreeControllerGetOrgTreesQueryQueryParams {
|
7
7
|
accountIdentifier: string;
|
8
|
-
orgIdentifer
|
8
|
+
orgIdentifer?: string;
|
9
|
+
orgIdentifier?: string;
|
9
10
|
projectIdentifier: string;
|
10
11
|
/**
|
11
12
|
* @format int32
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { PreviewTeamHierarchyResponseDto } from '../schemas/PreviewTeamHierarchyResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { OrgTreePreviewRequestDto } from '../schemas/OrgTreePreviewRequestDto';
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
7
|
+
export type OrgTreeControllerPreviewTeamHierarchyRequestBody = OrgTreePreviewRequestDto;
|
8
|
+
export type OrgTreeControllerPreviewTeamHierarchyOkResponse = ResponseWithPagination<PreviewTeamHierarchyResponseDto>;
|
9
|
+
export type OrgTreeControllerPreviewTeamHierarchyErrorResponse = ErrorResponse;
|
10
|
+
export interface OrgTreeControllerPreviewTeamHierarchyProps extends Omit<FetcherOptions<unknown, OrgTreeControllerPreviewTeamHierarchyRequestBody>, 'url'> {
|
11
|
+
body: OrgTreeControllerPreviewTeamHierarchyRequestBody;
|
12
|
+
}
|
13
|
+
export declare function orgTreeControllerPreviewTeamHierarchy(props: OrgTreeControllerPreviewTeamHierarchyProps): Promise<OrgTreeControllerPreviewTeamHierarchyOkResponse>;
|
14
|
+
/**
|
15
|
+
* Generates a preview of the team hierarchy based on developers and grouping criteria without writing to the database
|
16
|
+
*/
|
17
|
+
export declare function useOrgTreeControllerPreviewTeamHierarchyMutation(options?: Omit<UseMutationOptions<OrgTreeControllerPreviewTeamHierarchyOkResponse, OrgTreeControllerPreviewTeamHierarchyErrorResponse, OrgTreeControllerPreviewTeamHierarchyProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OrgTreeControllerPreviewTeamHierarchyOkResponse, ErrorResponse, OrgTreeControllerPreviewTeamHierarchyProps, 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 orgTreeControllerPreviewTeamHierarchy(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/preview`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Generates a preview of the team hierarchy based on developers and grouping criteria without writing to the database
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerPreviewTeamHierarchyMutation(options) {
|
13
|
+
return useMutation((mutateProps) => orgTreeControllerPreviewTeamHierarchy(mutateProps), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerSearchOrgTreesQuery.d.ts
CHANGED
@@ -5,7 +5,7 @@ import type { OrgTreeSearchParams } from '../schemas/OrgTreeSearchParams';
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
7
7
|
export interface OrgTreeControllerSearchOrgTreesQueryQueryParams {
|
8
|
-
|
8
|
+
orgIdentifier: string;
|
9
9
|
projectIdentifier: string;
|
10
10
|
/**
|
11
11
|
* @format int32
|
@@ -10,14 +10,10 @@ export interface OrgTreeControllerUpdateOrgTreeIntegrationsMutationPathParams {
|
|
10
10
|
*/
|
11
11
|
orgTreeId: number;
|
12
12
|
}
|
13
|
-
export interface OrgTreeControllerUpdateOrgTreeIntegrationsMutationQueryParams {
|
14
|
-
accountIdentifier: string;
|
15
|
-
}
|
16
13
|
export type OrgTreeControllerUpdateOrgTreeIntegrationsRequestBody = IntegrationIdsDto;
|
17
14
|
export type OrgTreeControllerUpdateOrgTreeIntegrationsOkResponse = ResponseWithPagination<IntegrationResponseDto>;
|
18
15
|
export type OrgTreeControllerUpdateOrgTreeIntegrationsErrorResponse = ErrorResponse;
|
19
|
-
export interface OrgTreeControllerUpdateOrgTreeIntegrationsProps extends OrgTreeControllerUpdateOrgTreeIntegrationsMutationPathParams, Omit<FetcherOptions<
|
20
|
-
queryParams: OrgTreeControllerUpdateOrgTreeIntegrationsMutationQueryParams;
|
16
|
+
export interface OrgTreeControllerUpdateOrgTreeIntegrationsProps extends OrgTreeControllerUpdateOrgTreeIntegrationsMutationPathParams, Omit<FetcherOptions<unknown, OrgTreeControllerUpdateOrgTreeIntegrationsRequestBody>, 'url'> {
|
21
17
|
body: OrgTreeControllerUpdateOrgTreeIntegrationsRequestBody;
|
22
18
|
}
|
23
19
|
export declare function orgTreeControllerUpdateOrgTreeIntegrations(props: OrgTreeControllerUpdateOrgTreeIntegrationsProps): Promise<OrgTreeControllerUpdateOrgTreeIntegrationsOkResponse>;
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.d.ts
CHANGED
@@ -10,14 +10,10 @@ export interface OrgTreeControllerUpdateOrgTreeMutationPathParams {
|
|
10
10
|
*/
|
11
11
|
id: number;
|
12
12
|
}
|
13
|
-
export interface OrgTreeControllerUpdateOrgTreeMutationQueryParams {
|
14
|
-
accountIdentifier: string;
|
15
|
-
}
|
16
13
|
export type OrgTreeControllerUpdateOrgTreeRequestBody = OrgTreeUpdateRequestDto;
|
17
14
|
export type OrgTreeControllerUpdateOrgTreeOkResponse = ResponseWithPagination<OrgTreeResponseDto>;
|
18
15
|
export type OrgTreeControllerUpdateOrgTreeErrorResponse = ErrorResponse;
|
19
|
-
export interface OrgTreeControllerUpdateOrgTreeProps extends OrgTreeControllerUpdateOrgTreeMutationPathParams, Omit<FetcherOptions<
|
20
|
-
queryParams: OrgTreeControllerUpdateOrgTreeMutationQueryParams;
|
16
|
+
export interface OrgTreeControllerUpdateOrgTreeProps extends OrgTreeControllerUpdateOrgTreeMutationPathParams, Omit<FetcherOptions<unknown, OrgTreeControllerUpdateOrgTreeRequestBody>, 'url'> {
|
21
17
|
body: OrgTreeControllerUpdateOrgTreeRequestBody;
|
22
18
|
}
|
23
19
|
export declare function orgTreeControllerUpdateOrgTree(props: OrgTreeControllerUpdateOrgTreeProps): Promise<OrgTreeControllerUpdateOrgTreeOkResponse>;
|
@@ -10,7 +10,6 @@ export interface TeamsControllerGetTeamIntegrationFiltersQueryPathParams {
|
|
10
10
|
}
|
11
11
|
export interface TeamsControllerGetTeamIntegrationFiltersQueryQueryParams {
|
12
12
|
integrationType?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
|
13
|
-
account: string;
|
14
13
|
}
|
15
14
|
export type TeamsControllerGetTeamIntegrationFiltersOkResponse = ResponseWithPagination<GroupedTeamFiltersResponseDto>;
|
16
15
|
export type TeamsControllerGetTeamIntegrationFiltersErrorResponse = GroupedTeamFiltersResponseDto;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { TeamDevelopersDto } from '../schemas/TeamDevelopersDto';
|
3
|
+
import type { DeveloperSearchParams } from '../schemas/DeveloperSearchParams';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface TeamsControllerSearchTeamDevelopersQueryPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
teamRefId: number;
|
11
|
+
}
|
12
|
+
export interface TeamsControllerSearchTeamDevelopersQueryQueryParams {
|
13
|
+
/**
|
14
|
+
* @format int32
|
15
|
+
*/
|
16
|
+
page?: number;
|
17
|
+
/**
|
18
|
+
* @format int32
|
19
|
+
*/
|
20
|
+
size?: number;
|
21
|
+
}
|
22
|
+
export type TeamsControllerSearchTeamDevelopersRequestBody = DeveloperSearchParams;
|
23
|
+
export type TeamsControllerSearchTeamDevelopersOkResponse = ResponseWithPagination<TeamDevelopersDto>;
|
24
|
+
export type TeamsControllerSearchTeamDevelopersErrorResponse = TeamDevelopersDto;
|
25
|
+
export interface TeamsControllerSearchTeamDevelopersProps extends TeamsControllerSearchTeamDevelopersQueryPathParams, Omit<FetcherOptions<TeamsControllerSearchTeamDevelopersQueryQueryParams, TeamsControllerSearchTeamDevelopersRequestBody>, 'url'> {
|
26
|
+
queryParams: TeamsControllerSearchTeamDevelopersQueryQueryParams;
|
27
|
+
body: TeamsControllerSearchTeamDevelopersRequestBody;
|
28
|
+
}
|
29
|
+
export declare function teamsControllerSearchTeamDevelopers(props: TeamsControllerSearchTeamDevelopersProps): Promise<TeamsControllerSearchTeamDevelopersOkResponse>;
|
30
|
+
/**
|
31
|
+
* Search developers for the specified team with filtering and sorting options
|
32
|
+
*/
|
33
|
+
export declare function useTeamsControllerSearchTeamDevelopersQuery(props: TeamsControllerSearchTeamDevelopersProps, options?: Omit<UseQueryOptions<TeamsControllerSearchTeamDevelopersOkResponse, TeamsControllerSearchTeamDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerSearchTeamDevelopersOkResponse, TeamDevelopersDto>;
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamDevelopersQuery.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 teamsControllerSearchTeamDevelopers(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/developers`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Search developers for the specified team with filtering and sorting options
|
11
|
+
*/
|
12
|
+
export function useTeamsControllerSearchTeamDevelopersQuery(props, options) {
|
13
|
+
return useQuery(['TeamsControllerSearchTeamDevelopers', props.teamRefId, props.queryParams, props.body], ({ signal }) => teamsControllerSearchTeamDevelopers(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamsQuery.d.ts
CHANGED
@@ -12,16 +12,14 @@ export interface TeamsControllerSearchTeamsQueryQueryParams {
|
|
12
12
|
* @default ""
|
13
13
|
*/
|
14
14
|
projectIdentifier?: string;
|
15
|
-
/**
|
16
|
-
* @default true
|
17
|
-
*/
|
18
|
-
leafTeamsOnly?: boolean;
|
19
15
|
/**
|
20
16
|
* @format int32
|
17
|
+
* @default 0
|
21
18
|
*/
|
22
19
|
page?: number;
|
23
20
|
/**
|
24
21
|
* @format int32
|
22
|
+
* @default 50
|
25
23
|
*/
|
26
24
|
pageSize?: number;
|
27
25
|
}
|
@@ -57,6 +57,8 @@ export type { DeveloperControllerGetDeveloperUploadPreviewErrorResponse, Develop
|
|
57
57
|
export { developerControllerGetDeveloperUploadPreview, useDeveloperControllerGetDeveloperUploadPreviewQuery, } from './hooks/useDeveloperControllerGetDeveloperUploadPreviewQuery';
|
58
58
|
export type { DeveloperControllerGetDevelopersErrorResponse, DeveloperControllerGetDevelopersOkResponse, DeveloperControllerGetDevelopersProps, DeveloperControllerGetDevelopersQueryQueryParams, } from './hooks/useDeveloperControllerGetDevelopersQuery';
|
59
59
|
export { developerControllerGetDevelopers, useDeveloperControllerGetDevelopersQuery, } from './hooks/useDeveloperControllerGetDevelopersQuery';
|
60
|
+
export type { DeveloperControllerGetDistinctDeveloperAttributeValuesErrorResponse, DeveloperControllerGetDistinctDeveloperAttributeValuesOkResponse, DeveloperControllerGetDistinctDeveloperAttributeValuesProps, DeveloperControllerGetDistinctDeveloperAttributeValuesQueryQueryParams, } from './hooks/useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery';
|
61
|
+
export { developerControllerGetDistinctDeveloperAttributeValues, useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery, } from './hooks/useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery';
|
60
62
|
export type { DeveloperControllerGetLatestDeveloperSchemaErrorResponse, DeveloperControllerGetLatestDeveloperSchemaOkResponse, DeveloperControllerGetLatestDeveloperSchemaProps, DeveloperControllerGetLatestDeveloperSchemaQueryPathParams, } from './hooks/useDeveloperControllerGetLatestDeveloperSchemaQuery';
|
61
63
|
export { developerControllerGetLatestDeveloperSchema, useDeveloperControllerGetLatestDeveloperSchemaQuery, } from './hooks/useDeveloperControllerGetLatestDeveloperSchemaQuery';
|
62
64
|
export type { DeveloperControllerGroupDevelopersErrorResponse, DeveloperControllerGroupDevelopersMutationQueryParams, DeveloperControllerGroupDevelopersOkResponse, DeveloperControllerGroupDevelopersProps, DeveloperControllerGroupDevelopersRequestBody, } from './hooks/useDeveloperControllerGroupDevelopersMutation';
|
@@ -183,25 +185,27 @@ export type { OrgTreeControllerGetBusinessAlignmentProfileRefIdErrorResponse, Or
|
|
183
185
|
export { orgTreeControllerGetBusinessAlignmentProfileRefId, useOrgTreeControllerGetBusinessAlignmentProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetBusinessAlignmentProfileRefIdQuery';
|
184
186
|
export type { OrgTreeControllerGetEfficiencyProfileRefIdErrorResponse, OrgTreeControllerGetEfficiencyProfileRefIdOkResponse, OrgTreeControllerGetEfficiencyProfileRefIdProps, OrgTreeControllerGetEfficiencyProfileRefIdQueryPathParams, OrgTreeControllerGetEfficiencyProfileRefIdQueryQueryParams, } from './hooks/useOrgTreeControllerGetEfficiencyProfileRefIdQuery';
|
185
187
|
export { orgTreeControllerGetEfficiencyProfileRefId, useOrgTreeControllerGetEfficiencyProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetEfficiencyProfileRefIdQuery';
|
186
|
-
export type { OrgTreeControllerGetOrgTreeIntegrationsErrorResponse, OrgTreeControllerGetOrgTreeIntegrationsOkResponse, OrgTreeControllerGetOrgTreeIntegrationsProps, OrgTreeControllerGetOrgTreeIntegrationsQueryPathParams,
|
188
|
+
export type { OrgTreeControllerGetOrgTreeIntegrationsErrorResponse, OrgTreeControllerGetOrgTreeIntegrationsOkResponse, OrgTreeControllerGetOrgTreeIntegrationsProps, OrgTreeControllerGetOrgTreeIntegrationsQueryPathParams, } from './hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery';
|
187
189
|
export { orgTreeControllerGetOrgTreeIntegrations, useOrgTreeControllerGetOrgTreeIntegrationsQuery, } from './hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery';
|
188
190
|
export type { OrgTreeControllerGetOrgTreeErrorResponse, OrgTreeControllerGetOrgTreeOkResponse, OrgTreeControllerGetOrgTreeProps, OrgTreeControllerGetOrgTreeQueryPathParams, OrgTreeControllerGetOrgTreeQueryQueryParams, } from './hooks/useOrgTreeControllerGetOrgTreeQuery';
|
189
191
|
export { orgTreeControllerGetOrgTree, useOrgTreeControllerGetOrgTreeQuery, } from './hooks/useOrgTreeControllerGetOrgTreeQuery';
|
190
|
-
export type { OrgTreeControllerGetOrgTreeTeamHierarchyErrorResponse, OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse, OrgTreeControllerGetOrgTreeTeamHierarchyProps, OrgTreeControllerGetOrgTreeTeamHierarchyQueryPathParams,
|
192
|
+
export type { OrgTreeControllerGetOrgTreeTeamHierarchyErrorResponse, OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse, OrgTreeControllerGetOrgTreeTeamHierarchyProps, OrgTreeControllerGetOrgTreeTeamHierarchyQueryPathParams, } from './hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery';
|
191
193
|
export { orgTreeControllerGetOrgTreeTeamHierarchy, useOrgTreeControllerGetOrgTreeTeamHierarchyQuery, } from './hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery';
|
192
194
|
export type { OrgTreeControllerGetOrgTreesErrorResponse, OrgTreeControllerGetOrgTreesOkResponse, OrgTreeControllerGetOrgTreesProps, OrgTreeControllerGetOrgTreesQueryQueryParams, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
193
195
|
export { orgTreeControllerGetOrgTrees, useOrgTreeControllerGetOrgTreesQuery, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
194
196
|
export type { OrgTreeControllerGetProductivityProfileRefIdErrorResponse, OrgTreeControllerGetProductivityProfileRefIdOkResponse, OrgTreeControllerGetProductivityProfileRefIdProps, OrgTreeControllerGetProductivityProfileRefIdQueryPathParams, OrgTreeControllerGetProductivityProfileRefIdQueryQueryParams, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
195
197
|
export { orgTreeControllerGetProductivityProfileRefId, useOrgTreeControllerGetProductivityProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
198
|
+
export type { OrgTreeControllerPreviewTeamHierarchyErrorResponse, OrgTreeControllerPreviewTeamHierarchyOkResponse, OrgTreeControllerPreviewTeamHierarchyProps, OrgTreeControllerPreviewTeamHierarchyRequestBody, } from './hooks/useOrgTreeControllerPreviewTeamHierarchyMutation';
|
199
|
+
export { orgTreeControllerPreviewTeamHierarchy, useOrgTreeControllerPreviewTeamHierarchyMutation, } from './hooks/useOrgTreeControllerPreviewTeamHierarchyMutation';
|
196
200
|
export type { OrgTreeControllerSearchOrgTreesErrorResponse, OrgTreeControllerSearchOrgTreesOkResponse, OrgTreeControllerSearchOrgTreesProps, OrgTreeControllerSearchOrgTreesQueryQueryParams, OrgTreeControllerSearchOrgTreesRequestBody, } from './hooks/useOrgTreeControllerSearchOrgTreesQuery';
|
197
201
|
export { orgTreeControllerSearchOrgTrees, useOrgTreeControllerSearchOrgTreesQuery, } from './hooks/useOrgTreeControllerSearchOrgTreesQuery';
|
198
202
|
export type { OrgTreeControllerUpdateBusinessAlignmentProfileRefIdErrorResponse, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutationPathParams, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutationQueryParams, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdOkResponse, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdProps, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdRequestBody, } from './hooks/useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation';
|
199
203
|
export { orgTreeControllerUpdateBusinessAlignmentProfileRefId, useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation';
|
200
204
|
export type { OrgTreeControllerUpdateEfficiencyProfileRefIdErrorResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdMutationPathParams, OrgTreeControllerUpdateEfficiencyProfileRefIdMutationQueryParams, OrgTreeControllerUpdateEfficiencyProfileRefIdOkResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdProps, OrgTreeControllerUpdateEfficiencyProfileRefIdRequestBody, } from './hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation';
|
201
205
|
export { orgTreeControllerUpdateEfficiencyProfileRefId, useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation';
|
202
|
-
export type { OrgTreeControllerUpdateOrgTreeIntegrationsErrorResponse, OrgTreeControllerUpdateOrgTreeIntegrationsMutationPathParams,
|
206
|
+
export type { OrgTreeControllerUpdateOrgTreeIntegrationsErrorResponse, OrgTreeControllerUpdateOrgTreeIntegrationsMutationPathParams, OrgTreeControllerUpdateOrgTreeIntegrationsOkResponse, OrgTreeControllerUpdateOrgTreeIntegrationsProps, OrgTreeControllerUpdateOrgTreeIntegrationsRequestBody, } from './hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation';
|
203
207
|
export { orgTreeControllerUpdateOrgTreeIntegrations, useOrgTreeControllerUpdateOrgTreeIntegrationsMutation, } from './hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation';
|
204
|
-
export type { OrgTreeControllerUpdateOrgTreeErrorResponse, OrgTreeControllerUpdateOrgTreeMutationPathParams,
|
208
|
+
export type { OrgTreeControllerUpdateOrgTreeErrorResponse, OrgTreeControllerUpdateOrgTreeMutationPathParams, OrgTreeControllerUpdateOrgTreeOkResponse, OrgTreeControllerUpdateOrgTreeProps, OrgTreeControllerUpdateOrgTreeRequestBody, } from './hooks/useOrgTreeControllerUpdateOrgTreeMutation';
|
205
209
|
export { orgTreeControllerUpdateOrgTree, useOrgTreeControllerUpdateOrgTreeMutation, } from './hooks/useOrgTreeControllerUpdateOrgTreeMutation';
|
206
210
|
export type { OrgTreeControllerUpdateProductivityProfileRefIdErrorResponse, OrgTreeControllerUpdateProductivityProfileRefIdMutationPathParams, OrgTreeControllerUpdateProductivityProfileRefIdMutationQueryParams, OrgTreeControllerUpdateProductivityProfileRefIdOkResponse, OrgTreeControllerUpdateProductivityProfileRefIdProps, OrgTreeControllerUpdateProductivityProfileRefIdRequestBody, } from './hooks/useOrgTreeControllerUpdateProductivityProfileRefIdMutation';
|
207
211
|
export { orgTreeControllerUpdateProductivityProfileRefId, useOrgTreeControllerUpdateProductivityProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateProductivityProfileRefIdMutation';
|
@@ -243,8 +247,8 @@ export type { TeamsControllerGetTeamErrorResponse, TeamsControllerGetTeamOkRespo
|
|
243
247
|
export { teamsControllerGetTeam, useTeamsControllerGetTeamQuery, } from './hooks/useTeamsControllerGetTeamQuery';
|
244
248
|
export type { TeamsControllerListTeamsErrorResponse, TeamsControllerListTeamsOkResponse, TeamsControllerListTeamsProps, TeamsControllerListTeamsQueryQueryParams, } from './hooks/useTeamsControllerListTeamsQuery';
|
245
249
|
export { teamsControllerListTeams, useTeamsControllerListTeamsQuery, } from './hooks/useTeamsControllerListTeamsQuery';
|
246
|
-
export type {
|
247
|
-
export {
|
250
|
+
export type { TeamsControllerSearchTeamDevelopersErrorResponse, TeamsControllerSearchTeamDevelopersOkResponse, TeamsControllerSearchTeamDevelopersProps, TeamsControllerSearchTeamDevelopersQueryPathParams, TeamsControllerSearchTeamDevelopersQueryQueryParams, TeamsControllerSearchTeamDevelopersRequestBody, } from './hooks/useTeamsControllerSearchTeamDevelopersQuery';
|
251
|
+
export { teamsControllerSearchTeamDevelopers, useTeamsControllerSearchTeamDevelopersQuery, } from './hooks/useTeamsControllerSearchTeamDevelopersQuery';
|
248
252
|
export type { TeamsControllerSearchTeamsErrorResponse, TeamsControllerSearchTeamsOkResponse, TeamsControllerSearchTeamsProps, TeamsControllerSearchTeamsQueryQueryParams, TeamsControllerSearchTeamsRequestBody, } from './hooks/useTeamsControllerSearchTeamsQuery';
|
249
253
|
export { teamsControllerSearchTeams, useTeamsControllerSearchTeamsQuery, } from './hooks/useTeamsControllerSearchTeamsQuery';
|
250
254
|
export type { TeamsControllerUpdateTeamIntegrationFiltersErrorResponse, TeamsControllerUpdateTeamIntegrationFiltersMutationPathParams, TeamsControllerUpdateTeamIntegrationFiltersMutationQueryParams, TeamsControllerUpdateTeamIntegrationFiltersOkResponse, TeamsControllerUpdateTeamIntegrationFiltersProps, TeamsControllerUpdateTeamIntegrationFiltersRequestBody, } from './hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation';
|
@@ -341,6 +345,7 @@ export type { EfficiencySummaryRequest } from './schemas/EfficiencySummaryReques
|
|
341
345
|
export type { ErrorResponse } from './schemas/ErrorResponse';
|
342
346
|
export type { ExportRequestDto } from './schemas/ExportRequestDto';
|
343
347
|
export type { FeatureDto } from './schemas/FeatureDto';
|
348
|
+
export type { FilterByField } from './schemas/FilterByField';
|
344
349
|
export type { FilterValuesRequestDto } from './schemas/FilterValuesRequestDto';
|
345
350
|
export type { GroupByField } from './schemas/GroupByField';
|
346
351
|
export type { GroupedTeamFiltersResponseDto } from './schemas/GroupedTeamFiltersResponseDto';
|
@@ -373,6 +378,7 @@ export type { ListResponseDtoProductivityProfileResponseDto } from './schemas/Li
|
|
373
378
|
export type { LtcConfigurationDto } from './schemas/LtcConfigurationDto';
|
374
379
|
export type { LtcStageDto } from './schemas/LtcStageDto';
|
375
380
|
export type { Metric } from './schemas/Metric';
|
381
|
+
export type { MinimalDeveloperDto } from './schemas/MinimalDeveloperDto';
|
376
382
|
export type { MinimalOrgTree } from './schemas/MinimalOrgTree';
|
377
383
|
export type { MinimalTeamHierarchyResponseDto } from './schemas/MinimalTeamHierarchyResponseDto';
|
378
384
|
export type { MonthlyLicenseUsageResponseDto } from './schemas/MonthlyLicenseUsageResponseDto';
|
@@ -380,6 +386,7 @@ export type { MttrConfigurationDto } from './schemas/MttrConfigurationDto';
|
|
380
386
|
export type { MttrDataPoint } from './schemas/MttrDataPoint';
|
381
387
|
export type { MttrMetric } from './schemas/MttrMetric';
|
382
388
|
export type { OrgTreeCreateRequestDto } from './schemas/OrgTreeCreateRequestDto';
|
389
|
+
export type { OrgTreePreviewRequestDto } from './schemas/OrgTreePreviewRequestDto';
|
383
390
|
export type { OrgTreeProfileDto } from './schemas/OrgTreeProfileDto';
|
384
391
|
export type { OrgTreeResponseDto } from './schemas/OrgTreeResponseDto';
|
385
392
|
export type { OrgTreeSearchParams } from './schemas/OrgTreeSearchParams';
|
@@ -399,6 +406,7 @@ export type { PrVelocityDrilldownResponseDataPoint } from './schemas/PrVelocityD
|
|
399
406
|
export type { PrVelocityDrilldownResponseDataPointV3 } from './schemas/PrVelocityDrilldownResponseDataPointV3';
|
400
407
|
export type { PrVelocityIndividualDrilldownResponseDataPoint } from './schemas/PrVelocityIndividualDrilldownResponseDataPoint';
|
401
408
|
export type { PrVelocityIndividualDrilldownResponseDataPointV3 } from './schemas/PrVelocityIndividualDrilldownResponseDataPointV3';
|
409
|
+
export type { PreviewTeamHierarchyResponseDto } from './schemas/PreviewTeamHierarchyResponseDto';
|
402
410
|
export type { ProductivityContributorRequestDto } from './schemas/ProductivityContributorRequestDto';
|
403
411
|
export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
|
404
412
|
export type { ProductivityFeatureBreakdownResponseDataPoint } from './schemas/ProductivityFeatureBreakdownResponseDataPoint';
|
@@ -419,7 +427,6 @@ export type { RefIdDto } from './schemas/RefIdDto';
|
|
419
427
|
export type { SectionDto } from './schemas/SectionDto';
|
420
428
|
export type { SortOption } from './schemas/SortOption';
|
421
429
|
export type { Stage } from './schemas/Stage';
|
422
|
-
export type { StatisticalTrendPercent } from './schemas/StatisticalTrendPercent';
|
423
430
|
export type { SummaryCard } from './schemas/SummaryCard';
|
424
431
|
export type { SummaryValue } from './schemas/SummaryValue';
|
425
432
|
export type { SummaryValueChange } from './schemas/SummaryValueChange';
|
@@ -27,6 +27,7 @@ export { developerControllerDownloadDeveloperCsv, useDeveloperControllerDownload
|
|
27
27
|
export { developerControllerDownloadGeneratedDevelopersCsv, useDeveloperControllerDownloadGeneratedDevelopersCsvQuery, } from './hooks/useDeveloperControllerDownloadGeneratedDevelopersCsvQuery';
|
28
28
|
export { developerControllerGetDeveloperUploadPreview, useDeveloperControllerGetDeveloperUploadPreviewQuery, } from './hooks/useDeveloperControllerGetDeveloperUploadPreviewQuery';
|
29
29
|
export { developerControllerGetDevelopers, useDeveloperControllerGetDevelopersQuery, } from './hooks/useDeveloperControllerGetDevelopersQuery';
|
30
|
+
export { developerControllerGetDistinctDeveloperAttributeValues, useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery, } from './hooks/useDeveloperControllerGetDistinctDeveloperAttributeValuesQuery';
|
30
31
|
export { developerControllerGetLatestDeveloperSchema, useDeveloperControllerGetLatestDeveloperSchemaQuery, } from './hooks/useDeveloperControllerGetLatestDeveloperSchemaQuery';
|
31
32
|
export { developerControllerGroupDevelopers, useDeveloperControllerGroupDevelopersMutation, } from './hooks/useDeveloperControllerGroupDevelopersMutation';
|
32
33
|
export { developerControllerSaveDevelopers, useDeveloperControllerSaveDevelopersMutation, } from './hooks/useDeveloperControllerSaveDevelopersMutation';
|
@@ -95,6 +96,7 @@ export { orgTreeControllerGetOrgTree, useOrgTreeControllerGetOrgTreeQuery, } fro
|
|
95
96
|
export { orgTreeControllerGetOrgTreeTeamHierarchy, useOrgTreeControllerGetOrgTreeTeamHierarchyQuery, } from './hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery';
|
96
97
|
export { orgTreeControllerGetOrgTrees, useOrgTreeControllerGetOrgTreesQuery, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
97
98
|
export { orgTreeControllerGetProductivityProfileRefId, useOrgTreeControllerGetProductivityProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
99
|
+
export { orgTreeControllerPreviewTeamHierarchy, useOrgTreeControllerPreviewTeamHierarchyMutation, } from './hooks/useOrgTreeControllerPreviewTeamHierarchyMutation';
|
98
100
|
export { orgTreeControllerSearchOrgTrees, useOrgTreeControllerSearchOrgTreesQuery, } from './hooks/useOrgTreeControllerSearchOrgTreesQuery';
|
99
101
|
export { orgTreeControllerUpdateBusinessAlignmentProfileRefId, useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation';
|
100
102
|
export { orgTreeControllerUpdateEfficiencyProfileRefId, useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation';
|
@@ -120,7 +122,7 @@ export { teamsControllerGetTeamIntegrationFilters, useTeamsControllerGetTeamInte
|
|
120
122
|
export { teamsControllerGetTeamIntegrations, useTeamsControllerGetTeamIntegrationsQuery, } from './hooks/useTeamsControllerGetTeamIntegrationsQuery';
|
121
123
|
export { teamsControllerGetTeam, useTeamsControllerGetTeamQuery, } from './hooks/useTeamsControllerGetTeamQuery';
|
122
124
|
export { teamsControllerListTeams, useTeamsControllerListTeamsQuery, } from './hooks/useTeamsControllerListTeamsQuery';
|
123
|
-
export {
|
125
|
+
export { teamsControllerSearchTeamDevelopers, useTeamsControllerSearchTeamDevelopersQuery, } from './hooks/useTeamsControllerSearchTeamDevelopersQuery';
|
124
126
|
export { teamsControllerSearchTeams, useTeamsControllerSearchTeamsQuery, } from './hooks/useTeamsControllerSearchTeamsQuery';
|
125
127
|
export { teamsControllerUpdateTeamIntegrationFilters, useTeamsControllerUpdateTeamIntegrationFiltersMutation, } from './hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation';
|
126
128
|
export { teamsControllerUpdateTeamIntegrations, useTeamsControllerUpdateTeamIntegrationsMutation, } from './hooks/useTeamsControllerUpdateTeamIntegrationsMutation';
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export interface FilterByField {
|
2
|
+
/**
|
3
|
+
* The field name to filter by
|
4
|
+
*/
|
5
|
+
fieldName?: string;
|
6
|
+
/**
|
7
|
+
* values of the field
|
8
|
+
*/
|
9
|
+
fieldValues?: string[];
|
10
|
+
operator?: 'CONTAINS' | 'ENDS_WITH' | 'EQUALS' | 'NOT_CONTAINS' | 'NOT_EQUALS' | 'STARTS_WITH';
|
11
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/**
|
2
|
+
* Minimal developer information
|
3
|
+
*/
|
4
|
+
export interface MinimalDeveloperDto {
|
5
|
+
/**
|
6
|
+
* Email address of the developer
|
7
|
+
*/
|
8
|
+
email?: string;
|
9
|
+
/**
|
10
|
+
* Name of the developer
|
11
|
+
*/
|
12
|
+
name?: string;
|
13
|
+
/**
|
14
|
+
* Reference ID of the developer
|
15
|
+
* @format int32
|
16
|
+
*/
|
17
|
+
refId?: number;
|
18
|
+
}
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { FilterByField } from '../schemas/FilterByField';
|
1
2
|
import type { GroupByField } from '../schemas/GroupByField';
|
2
3
|
export interface OrgTreeCreateRequestDto {
|
3
4
|
/**
|
@@ -8,6 +9,7 @@ export interface OrgTreeCreateRequestDto {
|
|
8
9
|
* @format int32
|
9
10
|
*/
|
10
11
|
efficiencyProfileRefId?: number;
|
12
|
+
filters?: FilterByField[];
|
11
13
|
/**
|
12
14
|
* List of fields to group by when creating the organization tree
|
13
15
|
*/
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { FilterByField } from '../schemas/FilterByField';
|
2
|
+
import type { GroupByField } from '../schemas/GroupByField';
|
3
|
+
/**
|
4
|
+
* Request to preview organization tree hierarchy with specific grouping fields
|
5
|
+
*/
|
6
|
+
export interface OrgTreePreviewRequestDto {
|
7
|
+
filters?: FilterByField[];
|
8
|
+
/**
|
9
|
+
* List of fields to group by when previewing the organization tree hierarchy
|
10
|
+
*/
|
11
|
+
groupByFields: GroupByField[];
|
12
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import type { OrgTreeProfileDto } from '../schemas/OrgTreeProfileDto';
|
2
|
+
import type { FilterByField } from '../schemas/FilterByField';
|
2
3
|
import type { GroupByField } from '../schemas/GroupByField';
|
3
4
|
import type { IntegrationResponseDto } from '../schemas/IntegrationResponseDto';
|
4
5
|
export interface OrgTreeResponseDto {
|
@@ -9,6 +10,7 @@ export interface OrgTreeResponseDto {
|
|
9
10
|
createdAtEpochSec?: number;
|
10
11
|
createdByEmail?: string;
|
11
12
|
efficiencyProfile?: OrgTreeProfileDto;
|
13
|
+
filters?: FilterByField[];
|
12
14
|
/**
|
13
15
|
* List of fields to group by when creating the organization tree
|
14
16
|
*/
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export interface OrgTreeSearchParams {
|
2
|
-
searchKey?: 'efficiencyProfileName' | 'name' | 'productivityProfileName';
|
2
|
+
searchKey?: 'businessAlignmentProfileName' | 'efficiencyProfileName' | 'name' | 'productivityProfileName';
|
3
3
|
searchValue?: string;
|
4
|
-
sortBy?: 'createdAt' | 'efficiencyProfileName' | 'name' | 'productivityProfileName' | 'updatedAt' | 'updatedBy';
|
4
|
+
sortBy?: 'businessAlignmentProfileName' | 'createdAt' | 'efficiencyProfileName' | 'name' | 'productivityProfileName' | 'teamCount' | 'updatedAt' | 'updatedBy';
|
5
5
|
sortOrder?: 'asc' | 'desc';
|
6
6
|
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import type { MinimalDeveloperDto } from '../schemas/MinimalDeveloperDto';
|
2
|
+
export interface PreviewTeamHierarchyResponseDto {
|
3
|
+
children?: PreviewTeamHierarchyResponseDto[];
|
4
|
+
/**
|
5
|
+
* developer attributes
|
6
|
+
*/
|
7
|
+
developerAttributes?: {
|
8
|
+
[key: string]: string;
|
9
|
+
};
|
10
|
+
developerRefIds?: number[];
|
11
|
+
/**
|
12
|
+
* Whether this team is a leaf node (has no children)
|
13
|
+
*/
|
14
|
+
leaf?: boolean;
|
15
|
+
manager?: MinimalDeveloperDto;
|
16
|
+
/**
|
17
|
+
* Name of the team
|
18
|
+
* @example "Engineering"
|
19
|
+
*/
|
20
|
+
name?: string;
|
21
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ProductivityDataPoint } from '../schemas/ProductivityDataPoint';
|
2
|
-
import type {
|
2
|
+
import type { TotalStatisticCount } from '../schemas/TotalStatisticCount';
|
3
3
|
export interface ProductivityFeatureResponseDto {
|
4
4
|
currentData?: ProductivityDataPoint;
|
5
5
|
/**
|
@@ -15,7 +15,7 @@ export interface ProductivityFeatureResponseDto {
|
|
15
15
|
* @format date-time
|
16
16
|
*/
|
17
17
|
startDate?: string;
|
18
|
-
statisticalTrendPercent?:
|
18
|
+
statisticalTrendPercent?: TotalStatisticCount;
|
19
19
|
/**
|
20
20
|
* @format double
|
21
21
|
*/
|
@@ -1,5 +1,9 @@
|
|
1
1
|
import type { TotalStatisticCount } from '../schemas/TotalStatisticCount';
|
2
2
|
export interface ProductivityV3FeatureBreakdownResponseDataPoint {
|
3
|
+
/**
|
4
|
+
* @format double
|
5
|
+
*/
|
6
|
+
countPerInterval?: number;
|
3
7
|
/**
|
4
8
|
* @format date-time
|
5
9
|
*/
|
@@ -8,6 +12,9 @@ export interface ProductivityV3FeatureBreakdownResponseDataPoint {
|
|
8
12
|
stacks?: {
|
9
13
|
[key: string]: number;
|
10
14
|
};
|
15
|
+
stacksPerInterval?: {
|
16
|
+
[key: string]: number;
|
17
|
+
};
|
11
18
|
/**
|
12
19
|
* @format date-time
|
13
20
|
*/
|
@@ -1,4 +1,8 @@
|
|
1
1
|
export interface TeamSearchParams {
|
2
|
+
/**
|
3
|
+
* @default "true"
|
4
|
+
*/
|
5
|
+
leafTeamsOnly?: boolean;
|
2
6
|
searchKey?: 'managerName' | 'name' | 'orgTreeName';
|
3
7
|
searchValue?: string;
|
4
8
|
sortBy?: 'createdAt' | 'developerCount' | 'managerName' | 'name' | 'orgTreeName' | 'updatedAt' | 'updatedBy';
|
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.13",
|
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",
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchDevelopersQuery.d.ts
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type { TeamDevelopersDto } from '../schemas/TeamDevelopersDto';
|
3
|
-
import type { DeveloperSearchParams } from '../schemas/DeveloperSearchParams';
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface TeamsControllerSearchDevelopersQueryPathParams {
|
7
|
-
/**
|
8
|
-
* @format int32
|
9
|
-
*/
|
10
|
-
teamRefId: number;
|
11
|
-
}
|
12
|
-
export interface TeamsControllerSearchDevelopersQueryQueryParams {
|
13
|
-
account: string;
|
14
|
-
/**
|
15
|
-
* @format int32
|
16
|
-
*/
|
17
|
-
page?: number;
|
18
|
-
/**
|
19
|
-
* @format int32
|
20
|
-
*/
|
21
|
-
size?: number;
|
22
|
-
}
|
23
|
-
export type TeamsControllerSearchDevelopersRequestBody = DeveloperSearchParams;
|
24
|
-
export type TeamsControllerSearchDevelopersOkResponse = ResponseWithPagination<TeamDevelopersDto>;
|
25
|
-
export type TeamsControllerSearchDevelopersErrorResponse = unknown;
|
26
|
-
export interface TeamsControllerSearchDevelopersProps extends TeamsControllerSearchDevelopersQueryPathParams, Omit<FetcherOptions<TeamsControllerSearchDevelopersQueryQueryParams, TeamsControllerSearchDevelopersRequestBody>, 'url'> {
|
27
|
-
queryParams: TeamsControllerSearchDevelopersQueryQueryParams;
|
28
|
-
body: TeamsControllerSearchDevelopersRequestBody;
|
29
|
-
}
|
30
|
-
export declare function teamsControllerSearchDevelopers(props: TeamsControllerSearchDevelopersProps): Promise<TeamsControllerSearchDevelopersOkResponse>;
|
31
|
-
export declare function useTeamsControllerSearchDevelopersQuery(props: TeamsControllerSearchDevelopersProps, options?: Omit<UseQueryOptions<TeamsControllerSearchDevelopersOkResponse, TeamsControllerSearchDevelopersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerSearchDevelopersOkResponse, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchDevelopersQuery.js
DELETED
@@ -1,11 +0,0 @@
|
|
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 teamsControllerSearchDevelopers(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/teams/${props.teamRefId}/developers`, method: 'POST' }, props));
|
8
|
-
}
|
9
|
-
export function useTeamsControllerSearchDevelopersQuery(props, options) {
|
10
|
-
return useQuery(['TeamsControllerSearchDevelopers', props.teamRefId, props.queryParams, props.body], ({ signal }) => teamsControllerSearchDevelopers(Object.assign(Object.assign({}, props), { signal })), options);
|
11
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
export interface StatisticalTrendPercent {
|
2
|
-
/**
|
3
|
-
* @format double
|
4
|
-
*/
|
5
|
-
meanTrendPercent?: number;
|
6
|
-
/**
|
7
|
-
* @format double
|
8
|
-
*/
|
9
|
-
medianTrendPercent?: number;
|
10
|
-
/**
|
11
|
-
* @format double
|
12
|
-
*/
|
13
|
-
p90TrendPercent?: number;
|
14
|
-
/**
|
15
|
-
* @format double
|
16
|
-
*/
|
17
|
-
p95TrendPercent?: number;
|
18
|
-
}
|
File without changes
|