@harnessio/react-sei-panorama-service-client 0.21.11 → 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.
Files changed (25) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerPreviewTeamHierarchyMutation.d.ts +21 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerPreviewTeamHierarchyMutation.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerSearchOrgTreesQuery.d.ts +1 -1
  4. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchTeamsQuery.d.ts +2 -4
  5. package/dist/sei-panorama-service/src/services/index.d.ts +6 -3
  6. package/dist/sei-panorama-service/src/services/index.js +1 -1
  7. package/dist/sei-panorama-service/src/services/schemas/DeveloperSearchParams.d.ts +1 -0
  8. package/dist/sei-panorama-service/src/services/schemas/FilterByField.d.ts +11 -0
  9. package/dist/sei-panorama-service/src/services/schemas/MinimalDeveloperDto.d.ts +18 -0
  10. package/dist/sei-panorama-service/src/services/schemas/MinimalDeveloperDto.js +4 -0
  11. package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.d.ts +2 -0
  12. package/dist/sei-panorama-service/src/services/schemas/OrgTreePreviewRequestDto.d.ts +12 -0
  13. package/dist/sei-panorama-service/src/services/schemas/OrgTreePreviewRequestDto.js +1 -0
  14. package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.d.ts +2 -0
  15. package/dist/sei-panorama-service/src/services/schemas/OrgTreeSearchParams.d.ts +1 -1
  16. package/dist/sei-panorama-service/src/services/schemas/PreviewTeamHierarchyResponseDto.d.ts +21 -0
  17. package/dist/sei-panorama-service/src/services/schemas/PreviewTeamHierarchyResponseDto.js +1 -0
  18. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureResponseDto.d.ts +2 -2
  19. package/dist/sei-panorama-service/src/services/schemas/ProductivityV3FeatureBreakdownResponseDataPoint.d.ts +7 -0
  20. package/dist/sei-panorama-service/src/services/schemas/TeamSearchParams.d.ts +4 -0
  21. package/package.json +1 -1
  22. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchDevelopersQuery.d.ts +0 -31
  23. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerSearchDevelopersQuery.js +0 -11
  24. package/dist/sei-panorama-service/src/services/schemas/StatisticalTrendPercent.d.ts +0 -18
  25. /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
+ }
@@ -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
- orgIdentifer: string;
8
+ orgIdentifier: string;
9
9
  projectIdentifier: string;
10
10
  /**
11
11
  * @format int32
@@ -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
  }
@@ -193,6 +193,8 @@ 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';
196
198
  export type { OrgTreeControllerSearchOrgTreesErrorResponse, OrgTreeControllerSearchOrgTreesOkResponse, OrgTreeControllerSearchOrgTreesProps, OrgTreeControllerSearchOrgTreesQueryQueryParams, OrgTreeControllerSearchOrgTreesRequestBody, } from './hooks/useOrgTreeControllerSearchOrgTreesQuery';
197
199
  export { orgTreeControllerSearchOrgTrees, useOrgTreeControllerSearchOrgTreesQuery, } from './hooks/useOrgTreeControllerSearchOrgTreesQuery';
198
200
  export type { OrgTreeControllerUpdateBusinessAlignmentProfileRefIdErrorResponse, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutationPathParams, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutationQueryParams, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdOkResponse, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdProps, OrgTreeControllerUpdateBusinessAlignmentProfileRefIdRequestBody, } from './hooks/useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation';
@@ -243,8 +245,6 @@ export type { TeamsControllerGetTeamErrorResponse, TeamsControllerGetTeamOkRespo
243
245
  export { teamsControllerGetTeam, useTeamsControllerGetTeamQuery, } from './hooks/useTeamsControllerGetTeamQuery';
244
246
  export type { TeamsControllerListTeamsErrorResponse, TeamsControllerListTeamsOkResponse, TeamsControllerListTeamsProps, TeamsControllerListTeamsQueryQueryParams, } from './hooks/useTeamsControllerListTeamsQuery';
245
247
  export { teamsControllerListTeams, useTeamsControllerListTeamsQuery, } from './hooks/useTeamsControllerListTeamsQuery';
246
- export type { TeamsControllerSearchDevelopersErrorResponse, TeamsControllerSearchDevelopersOkResponse, TeamsControllerSearchDevelopersProps, TeamsControllerSearchDevelopersQueryPathParams, TeamsControllerSearchDevelopersQueryQueryParams, TeamsControllerSearchDevelopersRequestBody, } from './hooks/useTeamsControllerSearchDevelopersQuery';
247
- export { teamsControllerSearchDevelopers, useTeamsControllerSearchDevelopersQuery, } from './hooks/useTeamsControllerSearchDevelopersQuery';
248
248
  export type { TeamsControllerSearchTeamsErrorResponse, TeamsControllerSearchTeamsOkResponse, TeamsControllerSearchTeamsProps, TeamsControllerSearchTeamsQueryQueryParams, TeamsControllerSearchTeamsRequestBody, } from './hooks/useTeamsControllerSearchTeamsQuery';
249
249
  export { teamsControllerSearchTeams, useTeamsControllerSearchTeamsQuery, } from './hooks/useTeamsControllerSearchTeamsQuery';
250
250
  export type { TeamsControllerUpdateTeamIntegrationFiltersErrorResponse, TeamsControllerUpdateTeamIntegrationFiltersMutationPathParams, TeamsControllerUpdateTeamIntegrationFiltersMutationQueryParams, TeamsControllerUpdateTeamIntegrationFiltersOkResponse, TeamsControllerUpdateTeamIntegrationFiltersProps, TeamsControllerUpdateTeamIntegrationFiltersRequestBody, } from './hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation';
@@ -341,6 +341,7 @@ export type { EfficiencySummaryRequest } from './schemas/EfficiencySummaryReques
341
341
  export type { ErrorResponse } from './schemas/ErrorResponse';
342
342
  export type { ExportRequestDto } from './schemas/ExportRequestDto';
343
343
  export type { FeatureDto } from './schemas/FeatureDto';
344
+ export type { FilterByField } from './schemas/FilterByField';
344
345
  export type { FilterValuesRequestDto } from './schemas/FilterValuesRequestDto';
345
346
  export type { GroupByField } from './schemas/GroupByField';
346
347
  export type { GroupedTeamFiltersResponseDto } from './schemas/GroupedTeamFiltersResponseDto';
@@ -373,6 +374,7 @@ export type { ListResponseDtoProductivityProfileResponseDto } from './schemas/Li
373
374
  export type { LtcConfigurationDto } from './schemas/LtcConfigurationDto';
374
375
  export type { LtcStageDto } from './schemas/LtcStageDto';
375
376
  export type { Metric } from './schemas/Metric';
377
+ export type { MinimalDeveloperDto } from './schemas/MinimalDeveloperDto';
376
378
  export type { MinimalOrgTree } from './schemas/MinimalOrgTree';
377
379
  export type { MinimalTeamHierarchyResponseDto } from './schemas/MinimalTeamHierarchyResponseDto';
378
380
  export type { MonthlyLicenseUsageResponseDto } from './schemas/MonthlyLicenseUsageResponseDto';
@@ -380,6 +382,7 @@ export type { MttrConfigurationDto } from './schemas/MttrConfigurationDto';
380
382
  export type { MttrDataPoint } from './schemas/MttrDataPoint';
381
383
  export type { MttrMetric } from './schemas/MttrMetric';
382
384
  export type { OrgTreeCreateRequestDto } from './schemas/OrgTreeCreateRequestDto';
385
+ export type { OrgTreePreviewRequestDto } from './schemas/OrgTreePreviewRequestDto';
383
386
  export type { OrgTreeProfileDto } from './schemas/OrgTreeProfileDto';
384
387
  export type { OrgTreeResponseDto } from './schemas/OrgTreeResponseDto';
385
388
  export type { OrgTreeSearchParams } from './schemas/OrgTreeSearchParams';
@@ -399,6 +402,7 @@ export type { PrVelocityDrilldownResponseDataPoint } from './schemas/PrVelocityD
399
402
  export type { PrVelocityDrilldownResponseDataPointV3 } from './schemas/PrVelocityDrilldownResponseDataPointV3';
400
403
  export type { PrVelocityIndividualDrilldownResponseDataPoint } from './schemas/PrVelocityIndividualDrilldownResponseDataPoint';
401
404
  export type { PrVelocityIndividualDrilldownResponseDataPointV3 } from './schemas/PrVelocityIndividualDrilldownResponseDataPointV3';
405
+ export type { PreviewTeamHierarchyResponseDto } from './schemas/PreviewTeamHierarchyResponseDto';
402
406
  export type { ProductivityContributorRequestDto } from './schemas/ProductivityContributorRequestDto';
403
407
  export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
404
408
  export type { ProductivityFeatureBreakdownResponseDataPoint } from './schemas/ProductivityFeatureBreakdownResponseDataPoint';
@@ -419,7 +423,6 @@ export type { RefIdDto } from './schemas/RefIdDto';
419
423
  export type { SectionDto } from './schemas/SectionDto';
420
424
  export type { SortOption } from './schemas/SortOption';
421
425
  export type { Stage } from './schemas/Stage';
422
- export type { StatisticalTrendPercent } from './schemas/StatisticalTrendPercent';
423
426
  export type { SummaryCard } from './schemas/SummaryCard';
424
427
  export type { SummaryValue } from './schemas/SummaryValue';
425
428
  export type { SummaryValueChange } from './schemas/SummaryValueChange';
@@ -95,6 +95,7 @@ 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';
98
99
  export { orgTreeControllerSearchOrgTrees, useOrgTreeControllerSearchOrgTreesQuery, } from './hooks/useOrgTreeControllerSearchOrgTreesQuery';
99
100
  export { orgTreeControllerUpdateBusinessAlignmentProfileRefId, useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateBusinessAlignmentProfileRefIdMutation';
100
101
  export { orgTreeControllerUpdateEfficiencyProfileRefId, useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation';
@@ -120,7 +121,6 @@ export { teamsControllerGetTeamIntegrationFilters, useTeamsControllerGetTeamInte
120
121
  export { teamsControllerGetTeamIntegrations, useTeamsControllerGetTeamIntegrationsQuery, } from './hooks/useTeamsControllerGetTeamIntegrationsQuery';
121
122
  export { teamsControllerGetTeam, useTeamsControllerGetTeamQuery, } from './hooks/useTeamsControllerGetTeamQuery';
122
123
  export { teamsControllerListTeams, useTeamsControllerListTeamsQuery, } from './hooks/useTeamsControllerListTeamsQuery';
123
- export { teamsControllerSearchDevelopers, useTeamsControllerSearchDevelopersQuery, } from './hooks/useTeamsControllerSearchDevelopersQuery';
124
124
  export { teamsControllerSearchTeams, useTeamsControllerSearchTeamsQuery, } from './hooks/useTeamsControllerSearchTeamsQuery';
125
125
  export { teamsControllerUpdateTeamIntegrationFilters, useTeamsControllerUpdateTeamIntegrationFiltersMutation, } from './hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation';
126
126
  export { teamsControllerUpdateTeamIntegrations, useTeamsControllerUpdateTeamIntegrationsMutation, } from './hooks/useTeamsControllerUpdateTeamIntegrationsMutation';
@@ -1,4 +1,5 @@
1
1
  export interface DeveloperSearchParams {
2
+ developerRefIds?: number[];
2
3
  /**
3
4
  * custom developer attribute
4
5
  */
@@ -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
+ }
@@ -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,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
+ }
@@ -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
2
  searchKey?: 'efficiencyProfileName' | 'name' | 'productivityProfileName';
3
3
  searchValue?: string;
4
- sortBy?: 'createdAt' | 'efficiencyProfileName' | 'name' | 'productivityProfileName' | 'updatedAt' | 'updatedBy';
4
+ sortBy?: '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
+ }
@@ -1,5 +1,5 @@
1
1
  import type { ProductivityDataPoint } from '../schemas/ProductivityDataPoint';
2
- import type { StatisticalTrendPercent } from '../schemas/StatisticalTrendPercent';
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?: 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.11",
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,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>;
@@ -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
- }