@harnessio/react-sei-panorama-service-client 0.21.10 → 0.21.12
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/useOrgTreeControllerPreviewTeamHierarchyMutation.d.ts +21 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerPreviewTeamHierarchyMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerSearchOrgTreesQuery.d.ts +32 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerSearchOrgTreesQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamsQuery.d.ts +37 -0
- package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +12 -1
- package/dist/sei-panorama-service/src/services/index.js +3 -0
- package/dist/sei-panorama-service/src/services/schemas/DeveloperSearchParams.d.ts +13 -3
- 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 +6 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeSearchParams.js +4 -0
- 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 +10 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamSearchParams.js +4 -0
- package/package.json +1 -1
- 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,21 @@
|
|
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 interface OrgTreeControllerPreviewTeamHierarchyMutationQueryParams {
|
8
|
+
accountIdentifier: string;
|
9
|
+
}
|
10
|
+
export type OrgTreeControllerPreviewTeamHierarchyRequestBody = OrgTreePreviewRequestDto;
|
11
|
+
export type OrgTreeControllerPreviewTeamHierarchyOkResponse = ResponseWithPagination<PreviewTeamHierarchyResponseDto>;
|
12
|
+
export type OrgTreeControllerPreviewTeamHierarchyErrorResponse = ErrorResponse;
|
13
|
+
export interface OrgTreeControllerPreviewTeamHierarchyProps extends Omit<FetcherOptions<OrgTreeControllerPreviewTeamHierarchyMutationQueryParams, OrgTreeControllerPreviewTeamHierarchyRequestBody>, 'url'> {
|
14
|
+
queryParams: OrgTreeControllerPreviewTeamHierarchyMutationQueryParams;
|
15
|
+
body: OrgTreeControllerPreviewTeamHierarchyRequestBody;
|
16
|
+
}
|
17
|
+
export declare function orgTreeControllerPreviewTeamHierarchy(props: OrgTreeControllerPreviewTeamHierarchyProps): Promise<OrgTreeControllerPreviewTeamHierarchyOkResponse>;
|
18
|
+
/**
|
19
|
+
* Generates a preview of the team hierarchy based on developers and grouping criteria without writing to the database
|
20
|
+
*/
|
21
|
+
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
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { ListResponseDtoOrgTreeResponseDto } from '../schemas/ListResponseDtoOrgTreeResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { OrgTreeSearchParams } from '../schemas/OrgTreeSearchParams';
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
7
|
+
export interface OrgTreeControllerSearchOrgTreesQueryQueryParams {
|
8
|
+
orgIdentifier: string;
|
9
|
+
projectIdentifier: string;
|
10
|
+
/**
|
11
|
+
* @format int32
|
12
|
+
* @default 0
|
13
|
+
*/
|
14
|
+
pageIndex?: number;
|
15
|
+
/**
|
16
|
+
* @format int32
|
17
|
+
* @default 50
|
18
|
+
*/
|
19
|
+
pageSize?: number;
|
20
|
+
}
|
21
|
+
export type OrgTreeControllerSearchOrgTreesRequestBody = OrgTreeSearchParams;
|
22
|
+
export type OrgTreeControllerSearchOrgTreesOkResponse = ResponseWithPagination<ListResponseDtoOrgTreeResponseDto>;
|
23
|
+
export type OrgTreeControllerSearchOrgTreesErrorResponse = ErrorResponse;
|
24
|
+
export interface OrgTreeControllerSearchOrgTreesProps extends Omit<FetcherOptions<OrgTreeControllerSearchOrgTreesQueryQueryParams, OrgTreeControllerSearchOrgTreesRequestBody>, 'url'> {
|
25
|
+
queryParams: OrgTreeControllerSearchOrgTreesQueryQueryParams;
|
26
|
+
body: OrgTreeControllerSearchOrgTreesRequestBody;
|
27
|
+
}
|
28
|
+
export declare function orgTreeControllerSearchOrgTrees(props: OrgTreeControllerSearchOrgTreesProps): Promise<OrgTreeControllerSearchOrgTreesOkResponse>;
|
29
|
+
/**
|
30
|
+
* Search organization trees with filtering and sorting
|
31
|
+
*/
|
32
|
+
export declare function useOrgTreeControllerSearchOrgTreesQuery(props: OrgTreeControllerSearchOrgTreesProps, options?: Omit<UseQueryOptions<OrgTreeControllerSearchOrgTreesOkResponse, OrgTreeControllerSearchOrgTreesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerSearchOrgTreesOkResponse, ErrorResponse>;
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerSearchOrgTreesQuery.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 orgTreeControllerSearchOrgTrees(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/list`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Search organization trees with filtering and sorting
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerSearchOrgTreesQuery(props, options) {
|
13
|
+
return useQuery(['OrgTreeControllerSearchOrgTrees', props.queryParams, props.body], ({ signal }) => orgTreeControllerSearchOrgTrees(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { PaginatedResponseTeamSummary } from '../schemas/PaginatedResponseTeamSummary';
|
3
|
+
import type { TeamSearchParams } from '../schemas/TeamSearchParams';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface TeamsControllerSearchTeamsQueryQueryParams {
|
7
|
+
/**
|
8
|
+
* @default ""
|
9
|
+
*/
|
10
|
+
orgIdentifier?: string;
|
11
|
+
/**
|
12
|
+
* @default ""
|
13
|
+
*/
|
14
|
+
projectIdentifier?: string;
|
15
|
+
/**
|
16
|
+
* @format int32
|
17
|
+
* @default 0
|
18
|
+
*/
|
19
|
+
page?: number;
|
20
|
+
/**
|
21
|
+
* @format int32
|
22
|
+
* @default 50
|
23
|
+
*/
|
24
|
+
pageSize?: number;
|
25
|
+
}
|
26
|
+
export type TeamsControllerSearchTeamsRequestBody = TeamSearchParams;
|
27
|
+
export type TeamsControllerSearchTeamsOkResponse = ResponseWithPagination<PaginatedResponseTeamSummary>;
|
28
|
+
export type TeamsControllerSearchTeamsErrorResponse = unknown;
|
29
|
+
export interface TeamsControllerSearchTeamsProps extends Omit<FetcherOptions<TeamsControllerSearchTeamsQueryQueryParams, TeamsControllerSearchTeamsRequestBody>, 'url'> {
|
30
|
+
queryParams: TeamsControllerSearchTeamsQueryQueryParams;
|
31
|
+
body: TeamsControllerSearchTeamsRequestBody;
|
32
|
+
}
|
33
|
+
export declare function teamsControllerSearchTeams(props: TeamsControllerSearchTeamsProps): Promise<TeamsControllerSearchTeamsOkResponse>;
|
34
|
+
/**
|
35
|
+
* Search teams with filtering and sorting options
|
36
|
+
*/
|
37
|
+
export declare function useTeamsControllerSearchTeamsQuery(props: TeamsControllerSearchTeamsProps, options?: Omit<UseQueryOptions<TeamsControllerSearchTeamsOkResponse, TeamsControllerSearchTeamsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TeamsControllerSearchTeamsOkResponse, 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 teamsControllerSearchTeams(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/teams/list`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Search teams with filtering and sorting options
|
11
|
+
*/
|
12
|
+
export function useTeamsControllerSearchTeamsQuery(props, options) {
|
13
|
+
return useQuery(['TeamsControllerSearchTeams', props.queryParams, props.body], ({ signal }) => teamsControllerSearchTeams(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -193,6 +193,10 @@ export type { OrgTreeControllerGetOrgTreesErrorResponse, OrgTreeControllerGetOrg
|
|
193
193
|
export { orgTreeControllerGetOrgTrees, useOrgTreeControllerGetOrgTreesQuery, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
194
194
|
export type { OrgTreeControllerGetProductivityProfileRefIdErrorResponse, OrgTreeControllerGetProductivityProfileRefIdOkResponse, OrgTreeControllerGetProductivityProfileRefIdProps, OrgTreeControllerGetProductivityProfileRefIdQueryPathParams, OrgTreeControllerGetProductivityProfileRefIdQueryQueryParams, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
195
195
|
export { orgTreeControllerGetProductivityProfileRefId, useOrgTreeControllerGetProductivityProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
196
|
+
export type { OrgTreeControllerPreviewTeamHierarchyErrorResponse, OrgTreeControllerPreviewTeamHierarchyMutationQueryParams, OrgTreeControllerPreviewTeamHierarchyOkResponse, OrgTreeControllerPreviewTeamHierarchyProps, OrgTreeControllerPreviewTeamHierarchyRequestBody, } from './hooks/useOrgTreeControllerPreviewTeamHierarchyMutation';
|
197
|
+
export { orgTreeControllerPreviewTeamHierarchy, useOrgTreeControllerPreviewTeamHierarchyMutation, } from './hooks/useOrgTreeControllerPreviewTeamHierarchyMutation';
|
198
|
+
export type { OrgTreeControllerSearchOrgTreesErrorResponse, OrgTreeControllerSearchOrgTreesOkResponse, OrgTreeControllerSearchOrgTreesProps, OrgTreeControllerSearchOrgTreesQueryQueryParams, OrgTreeControllerSearchOrgTreesRequestBody, } from './hooks/useOrgTreeControllerSearchOrgTreesQuery';
|
199
|
+
export { orgTreeControllerSearchOrgTrees, useOrgTreeControllerSearchOrgTreesQuery, } from './hooks/useOrgTreeControllerSearchOrgTreesQuery';
|
196
200
|
export type { OrgTreeControllerUpdateBusinessAlignmentProfileRefIdErrorResponse, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutationPathParams, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutationQueryParams, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdOkResponse, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdProps, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdRequestBody, } from './hooks/useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation';
|
197
201
|
export { orgTreeControllerUpdateBusinessAlignmentProfileRefId, useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation';
|
198
202
|
export type { OrgTreeControllerUpdateEfficiencyProfileRefIdErrorResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdMutationPathParams, OrgTreeControllerUpdateEfficiencyProfileRefIdMutationQueryParams, OrgTreeControllerUpdateEfficiencyProfileRefIdOkResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdProps, OrgTreeControllerUpdateEfficiencyProfileRefIdRequestBody, } from './hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation';
|
@@ -241,6 +245,8 @@ export type { TeamsControllerGetTeamErrorResponse, TeamsControllerGetTeamOkRespo
|
|
241
245
|
export { teamsControllerGetTeam, useTeamsControllerGetTeamQuery, } from './hooks/useTeamsControllerGetTeamQuery';
|
242
246
|
export type { TeamsControllerListTeamsErrorResponse, TeamsControllerListTeamsOkResponse, TeamsControllerListTeamsProps, TeamsControllerListTeamsQueryQueryParams, } from './hooks/useTeamsControllerListTeamsQuery';
|
243
247
|
export { teamsControllerListTeams, useTeamsControllerListTeamsQuery, } from './hooks/useTeamsControllerListTeamsQuery';
|
248
|
+
export type { TeamsControllerSearchTeamsErrorResponse, TeamsControllerSearchTeamsOkResponse, TeamsControllerSearchTeamsProps, TeamsControllerSearchTeamsQueryQueryParams, TeamsControllerSearchTeamsRequestBody, } from './hooks/useTeamsControllerSearchTeamsQuery';
|
249
|
+
export { teamsControllerSearchTeams, useTeamsControllerSearchTeamsQuery, } from './hooks/useTeamsControllerSearchTeamsQuery';
|
244
250
|
export type { TeamsControllerUpdateTeamIntegrationFiltersErrorResponse, TeamsControllerUpdateTeamIntegrationFiltersMutationPathParams, TeamsControllerUpdateTeamIntegrationFiltersMutationQueryParams, TeamsControllerUpdateTeamIntegrationFiltersOkResponse, TeamsControllerUpdateTeamIntegrationFiltersProps, TeamsControllerUpdateTeamIntegrationFiltersRequestBody, } from './hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation';
|
245
251
|
export { teamsControllerUpdateTeamIntegrationFilters, useTeamsControllerUpdateTeamIntegrationFiltersMutation, } from './hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation';
|
246
252
|
export type { TeamsControllerUpdateTeamIntegrationsErrorResponse, TeamsControllerUpdateTeamIntegrationsMutationPathParams, TeamsControllerUpdateTeamIntegrationsMutationQueryParams, TeamsControllerUpdateTeamIntegrationsOkResponse, TeamsControllerUpdateTeamIntegrationsProps, TeamsControllerUpdateTeamIntegrationsRequestBody, } from './hooks/useTeamsControllerUpdateTeamIntegrationsMutation';
|
@@ -335,6 +341,7 @@ export type { EfficiencySummaryRequest } from './schemas/EfficiencySummaryReques
|
|
335
341
|
export type { ErrorResponse } from './schemas/ErrorResponse';
|
336
342
|
export type { ExportRequestDto } from './schemas/ExportRequestDto';
|
337
343
|
export type { FeatureDto } from './schemas/FeatureDto';
|
344
|
+
export type { FilterByField } from './schemas/FilterByField';
|
338
345
|
export type { FilterValuesRequestDto } from './schemas/FilterValuesRequestDto';
|
339
346
|
export type { GroupByField } from './schemas/GroupByField';
|
340
347
|
export type { GroupedTeamFiltersResponseDto } from './schemas/GroupedTeamFiltersResponseDto';
|
@@ -367,6 +374,7 @@ export type { ListResponseDtoProductivityProfileResponseDto } from './schemas/Li
|
|
367
374
|
export type { LtcConfigurationDto } from './schemas/LtcConfigurationDto';
|
368
375
|
export type { LtcStageDto } from './schemas/LtcStageDto';
|
369
376
|
export type { Metric } from './schemas/Metric';
|
377
|
+
export type { MinimalDeveloperDto } from './schemas/MinimalDeveloperDto';
|
370
378
|
export type { MinimalOrgTree } from './schemas/MinimalOrgTree';
|
371
379
|
export type { MinimalTeamHierarchyResponseDto } from './schemas/MinimalTeamHierarchyResponseDto';
|
372
380
|
export type { MonthlyLicenseUsageResponseDto } from './schemas/MonthlyLicenseUsageResponseDto';
|
@@ -374,8 +382,10 @@ export type { MttrConfigurationDto } from './schemas/MttrConfigurationDto';
|
|
374
382
|
export type { MttrDataPoint } from './schemas/MttrDataPoint';
|
375
383
|
export type { MttrMetric } from './schemas/MttrMetric';
|
376
384
|
export type { OrgTreeCreateRequestDto } from './schemas/OrgTreeCreateRequestDto';
|
385
|
+
export type { OrgTreePreviewRequestDto } from './schemas/OrgTreePreviewRequestDto';
|
377
386
|
export type { OrgTreeProfileDto } from './schemas/OrgTreeProfileDto';
|
378
387
|
export type { OrgTreeResponseDto } from './schemas/OrgTreeResponseDto';
|
388
|
+
export type { OrgTreeSearchParams } from './schemas/OrgTreeSearchParams';
|
379
389
|
export type { OrgTreeUpdateRequestDto } from './schemas/OrgTreeUpdateRequestDto';
|
380
390
|
export type { PaginatedResponseTeamSummary } from './schemas/PaginatedResponseTeamSummary';
|
381
391
|
export type { PaginationInfo } from './schemas/PaginationInfo';
|
@@ -392,6 +402,7 @@ export type { PrVelocityDrilldownResponseDataPoint } from './schemas/PrVelocityD
|
|
392
402
|
export type { PrVelocityDrilldownResponseDataPointV3 } from './schemas/PrVelocityDrilldownResponseDataPointV3';
|
393
403
|
export type { PrVelocityIndividualDrilldownResponseDataPoint } from './schemas/PrVelocityIndividualDrilldownResponseDataPoint';
|
394
404
|
export type { PrVelocityIndividualDrilldownResponseDataPointV3 } from './schemas/PrVelocityIndividualDrilldownResponseDataPointV3';
|
405
|
+
export type { PreviewTeamHierarchyResponseDto } from './schemas/PreviewTeamHierarchyResponseDto';
|
395
406
|
export type { ProductivityContributorRequestDto } from './schemas/ProductivityContributorRequestDto';
|
396
407
|
export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
|
397
408
|
export type { ProductivityFeatureBreakdownResponseDataPoint } from './schemas/ProductivityFeatureBreakdownResponseDataPoint';
|
@@ -412,7 +423,6 @@ export type { RefIdDto } from './schemas/RefIdDto';
|
|
412
423
|
export type { SectionDto } from './schemas/SectionDto';
|
413
424
|
export type { SortOption } from './schemas/SortOption';
|
414
425
|
export type { Stage } from './schemas/Stage';
|
415
|
-
export type { StatisticalTrendPercent } from './schemas/StatisticalTrendPercent';
|
416
426
|
export type { SummaryCard } from './schemas/SummaryCard';
|
417
427
|
export type { SummaryValue } from './schemas/SummaryValue';
|
418
428
|
export type { SummaryValueChange } from './schemas/SummaryValueChange';
|
@@ -421,6 +431,7 @@ export type { TeamFilter } from './schemas/TeamFilter';
|
|
421
431
|
export type { TeamInfoUpdateRequestDto } from './schemas/TeamInfoUpdateRequestDto';
|
422
432
|
export type { TeamIntegrationDto } from './schemas/TeamIntegrationDto';
|
423
433
|
export type { TeamResponse } from './schemas/TeamResponse';
|
434
|
+
export type { TeamSearchParams } from './schemas/TeamSearchParams';
|
424
435
|
export type { TeamSummary } from './schemas/TeamSummary';
|
425
436
|
export type { TotalStatisticCount } from './schemas/TotalStatisticCount';
|
426
437
|
export type { WorkCompletedDrilldownResponseDataPoint } from './schemas/WorkCompletedDrilldownResponseDataPoint';
|
@@ -95,6 +95,8 @@ export { orgTreeControllerGetOrgTree, useOrgTreeControllerGetOrgTreeQuery, } fro
|
|
95
95
|
export { orgTreeControllerGetOrgTreeTeamHierarchy, useOrgTreeControllerGetOrgTreeTeamHierarchyQuery, } from './hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery';
|
96
96
|
export { orgTreeControllerGetOrgTrees, useOrgTreeControllerGetOrgTreesQuery, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
97
97
|
export { orgTreeControllerGetProductivityProfileRefId, useOrgTreeControllerGetProductivityProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
98
|
+
export { orgTreeControllerPreviewTeamHierarchy, useOrgTreeControllerPreviewTeamHierarchyMutation, } from './hooks/useOrgTreeControllerPreviewTeamHierarchyMutation';
|
99
|
+
export { orgTreeControllerSearchOrgTrees, useOrgTreeControllerSearchOrgTreesQuery, } from './hooks/useOrgTreeControllerSearchOrgTreesQuery';
|
98
100
|
export { orgTreeControllerUpdateBusinessAlignmentProfileRefId, useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation';
|
99
101
|
export { orgTreeControllerUpdateEfficiencyProfileRefId, useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation';
|
100
102
|
export { orgTreeControllerUpdateOrgTreeIntegrations, useOrgTreeControllerUpdateOrgTreeIntegrationsMutation, } from './hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation';
|
@@ -119,6 +121,7 @@ export { teamsControllerGetTeamIntegrationFilters, useTeamsControllerGetTeamInte
|
|
119
121
|
export { teamsControllerGetTeamIntegrations, useTeamsControllerGetTeamIntegrationsQuery, } from './hooks/useTeamsControllerGetTeamIntegrationsQuery';
|
120
122
|
export { teamsControllerGetTeam, useTeamsControllerGetTeamQuery, } from './hooks/useTeamsControllerGetTeamQuery';
|
121
123
|
export { teamsControllerListTeams, useTeamsControllerListTeamsQuery, } from './hooks/useTeamsControllerListTeamsQuery';
|
124
|
+
export { teamsControllerSearchTeams, useTeamsControllerSearchTeamsQuery, } from './hooks/useTeamsControllerSearchTeamsQuery';
|
122
125
|
export { teamsControllerUpdateTeamIntegrationFilters, useTeamsControllerUpdateTeamIntegrationFiltersMutation, } from './hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation';
|
123
126
|
export { teamsControllerUpdateTeamIntegrations, useTeamsControllerUpdateTeamIntegrationsMutation, } from './hooks/useTeamsControllerUpdateTeamIntegrationsMutation';
|
124
127
|
export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
@@ -1,6 +1,16 @@
|
|
1
1
|
export interface DeveloperSearchParams {
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
developerRefIds?: number[];
|
3
|
+
/**
|
4
|
+
* custom developer attribute
|
5
|
+
*/
|
6
|
+
searchKey?: string;
|
7
|
+
/**
|
8
|
+
* filter value for customSearchKey
|
9
|
+
*/
|
10
|
+
searchValue?: string;
|
11
|
+
/**
|
12
|
+
* sort on custom developer attribute
|
13
|
+
*/
|
14
|
+
sortKey?: string;
|
5
15
|
sortOrder?: 'asc' | 'desc';
|
6
16
|
}
|
@@ -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
|
*/
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export interface OrgTreeSearchParams {
|
2
|
+
searchKey?: 'efficiencyProfileName' | 'name' | 'productivityProfileName';
|
3
|
+
searchValue?: string;
|
4
|
+
sortBy?: 'createdAt' | 'efficiencyProfileName' | 'name' | 'productivityProfileName' | 'teamCount' | 'updatedAt' | 'updatedBy';
|
5
|
+
sortOrder?: 'asc' | 'desc';
|
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
|
*/
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export interface TeamSearchParams {
|
2
|
+
/**
|
3
|
+
* @default "true"
|
4
|
+
*/
|
5
|
+
leafTeamsOnly?: boolean;
|
6
|
+
searchKey?: 'managerName' | 'name' | 'orgTreeName';
|
7
|
+
searchValue?: string;
|
8
|
+
sortBy?: 'createdAt' | 'developerCount' | 'managerName' | 'name' | 'orgTreeName' | 'updatedAt' | 'updatedBy';
|
9
|
+
sortOrder?: 'asc' | 'desc';
|
10
|
+
}
|
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.12",
|
4
4
|
"description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
|
5
5
|
"author": "Harness Inc",
|
6
6
|
"license": "MIT",
|
@@ -1,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
|