@harnessio/react-sei-panorama-service-client 0.18.1 → 0.18.3
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/useEfficiencyControllerChangeFailureRateQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerChangeFailureRateQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerDeploymentFrequencyQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerDeploymentFrequencyQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/{useEfficiencyControllerLeadTimeMutation.js → useEfficiencyControllerLeadTimeQuery.js} +3 -3
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerGetFilterValuesMutation.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerGetFilterValuesMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useIntegrationControllerListIntegrationsQuery.d.ts +3 -3
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetEfficiencyProfileRefIdQuery.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetEfficiencyProfileRefIdQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation.d.ts +26 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateProductivityProfileRefIdMutation.d.ts +26 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateProductivityProfileRefIdMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +36 -3
- package/dist/sei-panorama-service/src/services/index.js +11 -1
- package/dist/sei-panorama-service/src/services/schemas/Developer.d.ts +32 -0
- package/dist/sei-panorama-service/src/services/schemas/DeveloperInfo.d.ts +9 -0
- package/dist/sei-panorama-service/src/services/schemas/DeveloperInfo.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyRequest.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyRequest.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +14 -0
- package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/GroupByField.d.ts +11 -0
- package/dist/sei-panorama-service/src/services/schemas/GroupByField.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationIdsDto.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationIdsDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationResponseDto.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationResponseDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationUserInfo.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/schemas/IntegrationUserInfo.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoIntegrationResponseDto.d.ts +16 -0
- package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoIntegrationResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/{ListResponseDto.d.ts → ListResponseDtoOrgTreeResponseDto.d.ts} +3 -4
- package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoOrgTreeResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/MinimalTeamHierarchyResponseDto.d.ts +30 -0
- package/dist/sei-panorama-service/src/services/schemas/MinimalTeamHierarchyResponseDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.d.ts +9 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeProfileDto.d.ts +7 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeProfileDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.d.ts +13 -4
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.js +0 -3
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeUpdateRequestDto.d.ts +18 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeUpdateRequestDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/RefIdDto.d.ts +6 -0
- package/dist/sei-panorama-service/src/services/schemas/RefIdDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/TeamDevelopersDto.d.ts +5 -1
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeMutation.d.ts +0 -22
- /package/dist/sei-panorama-service/src/services/schemas/{ListResponseDto.js → Developer.js} +0 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraChangeFailureRateMetric } from '../schemas/DoraChangeFailureRateMetric';
|
3
|
+
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface EfficiencyControllerChangeFailureRateQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type EfficiencyControllerChangeFailureRateRequestBody = EfficiencyRequest;
|
12
|
+
export type EfficiencyControllerChangeFailureRateOkResponse = ResponseWithPagination<DoraChangeFailureRateMetric>;
|
13
|
+
export type EfficiencyControllerChangeFailureRateErrorResponse = string;
|
14
|
+
export interface EfficiencyControllerChangeFailureRateProps extends Omit<FetcherOptions<EfficiencyControllerChangeFailureRateQueryQueryParams, EfficiencyControllerChangeFailureRateRequestBody>, 'url'> {
|
15
|
+
queryParams: EfficiencyControllerChangeFailureRateQueryQueryParams;
|
16
|
+
body: EfficiencyControllerChangeFailureRateRequestBody;
|
17
|
+
}
|
18
|
+
export declare function efficiencyControllerChangeFailureRate(props: EfficiencyControllerChangeFailureRateProps): Promise<EfficiencyControllerChangeFailureRateOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get change failure rate for a project
|
21
|
+
*/
|
22
|
+
export declare function useEfficiencyControllerChangeFailureRateQuery(props: EfficiencyControllerChangeFailureRateProps, options?: Omit<UseQueryOptions<EfficiencyControllerChangeFailureRateOkResponse, EfficiencyControllerChangeFailureRateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<EfficiencyControllerChangeFailureRateOkResponse, string>;
|
@@ -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 efficiencyControllerChangeFailureRate(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/efficiency/changeFailureRate`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get change failure rate for a project
|
11
|
+
*/
|
12
|
+
export function useEfficiencyControllerChangeFailureRateQuery(props, options) {
|
13
|
+
return useQuery(['EfficiencyControllerChangeFailureRate', props.queryParams, props.body], ({ signal }) => efficiencyControllerChangeFailureRate(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraDeploymentFrequencyMetric } from '../schemas/DoraDeploymentFrequencyMetric';
|
3
|
+
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface EfficiencyControllerDeploymentFrequencyQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type EfficiencyControllerDeploymentFrequencyRequestBody = EfficiencyRequest;
|
12
|
+
export type EfficiencyControllerDeploymentFrequencyOkResponse = ResponseWithPagination<DoraDeploymentFrequencyMetric>;
|
13
|
+
export type EfficiencyControllerDeploymentFrequencyErrorResponse = string;
|
14
|
+
export interface EfficiencyControllerDeploymentFrequencyProps extends Omit<FetcherOptions<EfficiencyControllerDeploymentFrequencyQueryQueryParams, EfficiencyControllerDeploymentFrequencyRequestBody>, 'url'> {
|
15
|
+
queryParams: EfficiencyControllerDeploymentFrequencyQueryQueryParams;
|
16
|
+
body: EfficiencyControllerDeploymentFrequencyRequestBody;
|
17
|
+
}
|
18
|
+
export declare function efficiencyControllerDeploymentFrequency(props: EfficiencyControllerDeploymentFrequencyProps): Promise<EfficiencyControllerDeploymentFrequencyOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get deployment frequency for a project
|
21
|
+
*/
|
22
|
+
export declare function useEfficiencyControllerDeploymentFrequencyQuery(props: EfficiencyControllerDeploymentFrequencyProps, options?: Omit<UseQueryOptions<EfficiencyControllerDeploymentFrequencyOkResponse, EfficiencyControllerDeploymentFrequencyErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<EfficiencyControllerDeploymentFrequencyOkResponse, string>;
|
@@ -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 efficiencyControllerDeploymentFrequency(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/efficiency/deploymentFrequency`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get deployment frequency for a project
|
11
|
+
*/
|
12
|
+
export function useEfficiencyControllerDeploymentFrequencyQuery(props, options) {
|
13
|
+
return useQuery(['EfficiencyControllerDeploymentFrequency', props.queryParams, props.body], ({ signal }) => efficiencyControllerDeploymentFrequency(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeQuery.d.ts
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraLttcMttrMetric } from '../schemas/DoraLttcMttrMetric';
|
3
|
+
import type { EfficiencyRequest } from '../schemas/EfficiencyRequest';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface EfficiencyControllerLeadTimeQueryQueryParams {
|
7
|
+
account: string;
|
8
|
+
projectIdentifier: string;
|
9
|
+
orgIdentifier: string;
|
10
|
+
}
|
11
|
+
export type EfficiencyControllerLeadTimeRequestBody = EfficiencyRequest;
|
12
|
+
export type EfficiencyControllerLeadTimeOkResponse = ResponseWithPagination<DoraLttcMttrMetric>;
|
13
|
+
export type EfficiencyControllerLeadTimeErrorResponse = string;
|
14
|
+
export interface EfficiencyControllerLeadTimeProps extends Omit<FetcherOptions<EfficiencyControllerLeadTimeQueryQueryParams, EfficiencyControllerLeadTimeRequestBody>, 'url'> {
|
15
|
+
queryParams: EfficiencyControllerLeadTimeQueryQueryParams;
|
16
|
+
body: EfficiencyControllerLeadTimeRequestBody;
|
17
|
+
}
|
18
|
+
export declare function efficiencyControllerLeadTime(props: EfficiencyControllerLeadTimeProps): Promise<EfficiencyControllerLeadTimeOkResponse>;
|
19
|
+
/**
|
20
|
+
* Get lead time for a project
|
21
|
+
*/
|
22
|
+
export declare function useEfficiencyControllerLeadTimeQuery(props: EfficiencyControllerLeadTimeProps, options?: Omit<UseQueryOptions<EfficiencyControllerLeadTimeOkResponse, EfficiencyControllerLeadTimeErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<EfficiencyControllerLeadTimeOkResponse, string>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/* eslint-disable */
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
3
3
|
// Please do not modify this code directly.
|
4
|
-
import {
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function efficiencyControllerLeadTime(props) {
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/efficiency/leadtime`, method: 'POST' }, props));
|
@@ -9,6 +9,6 @@ export function efficiencyControllerLeadTime(props) {
|
|
9
9
|
/**
|
10
10
|
* Get lead time for a project
|
11
11
|
*/
|
12
|
-
export function
|
13
|
-
return
|
12
|
+
export function useEfficiencyControllerLeadTimeQuery(props, options) {
|
13
|
+
return useQuery(['EfficiencyControllerLeadTime', props.queryParams, props.body], ({ signal }) => efficiencyControllerLeadTime(Object.assign(Object.assign({}, props), { signal })), options);
|
14
14
|
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { FilterValuesRequestDto } from '../schemas/FilterValuesRequestDto';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface IntegrationControllerGetFilterValuesMutationQueryParams {
|
6
|
+
account: string;
|
7
|
+
}
|
8
|
+
export type IntegrationControllerGetFilterValuesRequestBody = FilterValuesRequestDto;
|
9
|
+
export type IntegrationControllerGetFilterValuesOkResponse = ResponseWithPagination<string[]>;
|
10
|
+
export type IntegrationControllerGetFilterValuesErrorResponse = string[];
|
11
|
+
export interface IntegrationControllerGetFilterValuesProps extends Omit<FetcherOptions<IntegrationControllerGetFilterValuesMutationQueryParams, IntegrationControllerGetFilterValuesRequestBody>, 'url'> {
|
12
|
+
queryParams: IntegrationControllerGetFilterValuesMutationQueryParams;
|
13
|
+
body: IntegrationControllerGetFilterValuesRequestBody;
|
14
|
+
}
|
15
|
+
export declare function integrationControllerGetFilterValues(props: IntegrationControllerGetFilterValuesProps): Promise<IntegrationControllerGetFilterValuesOkResponse>;
|
16
|
+
/**
|
17
|
+
* Returns a list of distinct values for a specific filter key in an integration.
|
18
|
+
*/
|
19
|
+
export declare function useIntegrationControllerGetFilterValuesMutation(options?: Omit<UseMutationOptions<IntegrationControllerGetFilterValuesOkResponse, IntegrationControllerGetFilterValuesErrorResponse, IntegrationControllerGetFilterValuesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<IntegrationControllerGetFilterValuesOkResponse, IntegrationControllerGetFilterValuesErrorResponse, IntegrationControllerGetFilterValuesProps, 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 integrationControllerGetFilterValues(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/integrations/filter_values`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Returns a list of distinct values for a specific filter key in an integration.
|
11
|
+
*/
|
12
|
+
export function useIntegrationControllerGetFilterValuesMutation(options) {
|
13
|
+
return useMutation((mutateProps) => integrationControllerGetFilterValues(mutateProps), options);
|
14
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type {
|
2
|
+
import type { ListResponseDtoIntegrationResponseDto } from '../schemas/ListResponseDtoIntegrationResponseDto';
|
3
3
|
import type { ResponseWithPagination } from '../helpers';
|
4
4
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
5
|
export interface IntegrationControllerListIntegrationsQueryQueryParams {
|
@@ -13,9 +13,9 @@ export interface IntegrationControllerListIntegrationsQueryQueryParams {
|
|
13
13
|
* @default 50
|
14
14
|
*/
|
15
15
|
pageSize?: number;
|
16
|
-
|
16
|
+
account: string;
|
17
17
|
}
|
18
|
-
export type IntegrationControllerListIntegrationsOkResponse = ResponseWithPagination<
|
18
|
+
export type IntegrationControllerListIntegrationsOkResponse = ResponseWithPagination<ListResponseDtoIntegrationResponseDto>;
|
19
19
|
export type IntegrationControllerListIntegrationsErrorResponse = unknown;
|
20
20
|
export interface IntegrationControllerListIntegrationsProps extends Omit<FetcherOptions<IntegrationControllerListIntegrationsQueryQueryParams, unknown>, 'url'> {
|
21
21
|
queryParams: IntegrationControllerListIntegrationsQueryQueryParams;
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.d.ts
CHANGED
@@ -18,6 +18,6 @@ export interface OrgTreeControllerCreateOrgTreeProps extends Omit<FetcherOptions
|
|
18
18
|
}
|
19
19
|
export declare function orgTreeControllerCreateOrgTree(props: OrgTreeControllerCreateOrgTreeProps): Promise<OrgTreeControllerCreateOrgTreeOkResponse>;
|
20
20
|
/**
|
21
|
-
* Create a new
|
21
|
+
* Create a new organization tree
|
22
22
|
*/
|
23
23
|
export declare function useOrgTreeControllerCreateOrgTreeMutation(options?: Omit<UseMutationOptions<OrgTreeControllerCreateOrgTreeOkResponse, OrgTreeControllerCreateOrgTreeErrorResponse, OrgTreeControllerCreateOrgTreeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OrgTreeControllerCreateOrgTreeOkResponse, ErrorResponse, OrgTreeControllerCreateOrgTreeProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.js
CHANGED
@@ -7,7 +7,7 @@ export function orgTreeControllerCreateOrgTree(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/org-trees`, method: 'POST' }, props));
|
8
8
|
}
|
9
9
|
/**
|
10
|
-
* Create a new
|
10
|
+
* Create a new organization tree
|
11
11
|
*/
|
12
12
|
export function useOrgTreeControllerCreateOrgTreeMutation(options) {
|
13
13
|
return useMutation((mutateProps) => orgTreeControllerCreateOrgTree(mutateProps), options);
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { RefIdDto } from '../schemas/RefIdDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerGetEfficiencyProfileRefIdQueryPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
orgTreeId: number;
|
11
|
+
}
|
12
|
+
export interface OrgTreeControllerGetEfficiencyProfileRefIdQueryQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type OrgTreeControllerGetEfficiencyProfileRefIdOkResponse = ResponseWithPagination<RefIdDto>;
|
16
|
+
export type OrgTreeControllerGetEfficiencyProfileRefIdErrorResponse = ErrorResponse;
|
17
|
+
export interface OrgTreeControllerGetEfficiencyProfileRefIdProps extends OrgTreeControllerGetEfficiencyProfileRefIdQueryPathParams, Omit<FetcherOptions<OrgTreeControllerGetEfficiencyProfileRefIdQueryQueryParams, unknown>, 'url'> {
|
18
|
+
queryParams: OrgTreeControllerGetEfficiencyProfileRefIdQueryQueryParams;
|
19
|
+
}
|
20
|
+
export declare function orgTreeControllerGetEfficiencyProfileRefId(props: OrgTreeControllerGetEfficiencyProfileRefIdProps): Promise<OrgTreeControllerGetEfficiencyProfileRefIdOkResponse>;
|
21
|
+
/**
|
22
|
+
* Get the efficiency profile reference ID for an organization tree
|
23
|
+
*/
|
24
|
+
export declare function useOrgTreeControllerGetEfficiencyProfileRefIdQuery(props: OrgTreeControllerGetEfficiencyProfileRefIdProps, options?: Omit<UseQueryOptions<OrgTreeControllerGetEfficiencyProfileRefIdOkResponse, OrgTreeControllerGetEfficiencyProfileRefIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerGetEfficiencyProfileRefIdOkResponse, ErrorResponse>;
|
@@ -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 orgTreeControllerGetEfficiencyProfileRefId(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.orgTreeId}/efficiency_profile`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get the efficiency profile reference ID for an organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerGetEfficiencyProfileRefIdQuery(props, options) {
|
13
|
+
return useQuery(['OrgTreeControllerGetEfficiencyProfileRefId', props.orgTreeId, props.queryParams], ({ signal }) => orgTreeControllerGetEfficiencyProfileRefId(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { IntegrationResponseDto } from '../schemas/IntegrationResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerGetOrgTreeIntegrationsQueryPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
orgTreeId: number;
|
11
|
+
}
|
12
|
+
export interface OrgTreeControllerGetOrgTreeIntegrationsQueryQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type OrgTreeControllerGetOrgTreeIntegrationsOkResponse = ResponseWithPagination<IntegrationResponseDto[]>;
|
16
|
+
export type OrgTreeControllerGetOrgTreeIntegrationsErrorResponse = ErrorResponse;
|
17
|
+
export interface OrgTreeControllerGetOrgTreeIntegrationsProps extends OrgTreeControllerGetOrgTreeIntegrationsQueryPathParams, Omit<FetcherOptions<OrgTreeControllerGetOrgTreeIntegrationsQueryQueryParams, unknown>, 'url'> {
|
18
|
+
queryParams: OrgTreeControllerGetOrgTreeIntegrationsQueryQueryParams;
|
19
|
+
}
|
20
|
+
export declare function orgTreeControllerGetOrgTreeIntegrations(props: OrgTreeControllerGetOrgTreeIntegrationsProps): Promise<OrgTreeControllerGetOrgTreeIntegrationsOkResponse>;
|
21
|
+
/**
|
22
|
+
* Get the integrations associated with an organization tree
|
23
|
+
*/
|
24
|
+
export declare function useOrgTreeControllerGetOrgTreeIntegrationsQuery(props: OrgTreeControllerGetOrgTreeIntegrationsProps, options?: Omit<UseQueryOptions<OrgTreeControllerGetOrgTreeIntegrationsOkResponse, OrgTreeControllerGetOrgTreeIntegrationsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerGetOrgTreeIntegrationsOkResponse, ErrorResponse>;
|
@@ -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 orgTreeControllerGetOrgTreeIntegrations(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.orgTreeId}/integrations`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get the integrations associated with an organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerGetOrgTreeIntegrationsQuery(props, options) {
|
13
|
+
return useQuery(['OrgTreeControllerGetOrgTreeIntegrations', props.orgTreeId, props.queryParams], ({ signal }) => orgTreeControllerGetOrgTreeIntegrations(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { MinimalTeamHierarchyResponseDto } from '../schemas/MinimalTeamHierarchyResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerGetOrgTreeTeamHierarchyQueryPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
orgTreeId: number;
|
11
|
+
}
|
12
|
+
export interface OrgTreeControllerGetOrgTreeTeamHierarchyQueryQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse = ResponseWithPagination<MinimalTeamHierarchyResponseDto>;
|
16
|
+
export type OrgTreeControllerGetOrgTreeTeamHierarchyErrorResponse = ErrorResponse;
|
17
|
+
export interface OrgTreeControllerGetOrgTreeTeamHierarchyProps extends OrgTreeControllerGetOrgTreeTeamHierarchyQueryPathParams, Omit<FetcherOptions<OrgTreeControllerGetOrgTreeTeamHierarchyQueryQueryParams, unknown>, 'url'> {
|
18
|
+
queryParams: OrgTreeControllerGetOrgTreeTeamHierarchyQueryQueryParams;
|
19
|
+
}
|
20
|
+
export declare function orgTreeControllerGetOrgTreeTeamHierarchy(props: OrgTreeControllerGetOrgTreeTeamHierarchyProps): Promise<OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse>;
|
21
|
+
/**
|
22
|
+
* Get the team hierarchy for an organization tree
|
23
|
+
*/
|
24
|
+
export declare function useOrgTreeControllerGetOrgTreeTeamHierarchyQuery(props: OrgTreeControllerGetOrgTreeTeamHierarchyProps, options?: Omit<UseQueryOptions<OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse, OrgTreeControllerGetOrgTreeTeamHierarchyErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse, ErrorResponse>;
|
@@ -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 orgTreeControllerGetOrgTreeTeamHierarchy(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.orgTreeId}/teams`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get the team hierarchy for an organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerGetOrgTreeTeamHierarchyQuery(props, options) {
|
13
|
+
return useQuery(['OrgTreeControllerGetOrgTreeTeamHierarchy', props.orgTreeId, props.queryParams], ({ signal }) => orgTreeControllerGetOrgTreeTeamHierarchy(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type {
|
2
|
+
import type { ListResponseDtoOrgTreeResponseDto } from '../schemas/ListResponseDtoOrgTreeResponseDto';
|
3
3
|
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
@@ -18,7 +18,7 @@ export interface OrgTreeControllerGetOrgTreesQueryQueryParams {
|
|
18
18
|
*/
|
19
19
|
pageSize?: number;
|
20
20
|
}
|
21
|
-
export type OrgTreeControllerGetOrgTreesOkResponse = ResponseWithPagination<
|
21
|
+
export type OrgTreeControllerGetOrgTreesOkResponse = ResponseWithPagination<ListResponseDtoOrgTreeResponseDto>;
|
22
22
|
export type OrgTreeControllerGetOrgTreesErrorResponse = ErrorResponse;
|
23
23
|
export interface OrgTreeControllerGetOrgTreesProps extends Omit<FetcherOptions<OrgTreeControllerGetOrgTreesQueryQueryParams, unknown>, 'url'> {
|
24
24
|
queryParams: OrgTreeControllerGetOrgTreesQueryQueryParams;
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.js
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function orgTreeControllerGetOrgTrees(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/org-trees
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees`, method: 'GET' }, props));
|
8
8
|
}
|
9
9
|
/**
|
10
10
|
* Get organization trees with pagination
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { RefIdDto } from '../schemas/RefIdDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerGetProductivityProfileRefIdQueryPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
orgTreeId: number;
|
11
|
+
}
|
12
|
+
export interface OrgTreeControllerGetProductivityProfileRefIdQueryQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type OrgTreeControllerGetProductivityProfileRefIdOkResponse = ResponseWithPagination<RefIdDto>;
|
16
|
+
export type OrgTreeControllerGetProductivityProfileRefIdErrorResponse = ErrorResponse;
|
17
|
+
export interface OrgTreeControllerGetProductivityProfileRefIdProps extends OrgTreeControllerGetProductivityProfileRefIdQueryPathParams, Omit<FetcherOptions<OrgTreeControllerGetProductivityProfileRefIdQueryQueryParams, unknown>, 'url'> {
|
18
|
+
queryParams: OrgTreeControllerGetProductivityProfileRefIdQueryQueryParams;
|
19
|
+
}
|
20
|
+
export declare function orgTreeControllerGetProductivityProfileRefId(props: OrgTreeControllerGetProductivityProfileRefIdProps): Promise<OrgTreeControllerGetProductivityProfileRefIdOkResponse>;
|
21
|
+
/**
|
22
|
+
* Get the productivity profile reference ID for an organization tree
|
23
|
+
*/
|
24
|
+
export declare function useOrgTreeControllerGetProductivityProfileRefIdQuery(props: OrgTreeControllerGetProductivityProfileRefIdProps, options?: Omit<UseQueryOptions<OrgTreeControllerGetProductivityProfileRefIdOkResponse, OrgTreeControllerGetProductivityProfileRefIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerGetProductivityProfileRefIdOkResponse, ErrorResponse>;
|
@@ -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 orgTreeControllerGetProductivityProfileRefId(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.orgTreeId}/productivity_profile`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get the productivity profile reference ID for an organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerGetProductivityProfileRefIdQuery(props, options) {
|
13
|
+
return useQuery(['OrgTreeControllerGetProductivityProfileRefId', props.orgTreeId, props.queryParams], ({ signal }) => orgTreeControllerGetProductivityProfileRefId(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { RefIdDto } from '../schemas/RefIdDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerUpdateEfficiencyProfileRefIdMutationPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
orgTreeId: number;
|
11
|
+
}
|
12
|
+
export interface OrgTreeControllerUpdateEfficiencyProfileRefIdMutationQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type OrgTreeControllerUpdateEfficiencyProfileRefIdRequestBody = RefIdDto;
|
16
|
+
export type OrgTreeControllerUpdateEfficiencyProfileRefIdOkResponse = ResponseWithPagination<RefIdDto>;
|
17
|
+
export type OrgTreeControllerUpdateEfficiencyProfileRefIdErrorResponse = ErrorResponse;
|
18
|
+
export interface OrgTreeControllerUpdateEfficiencyProfileRefIdProps extends OrgTreeControllerUpdateEfficiencyProfileRefIdMutationPathParams, Omit<FetcherOptions<OrgTreeControllerUpdateEfficiencyProfileRefIdMutationQueryParams, OrgTreeControllerUpdateEfficiencyProfileRefIdRequestBody>, 'url'> {
|
19
|
+
queryParams: OrgTreeControllerUpdateEfficiencyProfileRefIdMutationQueryParams;
|
20
|
+
body: OrgTreeControllerUpdateEfficiencyProfileRefIdRequestBody;
|
21
|
+
}
|
22
|
+
export declare function orgTreeControllerUpdateEfficiencyProfileRefId(props: OrgTreeControllerUpdateEfficiencyProfileRefIdProps): Promise<OrgTreeControllerUpdateEfficiencyProfileRefIdOkResponse>;
|
23
|
+
/**
|
24
|
+
* Update the efficiency profile reference ID for an organization tree
|
25
|
+
*/
|
26
|
+
export declare function useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation(options?: Omit<UseMutationOptions<OrgTreeControllerUpdateEfficiencyProfileRefIdOkResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdErrorResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OrgTreeControllerUpdateEfficiencyProfileRefIdOkResponse, ErrorResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdProps, 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 orgTreeControllerUpdateEfficiencyProfileRefId(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.orgTreeId}/efficiency_profile`, method: 'PUT' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Update the efficiency profile reference ID for an organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation(options) {
|
13
|
+
return useMutation((mutateProps) => orgTreeControllerUpdateEfficiencyProfileRefId(mutateProps), options);
|
14
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { IntegrationResponseDto } from '../schemas/IntegrationResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { IntegrationIdsDto } from '../schemas/IntegrationIdsDto';
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
7
|
+
export interface OrgTreeControllerUpdateOrgTreeIntegrationsMutationPathParams {
|
8
|
+
/**
|
9
|
+
* @format int32
|
10
|
+
*/
|
11
|
+
orgTreeId: number;
|
12
|
+
}
|
13
|
+
export interface OrgTreeControllerUpdateOrgTreeIntegrationsMutationQueryParams {
|
14
|
+
accountIdentifier: string;
|
15
|
+
}
|
16
|
+
export type OrgTreeControllerUpdateOrgTreeIntegrationsRequestBody = IntegrationIdsDto;
|
17
|
+
export type OrgTreeControllerUpdateOrgTreeIntegrationsOkResponse = ResponseWithPagination<IntegrationResponseDto>;
|
18
|
+
export type OrgTreeControllerUpdateOrgTreeIntegrationsErrorResponse = ErrorResponse;
|
19
|
+
export interface OrgTreeControllerUpdateOrgTreeIntegrationsProps extends OrgTreeControllerUpdateOrgTreeIntegrationsMutationPathParams, Omit<FetcherOptions<OrgTreeControllerUpdateOrgTreeIntegrationsMutationQueryParams, OrgTreeControllerUpdateOrgTreeIntegrationsRequestBody>, 'url'> {
|
20
|
+
queryParams: OrgTreeControllerUpdateOrgTreeIntegrationsMutationQueryParams;
|
21
|
+
body: OrgTreeControllerUpdateOrgTreeIntegrationsRequestBody;
|
22
|
+
}
|
23
|
+
export declare function orgTreeControllerUpdateOrgTreeIntegrations(props: OrgTreeControllerUpdateOrgTreeIntegrationsProps): Promise<OrgTreeControllerUpdateOrgTreeIntegrationsOkResponse>;
|
24
|
+
/**
|
25
|
+
* Update the integrations for an organization tree
|
26
|
+
*/
|
27
|
+
export declare function useOrgTreeControllerUpdateOrgTreeIntegrationsMutation(options?: Omit<UseMutationOptions<OrgTreeControllerUpdateOrgTreeIntegrationsOkResponse, OrgTreeControllerUpdateOrgTreeIntegrationsErrorResponse, OrgTreeControllerUpdateOrgTreeIntegrationsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OrgTreeControllerUpdateOrgTreeIntegrationsOkResponse, ErrorResponse, OrgTreeControllerUpdateOrgTreeIntegrationsProps, 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 orgTreeControllerUpdateOrgTreeIntegrations(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.orgTreeId}/integrations`, method: 'PUT' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Update the integrations for an organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerUpdateOrgTreeIntegrationsMutation(options) {
|
13
|
+
return useMutation((mutateProps) => orgTreeControllerUpdateOrgTreeIntegrations(mutateProps), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
2
2
|
import type { OrgTreeResponseDto } from '../schemas/OrgTreeResponseDto';
|
3
3
|
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
-
import type {
|
4
|
+
import type { OrgTreeUpdateRequestDto } from '../schemas/OrgTreeUpdateRequestDto';
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
7
7
|
export interface OrgTreeControllerUpdateOrgTreeMutationPathParams {
|
@@ -13,7 +13,7 @@ export interface OrgTreeControllerUpdateOrgTreeMutationPathParams {
|
|
13
13
|
export interface OrgTreeControllerUpdateOrgTreeMutationQueryParams {
|
14
14
|
accountIdentifier: string;
|
15
15
|
}
|
16
|
-
export type OrgTreeControllerUpdateOrgTreeRequestBody =
|
16
|
+
export type OrgTreeControllerUpdateOrgTreeRequestBody = OrgTreeUpdateRequestDto;
|
17
17
|
export type OrgTreeControllerUpdateOrgTreeOkResponse = ResponseWithPagination<OrgTreeResponseDto>;
|
18
18
|
export type OrgTreeControllerUpdateOrgTreeErrorResponse = ErrorResponse;
|
19
19
|
export interface OrgTreeControllerUpdateOrgTreeProps extends OrgTreeControllerUpdateOrgTreeMutationPathParams, Omit<FetcherOptions<OrgTreeControllerUpdateOrgTreeMutationQueryParams, OrgTreeControllerUpdateOrgTreeRequestBody>, 'url'> {
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { RefIdDto } from '../schemas/RefIdDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerUpdateProductivityProfileRefIdMutationPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
orgTreeId: number;
|
11
|
+
}
|
12
|
+
export interface OrgTreeControllerUpdateProductivityProfileRefIdMutationQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type OrgTreeControllerUpdateProductivityProfileRefIdRequestBody = RefIdDto;
|
16
|
+
export type OrgTreeControllerUpdateProductivityProfileRefIdOkResponse = ResponseWithPagination<RefIdDto>;
|
17
|
+
export type OrgTreeControllerUpdateProductivityProfileRefIdErrorResponse = ErrorResponse;
|
18
|
+
export interface OrgTreeControllerUpdateProductivityProfileRefIdProps extends OrgTreeControllerUpdateProductivityProfileRefIdMutationPathParams, Omit<FetcherOptions<OrgTreeControllerUpdateProductivityProfileRefIdMutationQueryParams, OrgTreeControllerUpdateProductivityProfileRefIdRequestBody>, 'url'> {
|
19
|
+
queryParams: OrgTreeControllerUpdateProductivityProfileRefIdMutationQueryParams;
|
20
|
+
body: OrgTreeControllerUpdateProductivityProfileRefIdRequestBody;
|
21
|
+
}
|
22
|
+
export declare function orgTreeControllerUpdateProductivityProfileRefId(props: OrgTreeControllerUpdateProductivityProfileRefIdProps): Promise<OrgTreeControllerUpdateProductivityProfileRefIdOkResponse>;
|
23
|
+
/**
|
24
|
+
* Update the productivity profile reference ID for an organization tree
|
25
|
+
*/
|
26
|
+
export declare function useOrgTreeControllerUpdateProductivityProfileRefIdMutation(options?: Omit<UseMutationOptions<OrgTreeControllerUpdateProductivityProfileRefIdOkResponse, OrgTreeControllerUpdateProductivityProfileRefIdErrorResponse, OrgTreeControllerUpdateProductivityProfileRefIdProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OrgTreeControllerUpdateProductivityProfileRefIdOkResponse, ErrorResponse, OrgTreeControllerUpdateProductivityProfileRefIdProps, 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 orgTreeControllerUpdateProductivityProfileRefId(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.orgTreeId}/productivity_profile`, method: 'PUT' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Update the productivity profile reference ID for an organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerUpdateProductivityProfileRefIdMutation(options) {
|
13
|
+
return useMutation((mutateProps) => orgTreeControllerUpdateProductivityProfileRefId(mutateProps), options);
|
14
|
+
}
|
@@ -51,8 +51,12 @@ export type { DoraControllerMttrBreakdownErrorResponse, DoraControllerMttrBreakd
|
|
51
51
|
export { doraControllerMttrBreakdown, useDoraControllerMttrBreakdownQuery, } from './hooks/useDoraControllerMttrBreakdownQuery';
|
52
52
|
export type { DoraControllerSummaryErrorResponse, DoraControllerSummaryOkResponse, DoraControllerSummaryProps, DoraControllerSummaryQueryQueryParams, DoraControllerSummaryRequestBody, } from './hooks/useDoraControllerSummaryQuery';
|
53
53
|
export { doraControllerSummary, useDoraControllerSummaryQuery, } from './hooks/useDoraControllerSummaryQuery';
|
54
|
-
export type {
|
55
|
-
export {
|
54
|
+
export type { EfficiencyControllerChangeFailureRateErrorResponse, EfficiencyControllerChangeFailureRateOkResponse, EfficiencyControllerChangeFailureRateProps, EfficiencyControllerChangeFailureRateQueryQueryParams, EfficiencyControllerChangeFailureRateRequestBody, } from './hooks/useEfficiencyControllerChangeFailureRateQuery';
|
55
|
+
export { efficiencyControllerChangeFailureRate, useEfficiencyControllerChangeFailureRateQuery, } from './hooks/useEfficiencyControllerChangeFailureRateQuery';
|
56
|
+
export type { EfficiencyControllerDeploymentFrequencyErrorResponse, EfficiencyControllerDeploymentFrequencyOkResponse, EfficiencyControllerDeploymentFrequencyProps, EfficiencyControllerDeploymentFrequencyQueryQueryParams, EfficiencyControllerDeploymentFrequencyRequestBody, } from './hooks/useEfficiencyControllerDeploymentFrequencyQuery';
|
57
|
+
export { efficiencyControllerDeploymentFrequency, useEfficiencyControllerDeploymentFrequencyQuery, } from './hooks/useEfficiencyControllerDeploymentFrequencyQuery';
|
58
|
+
export type { EfficiencyControllerLeadTimeErrorResponse, EfficiencyControllerLeadTimeOkResponse, EfficiencyControllerLeadTimeProps, EfficiencyControllerLeadTimeQueryQueryParams, EfficiencyControllerLeadTimeRequestBody, } from './hooks/useEfficiencyControllerLeadTimeQuery';
|
59
|
+
export { efficiencyControllerLeadTime, useEfficiencyControllerLeadTimeQuery, } from './hooks/useEfficiencyControllerLeadTimeQuery';
|
56
60
|
export type { EfficiencyProfileControllerCreateProfileErrorResponse, EfficiencyProfileControllerCreateProfileMutationQueryParams, EfficiencyProfileControllerCreateProfileOkResponse, EfficiencyProfileControllerCreateProfileProps, EfficiencyProfileControllerCreateProfileRequestBody, } from './hooks/useEfficiencyProfileControllerCreateProfileMutation';
|
57
61
|
export { efficiencyProfileControllerCreateProfile, useEfficiencyProfileControllerCreateProfileMutation, } from './hooks/useEfficiencyProfileControllerCreateProfileMutation';
|
58
62
|
export type { EfficiencyProfileControllerDeleteProfileByRefIdErrorResponse, EfficiencyProfileControllerDeleteProfileByRefIdMutationPathParams, EfficiencyProfileControllerDeleteProfileByRefIdMutationQueryParams, EfficiencyProfileControllerDeleteProfileByRefIdOkResponse, EfficiencyProfileControllerDeleteProfileByRefIdProps, } from './hooks/useEfficiencyProfileControllerDeleteProfileByRefIdMutation';
|
@@ -71,6 +75,8 @@ export type { InsightSettingsControllerGetSettingsErrorResponse, InsightSettings
|
|
71
75
|
export { insightSettingsControllerGetSettings, useInsightSettingsControllerGetSettingsQuery, } from './hooks/useInsightSettingsControllerGetSettingsQuery';
|
72
76
|
export type { InsightSettingsControllerUpdateSettingsErrorResponse, InsightSettingsControllerUpdateSettingsMutationQueryParams, InsightSettingsControllerUpdateSettingsOkResponse, InsightSettingsControllerUpdateSettingsProps, InsightSettingsControllerUpdateSettingsRequestBody, } from './hooks/useInsightSettingsControllerUpdateSettingsMutation';
|
73
77
|
export { insightSettingsControllerUpdateSettings, useInsightSettingsControllerUpdateSettingsMutation, } from './hooks/useInsightSettingsControllerUpdateSettingsMutation';
|
78
|
+
export type { IntegrationControllerGetFilterValuesErrorResponse, IntegrationControllerGetFilterValuesMutationQueryParams, IntegrationControllerGetFilterValuesOkResponse, IntegrationControllerGetFilterValuesProps, IntegrationControllerGetFilterValuesRequestBody, } from './hooks/useIntegrationControllerGetFilterValuesMutation';
|
79
|
+
export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesMutation, } from './hooks/useIntegrationControllerGetFilterValuesMutation';
|
74
80
|
export type { IntegrationControllerListIntegrationsErrorResponse, IntegrationControllerListIntegrationsOkResponse, IntegrationControllerListIntegrationsProps, IntegrationControllerListIntegrationsQueryQueryParams, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
75
81
|
export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
76
82
|
export type { JiraIssuesControllerGetJiraIssueCountErrorResponse, JiraIssuesControllerGetJiraIssueCountOkResponse, JiraIssuesControllerGetJiraIssueCountProps, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
@@ -79,12 +85,26 @@ export type { LegacyHealthControllerCheckErrorResponse, LegacyHealthControllerCh
|
|
79
85
|
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
80
86
|
export type { OrgTreeControllerCreateOrgTreeErrorResponse, OrgTreeControllerCreateOrgTreeMutationQueryParams, OrgTreeControllerCreateOrgTreeOkResponse, OrgTreeControllerCreateOrgTreeProps, OrgTreeControllerCreateOrgTreeRequestBody, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
|
81
87
|
export { orgTreeControllerCreateOrgTree, useOrgTreeControllerCreateOrgTreeMutation, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
|
88
|
+
export type { OrgTreeControllerGetEfficiencyProfileRefIdErrorResponse, OrgTreeControllerGetEfficiencyProfileRefIdOkResponse, OrgTreeControllerGetEfficiencyProfileRefIdProps, OrgTreeControllerGetEfficiencyProfileRefIdQueryPathParams, OrgTreeControllerGetEfficiencyProfileRefIdQueryQueryParams, } from './hooks/useOrgTreeControllerGetEfficiencyProfileRefIdQuery';
|
89
|
+
export { orgTreeControllerGetEfficiencyProfileRefId, useOrgTreeControllerGetEfficiencyProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetEfficiencyProfileRefIdQuery';
|
90
|
+
export type { OrgTreeControllerGetOrgTreeIntegrationsErrorResponse, OrgTreeControllerGetOrgTreeIntegrationsOkResponse, OrgTreeControllerGetOrgTreeIntegrationsProps, OrgTreeControllerGetOrgTreeIntegrationsQueryPathParams, OrgTreeControllerGetOrgTreeIntegrationsQueryQueryParams, } from './hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery';
|
91
|
+
export { orgTreeControllerGetOrgTreeIntegrations, useOrgTreeControllerGetOrgTreeIntegrationsQuery, } from './hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery';
|
82
92
|
export type { OrgTreeControllerGetOrgTreeErrorResponse, OrgTreeControllerGetOrgTreeOkResponse, OrgTreeControllerGetOrgTreeProps, OrgTreeControllerGetOrgTreeQueryPathParams, OrgTreeControllerGetOrgTreeQueryQueryParams, } from './hooks/useOrgTreeControllerGetOrgTreeQuery';
|
83
93
|
export { orgTreeControllerGetOrgTree, useOrgTreeControllerGetOrgTreeQuery, } from './hooks/useOrgTreeControllerGetOrgTreeQuery';
|
94
|
+
export type { OrgTreeControllerGetOrgTreeTeamHierarchyErrorResponse, OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse, OrgTreeControllerGetOrgTreeTeamHierarchyProps, OrgTreeControllerGetOrgTreeTeamHierarchyQueryPathParams, OrgTreeControllerGetOrgTreeTeamHierarchyQueryQueryParams, } from './hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery';
|
95
|
+
export { orgTreeControllerGetOrgTreeTeamHierarchy, useOrgTreeControllerGetOrgTreeTeamHierarchyQuery, } from './hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery';
|
84
96
|
export type { OrgTreeControllerGetOrgTreesErrorResponse, OrgTreeControllerGetOrgTreesOkResponse, OrgTreeControllerGetOrgTreesProps, OrgTreeControllerGetOrgTreesQueryQueryParams, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
85
97
|
export { orgTreeControllerGetOrgTrees, useOrgTreeControllerGetOrgTreesQuery, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
98
|
+
export type { OrgTreeControllerGetProductivityProfileRefIdErrorResponse, OrgTreeControllerGetProductivityProfileRefIdOkResponse, OrgTreeControllerGetProductivityProfileRefIdProps, OrgTreeControllerGetProductivityProfileRefIdQueryPathParams, OrgTreeControllerGetProductivityProfileRefIdQueryQueryParams, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
99
|
+
export { orgTreeControllerGetProductivityProfileRefId, useOrgTreeControllerGetProductivityProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
100
|
+
export type { OrgTreeControllerUpdateEfficiencyProfileRefIdErrorResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdMutationPathParams, OrgTreeControllerUpdateEfficiencyProfileRefIdMutationQueryParams, OrgTreeControllerUpdateEfficiencyProfileRefIdOkResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdProps, OrgTreeControllerUpdateEfficiencyProfileRefIdRequestBody, } from './hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation';
|
101
|
+
export { orgTreeControllerUpdateEfficiencyProfileRefId, useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation';
|
102
|
+
export type { OrgTreeControllerUpdateOrgTreeIntegrationsErrorResponse, OrgTreeControllerUpdateOrgTreeIntegrationsMutationPathParams, OrgTreeControllerUpdateOrgTreeIntegrationsMutationQueryParams, OrgTreeControllerUpdateOrgTreeIntegrationsOkResponse, OrgTreeControllerUpdateOrgTreeIntegrationsProps, OrgTreeControllerUpdateOrgTreeIntegrationsRequestBody, } from './hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation';
|
103
|
+
export { orgTreeControllerUpdateOrgTreeIntegrations, useOrgTreeControllerUpdateOrgTreeIntegrationsMutation, } from './hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation';
|
86
104
|
export type { OrgTreeControllerUpdateOrgTreeErrorResponse, OrgTreeControllerUpdateOrgTreeMutationPathParams, OrgTreeControllerUpdateOrgTreeMutationQueryParams, OrgTreeControllerUpdateOrgTreeOkResponse, OrgTreeControllerUpdateOrgTreeProps, OrgTreeControllerUpdateOrgTreeRequestBody, } from './hooks/useOrgTreeControllerUpdateOrgTreeMutation';
|
87
105
|
export { orgTreeControllerUpdateOrgTree, useOrgTreeControllerUpdateOrgTreeMutation, } from './hooks/useOrgTreeControllerUpdateOrgTreeMutation';
|
106
|
+
export type { OrgTreeControllerUpdateProductivityProfileRefIdErrorResponse, OrgTreeControllerUpdateProductivityProfileRefIdMutationPathParams, OrgTreeControllerUpdateProductivityProfileRefIdMutationQueryParams, OrgTreeControllerUpdateProductivityProfileRefIdOkResponse, OrgTreeControllerUpdateProductivityProfileRefIdProps, OrgTreeControllerUpdateProductivityProfileRefIdRequestBody, } from './hooks/useOrgTreeControllerUpdateProductivityProfileRefIdMutation';
|
107
|
+
export { orgTreeControllerUpdateProductivityProfileRefId, useOrgTreeControllerUpdateProductivityProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateProductivityProfileRefIdMutation';
|
88
108
|
export type { ProductivityControllerGetFeatureBreakdownErrorResponse, ProductivityControllerGetFeatureBreakdownOkResponse, ProductivityControllerGetFeatureBreakdownProps, ProductivityControllerGetFeatureBreakdownQueryQueryParams, ProductivityControllerGetFeatureBreakdownRequestBody, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
89
109
|
export { productivityControllerGetFeatureBreakdown, useProductivityControllerGetFeatureBreakdownQuery, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
90
110
|
export type { ProductivityControllerGetFeatureDrillDownErrorResponse, ProductivityControllerGetFeatureDrillDownOkResponse, ProductivityControllerGetFeatureDrillDownProps, ProductivityControllerGetFeatureDrillDownQueryQueryParams, ProductivityControllerGetFeatureDrillDownRequestBody, } from './hooks/useProductivityControllerGetFeatureDrillDownQuery';
|
@@ -140,6 +160,8 @@ export type { DataPointChangeFailureRate } from './schemas/DataPointChangeFailur
|
|
140
160
|
export type { DataPointDeploymentFrequency } from './schemas/DataPointDeploymentFrequency';
|
141
161
|
export type { DbListResponseCategory } from './schemas/DbListResponseCategory';
|
142
162
|
export type { DbListResponseCollectionTree } from './schemas/DbListResponseCollectionTree';
|
163
|
+
export type { Developer } from './schemas/Developer';
|
164
|
+
export type { DeveloperInfo } from './schemas/DeveloperInfo';
|
143
165
|
export type { DfConfigurationDto } from './schemas/DfConfigurationDto';
|
144
166
|
export type { DoraChangeFailureRateMetric } from './schemas/DoraChangeFailureRateMetric';
|
145
167
|
export type { DoraChangeFailureRateMetricBreakdown } from './schemas/DoraChangeFailureRateMetricBreakdown';
|
@@ -162,10 +184,13 @@ export type { DrilldownDataPoint } from './schemas/DrilldownDataPoint';
|
|
162
184
|
export type { EfficiencyProfileCreateRequestDto } from './schemas/EfficiencyProfileCreateRequestDto';
|
163
185
|
export type { EfficiencyProfileEvent } from './schemas/EfficiencyProfileEvent';
|
164
186
|
export type { EfficiencyProfileResponseDto } from './schemas/EfficiencyProfileResponseDto';
|
187
|
+
export type { EfficiencyRequest } from './schemas/EfficiencyRequest';
|
165
188
|
export type { EfficiencyRequestDto } from './schemas/EfficiencyRequestDto';
|
166
189
|
export type { ErrorResponse } from './schemas/ErrorResponse';
|
167
190
|
export type { ExportRequestDto } from './schemas/ExportRequestDto';
|
168
191
|
export type { FeatureDto } from './schemas/FeatureDto';
|
192
|
+
export type { FilterValuesRequestDto } from './schemas/FilterValuesRequestDto';
|
193
|
+
export type { GroupByField } from './schemas/GroupByField';
|
169
194
|
export type { GroupedTeamFiltersResponseDto } from './schemas/GroupedTeamFiltersResponseDto';
|
170
195
|
export type { IndividualDrilldownData } from './schemas/IndividualDrilldownData';
|
171
196
|
export type { IndividualDrilldownDataPoint } from './schemas/IndividualDrilldownDataPoint';
|
@@ -174,17 +199,24 @@ export type { InsightProductivitySettingsDto } from './schemas/InsightProductivi
|
|
174
199
|
export type { InsightSettingsCreateRequestDto } from './schemas/InsightSettingsCreateRequestDto';
|
175
200
|
export type { InsightSettingsResponseDto } from './schemas/InsightSettingsResponseDto';
|
176
201
|
export type { Integration } from './schemas/Integration';
|
202
|
+
export type { IntegrationIdsDto } from './schemas/IntegrationIdsDto';
|
177
203
|
export type { IntegrationObject } from './schemas/IntegrationObject';
|
204
|
+
export type { IntegrationResponseDto } from './schemas/IntegrationResponseDto';
|
178
205
|
export type { IntegrationSummary } from './schemas/IntegrationSummary';
|
179
|
-
export type {
|
206
|
+
export type { IntegrationUserInfo } from './schemas/IntegrationUserInfo';
|
180
207
|
export type { ListResponseDtoEfficiencyProfileResponseDto } from './schemas/ListResponseDtoEfficiencyProfileResponseDto';
|
208
|
+
export type { ListResponseDtoIntegrationResponseDto } from './schemas/ListResponseDtoIntegrationResponseDto';
|
209
|
+
export type { ListResponseDtoOrgTreeResponseDto } from './schemas/ListResponseDtoOrgTreeResponseDto';
|
181
210
|
export type { ListResponseDtoProductivityProfileResponseDto } from './schemas/ListResponseDtoProductivityProfileResponseDto';
|
182
211
|
export type { LtcConfigurationDto } from './schemas/LtcConfigurationDto';
|
183
212
|
export type { LtcStageDto } from './schemas/LtcStageDto';
|
184
213
|
export type { Metric } from './schemas/Metric';
|
214
|
+
export type { MinimalTeamHierarchyResponseDto } from './schemas/MinimalTeamHierarchyResponseDto';
|
185
215
|
export type { MttrConfigurationDto } from './schemas/MttrConfigurationDto';
|
186
216
|
export type { OrgTreeCreateRequestDto } from './schemas/OrgTreeCreateRequestDto';
|
217
|
+
export type { OrgTreeProfileDto } from './schemas/OrgTreeProfileDto';
|
187
218
|
export type { OrgTreeResponseDto } from './schemas/OrgTreeResponseDto';
|
219
|
+
export type { OrgTreeUpdateRequestDto } from './schemas/OrgTreeUpdateRequestDto';
|
188
220
|
export type { PaginatedResponseTeamSummary } from './schemas/PaginatedResponseTeamSummary';
|
189
221
|
export type { PaginationInfo } from './schemas/PaginationInfo';
|
190
222
|
export type { PaginationMetadata } from './schemas/PaginationMetadata';
|
@@ -204,6 +236,7 @@ export type { ProductivityFeatureResponseDto } from './schemas/ProductivityFeatu
|
|
204
236
|
export type { ProductivityProfileCreateRequestDto } from './schemas/ProductivityProfileCreateRequestDto';
|
205
237
|
export type { ProductivityProfileResponseDto } from './schemas/ProductivityProfileResponseDto';
|
206
238
|
export type { ProductivityRequestDto } from './schemas/ProductivityRequestDto';
|
239
|
+
export type { RefIdDto } from './schemas/RefIdDto';
|
207
240
|
export type { SectionDto } from './schemas/SectionDto';
|
208
241
|
export type { Stage } from './schemas/Stage';
|
209
242
|
export type { SummaryCard } from './schemas/SummaryCard';
|
@@ -24,7 +24,9 @@ export { doraControllerLeadTimeStages, useDoraControllerLeadTimeStagesQuery, } f
|
|
24
24
|
export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreQuery, } from './hooks/useDoraControllerMeanTimeRestoreQuery';
|
25
25
|
export { doraControllerMttrBreakdown, useDoraControllerMttrBreakdownQuery, } from './hooks/useDoraControllerMttrBreakdownQuery';
|
26
26
|
export { doraControllerSummary, useDoraControllerSummaryQuery, } from './hooks/useDoraControllerSummaryQuery';
|
27
|
-
export {
|
27
|
+
export { efficiencyControllerChangeFailureRate, useEfficiencyControllerChangeFailureRateQuery, } from './hooks/useEfficiencyControllerChangeFailureRateQuery';
|
28
|
+
export { efficiencyControllerDeploymentFrequency, useEfficiencyControllerDeploymentFrequencyQuery, } from './hooks/useEfficiencyControllerDeploymentFrequencyQuery';
|
29
|
+
export { efficiencyControllerLeadTime, useEfficiencyControllerLeadTimeQuery, } from './hooks/useEfficiencyControllerLeadTimeQuery';
|
28
30
|
export { efficiencyProfileControllerCreateProfile, useEfficiencyProfileControllerCreateProfileMutation, } from './hooks/useEfficiencyProfileControllerCreateProfileMutation';
|
29
31
|
export { efficiencyProfileControllerDeleteProfileByRefId, useEfficiencyProfileControllerDeleteProfileByRefIdMutation, } from './hooks/useEfficiencyProfileControllerDeleteProfileByRefIdMutation';
|
30
32
|
export { efficiencyProfileControllerGetProfile, useEfficiencyProfileControllerGetProfileQuery, } from './hooks/useEfficiencyProfileControllerGetProfileQuery';
|
@@ -34,13 +36,21 @@ export { exportControllerExportData, useExportControllerExportDataMutation, } fr
|
|
34
36
|
export { insightSettingsControllerCreateSettings, useInsightSettingsControllerCreateSettingsMutation, } from './hooks/useInsightSettingsControllerCreateSettingsMutation';
|
35
37
|
export { insightSettingsControllerGetSettings, useInsightSettingsControllerGetSettingsQuery, } from './hooks/useInsightSettingsControllerGetSettingsQuery';
|
36
38
|
export { insightSettingsControllerUpdateSettings, useInsightSettingsControllerUpdateSettingsMutation, } from './hooks/useInsightSettingsControllerUpdateSettingsMutation';
|
39
|
+
export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesMutation, } from './hooks/useIntegrationControllerGetFilterValuesMutation';
|
37
40
|
export { integrationControllerListIntegrations, useIntegrationControllerListIntegrationsQuery, } from './hooks/useIntegrationControllerListIntegrationsQuery';
|
38
41
|
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
39
42
|
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
40
43
|
export { orgTreeControllerCreateOrgTree, useOrgTreeControllerCreateOrgTreeMutation, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
|
44
|
+
export { orgTreeControllerGetEfficiencyProfileRefId, useOrgTreeControllerGetEfficiencyProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetEfficiencyProfileRefIdQuery';
|
45
|
+
export { orgTreeControllerGetOrgTreeIntegrations, useOrgTreeControllerGetOrgTreeIntegrationsQuery, } from './hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery';
|
41
46
|
export { orgTreeControllerGetOrgTree, useOrgTreeControllerGetOrgTreeQuery, } from './hooks/useOrgTreeControllerGetOrgTreeQuery';
|
47
|
+
export { orgTreeControllerGetOrgTreeTeamHierarchy, useOrgTreeControllerGetOrgTreeTeamHierarchyQuery, } from './hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery';
|
42
48
|
export { orgTreeControllerGetOrgTrees, useOrgTreeControllerGetOrgTreesQuery, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
49
|
+
export { orgTreeControllerGetProductivityProfileRefId, useOrgTreeControllerGetProductivityProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
50
|
+
export { orgTreeControllerUpdateEfficiencyProfileRefId, useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation';
|
51
|
+
export { orgTreeControllerUpdateOrgTreeIntegrations, useOrgTreeControllerUpdateOrgTreeIntegrationsMutation, } from './hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation';
|
43
52
|
export { orgTreeControllerUpdateOrgTree, useOrgTreeControllerUpdateOrgTreeMutation, } from './hooks/useOrgTreeControllerUpdateOrgTreeMutation';
|
53
|
+
export { orgTreeControllerUpdateProductivityProfileRefId, useOrgTreeControllerUpdateProductivityProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateProductivityProfileRefIdMutation';
|
44
54
|
export { productivityControllerGetFeatureBreakdown, useProductivityControllerGetFeatureBreakdownQuery, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
45
55
|
export { productivityControllerGetFeatureDrillDown, useProductivityControllerGetFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetFeatureDrillDownQuery';
|
46
56
|
export { productivityControllerGetFeatureMetrics, useProductivityControllerGetFeatureMetricsQuery, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
|
@@ -0,0 +1,32 @@
|
|
1
|
+
export interface Developer {
|
2
|
+
active?: boolean;
|
3
|
+
/**
|
4
|
+
* @format date-time
|
5
|
+
*/
|
6
|
+
createdAt?: string;
|
7
|
+
createdByEmail?: string;
|
8
|
+
email?: string;
|
9
|
+
/**
|
10
|
+
* @format int32
|
11
|
+
*/
|
12
|
+
id?: number;
|
13
|
+
latest?: boolean;
|
14
|
+
/**
|
15
|
+
* @format int32
|
16
|
+
*/
|
17
|
+
managerRefId?: number;
|
18
|
+
name?: string;
|
19
|
+
/**
|
20
|
+
* @format int32
|
21
|
+
*/
|
22
|
+
refId?: number;
|
23
|
+
/**
|
24
|
+
* @format date-time
|
25
|
+
*/
|
26
|
+
updatedAt?: string;
|
27
|
+
updatedByEmail?: string;
|
28
|
+
/**
|
29
|
+
* @format int32
|
30
|
+
*/
|
31
|
+
versionId?: number;
|
32
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { Developer } from '../schemas/Developer';
|
2
|
+
import type { IntegrationUserInfo } from '../schemas/IntegrationUserInfo';
|
3
|
+
export interface DeveloperInfo {
|
4
|
+
attributes?: {
|
5
|
+
[key: string]: string;
|
6
|
+
};
|
7
|
+
basicInfo?: Developer;
|
8
|
+
integrationUsers?: IntegrationUserInfo[];
|
9
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export interface FilterValuesRequestDto {
|
2
|
+
/**
|
3
|
+
* Filter key to get values for
|
4
|
+
*/
|
5
|
+
filterKey: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_TYPE' | 'LABEL' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SCM_LABEL' | 'SCM_PROJECT' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
|
6
|
+
/**
|
7
|
+
* Integration ID
|
8
|
+
*/
|
9
|
+
integrationId?: string;
|
10
|
+
/**
|
11
|
+
* Team Integration ID
|
12
|
+
*/
|
13
|
+
teamIntegrationId?: string;
|
14
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/**
|
2
|
+
* Integration response data
|
3
|
+
*/
|
4
|
+
export interface IntegrationResponseDto {
|
5
|
+
/**
|
6
|
+
* Application type
|
7
|
+
*/
|
8
|
+
applicationType?: 'ADO_PIPELINES' | 'ADO_REPOS' | 'AZURE_BOARDS' | 'BITBUCKET' | 'BITBUCKET_SERVER' | 'GITHUB' | 'GITLAB' | 'HARNESSCODE' | 'HARNESSNG' | 'HARNESS_CD' | 'HARNESS_CI' | 'JENKINS' | 'JIRA';
|
9
|
+
/**
|
10
|
+
* Integration ID
|
11
|
+
* @format int32
|
12
|
+
*/
|
13
|
+
id?: number;
|
14
|
+
/**
|
15
|
+
* Integration type
|
16
|
+
*/
|
17
|
+
integrationType?: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
|
18
|
+
/**
|
19
|
+
* Integration name
|
20
|
+
*/
|
21
|
+
name?: string;
|
22
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export interface IntegrationUserInfo {
|
2
|
+
cloudEmail?: string;
|
3
|
+
cloudId?: string;
|
4
|
+
cloudName?: string;
|
5
|
+
/**
|
6
|
+
* @format date-time
|
7
|
+
*/
|
8
|
+
createdAt?: string;
|
9
|
+
/**
|
10
|
+
* @format int32
|
11
|
+
*/
|
12
|
+
integrationId?: number;
|
13
|
+
/**
|
14
|
+
* @format date-time
|
15
|
+
*/
|
16
|
+
updatedAt?: string;
|
17
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoIntegrationResponseDto.d.ts
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
import type { IntegrationResponseDto } from '../schemas/IntegrationResponseDto';
|
2
|
+
export interface ListResponseDtoIntegrationResponseDto {
|
3
|
+
/**
|
4
|
+
* @format int32
|
5
|
+
*/
|
6
|
+
pageIndex?: number;
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
pageSize?: number;
|
11
|
+
records?: IntegrationResponseDto[];
|
12
|
+
/**
|
13
|
+
* @format int32
|
14
|
+
*/
|
15
|
+
totalCount?: number;
|
16
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoIntegrationResponseDto.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
import type { OrgTreeResponseDto } from '../schemas/OrgTreeResponseDto';
|
2
|
+
export interface ListResponseDtoOrgTreeResponseDto {
|
2
3
|
/**
|
3
4
|
* @format int32
|
4
5
|
*/
|
@@ -7,9 +8,7 @@ export interface ListResponseDto {
|
|
7
8
|
* @format int32
|
8
9
|
*/
|
9
10
|
pageSize?: number;
|
10
|
-
records?:
|
11
|
-
[key: string]: any;
|
12
|
-
}>;
|
11
|
+
records?: OrgTreeResponseDto[];
|
13
12
|
/**
|
14
13
|
* @format int32
|
15
14
|
*/
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/**
|
2
|
+
* Team hierarchy response with minimal information
|
3
|
+
*/
|
4
|
+
export interface MinimalTeamHierarchyResponseDto {
|
5
|
+
/**
|
6
|
+
* List of child teams in the hierarchy
|
7
|
+
*/
|
8
|
+
children?: MinimalTeamHierarchyResponseDto;
|
9
|
+
/**
|
10
|
+
* Whether this team is a leaf node (has no children)
|
11
|
+
*/
|
12
|
+
leaf?: boolean;
|
13
|
+
/**
|
14
|
+
* Name of the team
|
15
|
+
* @example "Engineering"
|
16
|
+
*/
|
17
|
+
name?: string;
|
18
|
+
/**
|
19
|
+
* Reference ID of the parent team
|
20
|
+
* @format int32
|
21
|
+
* @example 5
|
22
|
+
*/
|
23
|
+
parentRefId?: number;
|
24
|
+
/**
|
25
|
+
* Reference ID of the team
|
26
|
+
* @format int32
|
27
|
+
* @example 1073741824
|
28
|
+
*/
|
29
|
+
refId?: number;
|
30
|
+
}
|
@@ -1,8 +1,17 @@
|
|
1
|
+
import type { GroupByField } from '../schemas/GroupByField';
|
1
2
|
export interface OrgTreeCreateRequestDto {
|
2
3
|
/**
|
3
4
|
* @format int32
|
4
5
|
*/
|
5
6
|
efficiencyProfileRefId?: number;
|
7
|
+
/**
|
8
|
+
* List of fields to group by when creating the organization tree
|
9
|
+
*/
|
10
|
+
groupByFields?: GroupByField[];
|
11
|
+
/**
|
12
|
+
* List of integration IDs to associate with this org tree
|
13
|
+
*/
|
14
|
+
integrationIds?: number[];
|
6
15
|
name: string;
|
7
16
|
/**
|
8
17
|
* @format int32
|
@@ -1,26 +1,35 @@
|
|
1
|
+
import type { OrgTreeProfileDto } from '../schemas/OrgTreeProfileDto';
|
2
|
+
import type { GroupByField } from '../schemas/GroupByField';
|
3
|
+
import type { IntegrationResponseDto } from '../schemas/IntegrationResponseDto';
|
1
4
|
export interface OrgTreeResponseDto {
|
2
5
|
/**
|
3
6
|
* @format int64
|
4
7
|
*/
|
5
8
|
createdAtEpochSec?: number;
|
6
9
|
createdByEmail?: string;
|
10
|
+
efficiencyProfile?: OrgTreeProfileDto;
|
7
11
|
/**
|
8
|
-
*
|
12
|
+
* List of fields to group by when creating the organization tree
|
9
13
|
*/
|
10
|
-
|
14
|
+
groupByFields?: GroupByField[];
|
11
15
|
/**
|
12
16
|
* @format int32
|
13
17
|
*/
|
14
18
|
id: number;
|
19
|
+
/**
|
20
|
+
* List of integrations associated with this org tree
|
21
|
+
*/
|
22
|
+
integrations?: IntegrationResponseDto[];
|
15
23
|
name: string;
|
24
|
+
productivityProfile?: OrgTreeProfileDto;
|
16
25
|
/**
|
17
26
|
* @format int32
|
18
27
|
*/
|
19
|
-
|
28
|
+
rootTeamRefId?: number;
|
20
29
|
/**
|
21
30
|
* @format int32
|
22
31
|
*/
|
23
|
-
|
32
|
+
teamCount?: number;
|
24
33
|
/**
|
25
34
|
* @format int64
|
26
35
|
*/
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import type { OrgTreeProfileDto } from '../schemas/OrgTreeProfileDto';
|
2
|
+
export interface OrgTreeUpdateRequestDto {
|
3
|
+
efficiencyProfile?: OrgTreeProfileDto;
|
4
|
+
/**
|
5
|
+
* @format int32
|
6
|
+
*/
|
7
|
+
efficiencyProfileRefId?: number;
|
8
|
+
/**
|
9
|
+
* List of integration IDs to associate with this org tree
|
10
|
+
*/
|
11
|
+
integrationIds?: number[];
|
12
|
+
name: string;
|
13
|
+
productivityProfile?: OrgTreeProfileDto;
|
14
|
+
/**
|
15
|
+
* @format int32
|
16
|
+
*/
|
17
|
+
productivityProfileRefId?: number;
|
18
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,6 +1,10 @@
|
|
1
|
+
import type { DeveloperInfo } from '../schemas/DeveloperInfo';
|
1
2
|
import type { PaginationMetadata } from '../schemas/PaginationMetadata';
|
2
3
|
export interface TeamDevelopersDto {
|
3
|
-
|
4
|
+
developerInfoMap?: {
|
5
|
+
[key: string]: DeveloperInfo;
|
6
|
+
};
|
7
|
+
developerRefIds?: number[];
|
4
8
|
pagination?: PaginationMetadata;
|
5
9
|
/**
|
6
10
|
* @format int32
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
3
|
-
"version": "0.18.
|
3
|
+
"version": "0.18.3",
|
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/useEfficiencyControllerLeadTimeMutation.d.ts
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
-
import type { DoraLttcMttrMetric } from '../schemas/DoraLttcMttrMetric';
|
3
|
-
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
|
-
import type { ResponseWithPagination } from '../helpers';
|
5
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface EfficiencyControllerLeadTimeMutationQueryParams {
|
7
|
-
account: string;
|
8
|
-
projectIdentifier: string;
|
9
|
-
orgIdentifier: string;
|
10
|
-
}
|
11
|
-
export type EfficiencyControllerLeadTimeRequestBody = DoraRequest;
|
12
|
-
export type EfficiencyControllerLeadTimeOkResponse = ResponseWithPagination<DoraLttcMttrMetric>;
|
13
|
-
export type EfficiencyControllerLeadTimeErrorResponse = string;
|
14
|
-
export interface EfficiencyControllerLeadTimeProps extends Omit<FetcherOptions<EfficiencyControllerLeadTimeMutationQueryParams, EfficiencyControllerLeadTimeRequestBody>, 'url'> {
|
15
|
-
queryParams: EfficiencyControllerLeadTimeMutationQueryParams;
|
16
|
-
body: EfficiencyControllerLeadTimeRequestBody;
|
17
|
-
}
|
18
|
-
export declare function efficiencyControllerLeadTime(props: EfficiencyControllerLeadTimeProps): Promise<EfficiencyControllerLeadTimeOkResponse>;
|
19
|
-
/**
|
20
|
-
* Get lead time for a project
|
21
|
-
*/
|
22
|
-
export declare function useEfficiencyControllerLeadTimeMutation(options?: Omit<UseMutationOptions<EfficiencyControllerLeadTimeOkResponse, EfficiencyControllerLeadTimeErrorResponse, EfficiencyControllerLeadTimeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EfficiencyControllerLeadTimeOkResponse, string, EfficiencyControllerLeadTimeProps, unknown>;
|
File without changes
|