@harnessio/react-sei-panorama-service-client 0.18.1 → 0.18.2
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/{useEfficiencyControllerLeadTimeMutation.d.ts → useEfficiencyControllerLeadTimeQuery.d.ts} +5 -5
- package/dist/sei-panorama-service/src/services/hooks/{useEfficiencyControllerLeadTimeMutation.js → useEfficiencyControllerLeadTimeQuery.js} +3 -3
- 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 +29 -3
- package/dist/sei-panorama-service/src/services/index.js +10 -1
- package/dist/sei-panorama-service/src/services/schemas/GroupByField.d.ts +11 -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/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 +12 -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 +19 -1
- 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/package.json +1 -1
- /package/dist/sei-panorama-service/src/services/schemas/{ListResponseDto.js → GroupByField.js} +0 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { DoraChangeFailureRateMetric } from '../schemas/DoraChangeFailureRateMetric';
|
3
|
+
import type { DoraRequest } from '../schemas/DoraRequest';
|
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 = DoraRequest;
|
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 { DoraRequest } from '../schemas/DoraRequest';
|
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 = DoraRequest;
|
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
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
2
|
import type { DoraLttcMttrMetric } from '../schemas/DoraLttcMttrMetric';
|
3
3
|
import type { DoraRequest } from '../schemas/DoraRequest';
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
-
export interface
|
6
|
+
export interface EfficiencyControllerLeadTimeQueryQueryParams {
|
7
7
|
account: string;
|
8
8
|
projectIdentifier: string;
|
9
9
|
orgIdentifier: string;
|
@@ -11,12 +11,12 @@ export interface EfficiencyControllerLeadTimeMutationQueryParams {
|
|
11
11
|
export type EfficiencyControllerLeadTimeRequestBody = DoraRequest;
|
12
12
|
export type EfficiencyControllerLeadTimeOkResponse = ResponseWithPagination<DoraLttcMttrMetric>;
|
13
13
|
export type EfficiencyControllerLeadTimeErrorResponse = string;
|
14
|
-
export interface EfficiencyControllerLeadTimeProps extends Omit<FetcherOptions<
|
15
|
-
queryParams:
|
14
|
+
export interface EfficiencyControllerLeadTimeProps extends Omit<FetcherOptions<EfficiencyControllerLeadTimeQueryQueryParams, EfficiencyControllerLeadTimeRequestBody>, 'url'> {
|
15
|
+
queryParams: EfficiencyControllerLeadTimeQueryQueryParams;
|
16
16
|
body: EfficiencyControllerLeadTimeRequestBody;
|
17
17
|
}
|
18
18
|
export declare function efficiencyControllerLeadTime(props: EfficiencyControllerLeadTimeProps): Promise<EfficiencyControllerLeadTimeOkResponse>;
|
19
19
|
/**
|
20
20
|
* Get lead time for a project
|
21
21
|
*/
|
22
|
-
export declare function
|
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
|
}
|
@@ -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';
|
@@ -79,12 +83,26 @@ export type { LegacyHealthControllerCheckErrorResponse, LegacyHealthControllerCh
|
|
79
83
|
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
80
84
|
export type { OrgTreeControllerCreateOrgTreeErrorResponse, OrgTreeControllerCreateOrgTreeMutationQueryParams, OrgTreeControllerCreateOrgTreeOkResponse, OrgTreeControllerCreateOrgTreeProps, OrgTreeControllerCreateOrgTreeRequestBody, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
|
81
85
|
export { orgTreeControllerCreateOrgTree, useOrgTreeControllerCreateOrgTreeMutation, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
|
86
|
+
export type { OrgTreeControllerGetEfficiencyProfileRefIdErrorResponse, OrgTreeControllerGetEfficiencyProfileRefIdOkResponse, OrgTreeControllerGetEfficiencyProfileRefIdProps, OrgTreeControllerGetEfficiencyProfileRefIdQueryPathParams, OrgTreeControllerGetEfficiencyProfileRefIdQueryQueryParams, } from './hooks/useOrgTreeControllerGetEfficiencyProfileRefIdQuery';
|
87
|
+
export { orgTreeControllerGetEfficiencyProfileRefId, useOrgTreeControllerGetEfficiencyProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetEfficiencyProfileRefIdQuery';
|
88
|
+
export type { OrgTreeControllerGetOrgTreeIntegrationsErrorResponse, OrgTreeControllerGetOrgTreeIntegrationsOkResponse, OrgTreeControllerGetOrgTreeIntegrationsProps, OrgTreeControllerGetOrgTreeIntegrationsQueryPathParams, OrgTreeControllerGetOrgTreeIntegrationsQueryQueryParams, } from './hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery';
|
89
|
+
export { orgTreeControllerGetOrgTreeIntegrations, useOrgTreeControllerGetOrgTreeIntegrationsQuery, } from './hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery';
|
82
90
|
export type { OrgTreeControllerGetOrgTreeErrorResponse, OrgTreeControllerGetOrgTreeOkResponse, OrgTreeControllerGetOrgTreeProps, OrgTreeControllerGetOrgTreeQueryPathParams, OrgTreeControllerGetOrgTreeQueryQueryParams, } from './hooks/useOrgTreeControllerGetOrgTreeQuery';
|
83
91
|
export { orgTreeControllerGetOrgTree, useOrgTreeControllerGetOrgTreeQuery, } from './hooks/useOrgTreeControllerGetOrgTreeQuery';
|
92
|
+
export type { OrgTreeControllerGetOrgTreeTeamHierarchyErrorResponse, OrgTreeControllerGetOrgTreeTeamHierarchyOkResponse, OrgTreeControllerGetOrgTreeTeamHierarchyProps, OrgTreeControllerGetOrgTreeTeamHierarchyQueryPathParams, OrgTreeControllerGetOrgTreeTeamHierarchyQueryQueryParams, } from './hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery';
|
93
|
+
export { orgTreeControllerGetOrgTreeTeamHierarchy, useOrgTreeControllerGetOrgTreeTeamHierarchyQuery, } from './hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery';
|
84
94
|
export type { OrgTreeControllerGetOrgTreesErrorResponse, OrgTreeControllerGetOrgTreesOkResponse, OrgTreeControllerGetOrgTreesProps, OrgTreeControllerGetOrgTreesQueryQueryParams, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
85
95
|
export { orgTreeControllerGetOrgTrees, useOrgTreeControllerGetOrgTreesQuery, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
96
|
+
export type { OrgTreeControllerGetProductivityProfileRefIdErrorResponse, OrgTreeControllerGetProductivityProfileRefIdOkResponse, OrgTreeControllerGetProductivityProfileRefIdProps, OrgTreeControllerGetProductivityProfileRefIdQueryPathParams, OrgTreeControllerGetProductivityProfileRefIdQueryQueryParams, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
97
|
+
export { orgTreeControllerGetProductivityProfileRefId, useOrgTreeControllerGetProductivityProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
98
|
+
export type { OrgTreeControllerUpdateEfficiencyProfileRefIdErrorResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdMutationPathParams, OrgTreeControllerUpdateEfficiencyProfileRefIdMutationQueryParams, OrgTreeControllerUpdateEfficiencyProfileRefIdOkResponse, OrgTreeControllerUpdateEfficiencyProfileRefIdProps, OrgTreeControllerUpdateEfficiencyProfileRefIdRequestBody, } from './hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation';
|
99
|
+
export { orgTreeControllerUpdateEfficiencyProfileRefId, useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation';
|
100
|
+
export type { OrgTreeControllerUpdateOrgTreeIntegrationsErrorResponse, OrgTreeControllerUpdateOrgTreeIntegrationsMutationPathParams, OrgTreeControllerUpdateOrgTreeIntegrationsMutationQueryParams, OrgTreeControllerUpdateOrgTreeIntegrationsOkResponse, OrgTreeControllerUpdateOrgTreeIntegrationsProps, OrgTreeControllerUpdateOrgTreeIntegrationsRequestBody, } from './hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation';
|
101
|
+
export { orgTreeControllerUpdateOrgTreeIntegrations, useOrgTreeControllerUpdateOrgTreeIntegrationsMutation, } from './hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation';
|
86
102
|
export type { OrgTreeControllerUpdateOrgTreeErrorResponse, OrgTreeControllerUpdateOrgTreeMutationPathParams, OrgTreeControllerUpdateOrgTreeMutationQueryParams, OrgTreeControllerUpdateOrgTreeOkResponse, OrgTreeControllerUpdateOrgTreeProps, OrgTreeControllerUpdateOrgTreeRequestBody, } from './hooks/useOrgTreeControllerUpdateOrgTreeMutation';
|
87
103
|
export { orgTreeControllerUpdateOrgTree, useOrgTreeControllerUpdateOrgTreeMutation, } from './hooks/useOrgTreeControllerUpdateOrgTreeMutation';
|
104
|
+
export type { OrgTreeControllerUpdateProductivityProfileRefIdErrorResponse, OrgTreeControllerUpdateProductivityProfileRefIdMutationPathParams, OrgTreeControllerUpdateProductivityProfileRefIdMutationQueryParams, OrgTreeControllerUpdateProductivityProfileRefIdOkResponse, OrgTreeControllerUpdateProductivityProfileRefIdProps, OrgTreeControllerUpdateProductivityProfileRefIdRequestBody, } from './hooks/useOrgTreeControllerUpdateProductivityProfileRefIdMutation';
|
105
|
+
export { orgTreeControllerUpdateProductivityProfileRefId, useOrgTreeControllerUpdateProductivityProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateProductivityProfileRefIdMutation';
|
88
106
|
export type { ProductivityControllerGetFeatureBreakdownErrorResponse, ProductivityControllerGetFeatureBreakdownOkResponse, ProductivityControllerGetFeatureBreakdownProps, ProductivityControllerGetFeatureBreakdownQueryQueryParams, ProductivityControllerGetFeatureBreakdownRequestBody, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
89
107
|
export { productivityControllerGetFeatureBreakdown, useProductivityControllerGetFeatureBreakdownQuery, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
90
108
|
export type { ProductivityControllerGetFeatureDrillDownErrorResponse, ProductivityControllerGetFeatureDrillDownOkResponse, ProductivityControllerGetFeatureDrillDownProps, ProductivityControllerGetFeatureDrillDownQueryQueryParams, ProductivityControllerGetFeatureDrillDownRequestBody, } from './hooks/useProductivityControllerGetFeatureDrillDownQuery';
|
@@ -166,6 +184,7 @@ export type { EfficiencyRequestDto } from './schemas/EfficiencyRequestDto';
|
|
166
184
|
export type { ErrorResponse } from './schemas/ErrorResponse';
|
167
185
|
export type { ExportRequestDto } from './schemas/ExportRequestDto';
|
168
186
|
export type { FeatureDto } from './schemas/FeatureDto';
|
187
|
+
export type { GroupByField } from './schemas/GroupByField';
|
169
188
|
export type { GroupedTeamFiltersResponseDto } from './schemas/GroupedTeamFiltersResponseDto';
|
170
189
|
export type { IndividualDrilldownData } from './schemas/IndividualDrilldownData';
|
171
190
|
export type { IndividualDrilldownDataPoint } from './schemas/IndividualDrilldownDataPoint';
|
@@ -174,17 +193,23 @@ export type { InsightProductivitySettingsDto } from './schemas/InsightProductivi
|
|
174
193
|
export type { InsightSettingsCreateRequestDto } from './schemas/InsightSettingsCreateRequestDto';
|
175
194
|
export type { InsightSettingsResponseDto } from './schemas/InsightSettingsResponseDto';
|
176
195
|
export type { Integration } from './schemas/Integration';
|
196
|
+
export type { IntegrationIdsDto } from './schemas/IntegrationIdsDto';
|
177
197
|
export type { IntegrationObject } from './schemas/IntegrationObject';
|
198
|
+
export type { IntegrationResponseDto } from './schemas/IntegrationResponseDto';
|
178
199
|
export type { IntegrationSummary } from './schemas/IntegrationSummary';
|
179
|
-
export type { ListResponseDto } from './schemas/ListResponseDto';
|
180
200
|
export type { ListResponseDtoEfficiencyProfileResponseDto } from './schemas/ListResponseDtoEfficiencyProfileResponseDto';
|
201
|
+
export type { ListResponseDtoIntegrationResponseDto } from './schemas/ListResponseDtoIntegrationResponseDto';
|
202
|
+
export type { ListResponseDtoOrgTreeResponseDto } from './schemas/ListResponseDtoOrgTreeResponseDto';
|
181
203
|
export type { ListResponseDtoProductivityProfileResponseDto } from './schemas/ListResponseDtoProductivityProfileResponseDto';
|
182
204
|
export type { LtcConfigurationDto } from './schemas/LtcConfigurationDto';
|
183
205
|
export type { LtcStageDto } from './schemas/LtcStageDto';
|
184
206
|
export type { Metric } from './schemas/Metric';
|
207
|
+
export type { MinimalTeamHierarchyResponseDto } from './schemas/MinimalTeamHierarchyResponseDto';
|
185
208
|
export type { MttrConfigurationDto } from './schemas/MttrConfigurationDto';
|
186
209
|
export type { OrgTreeCreateRequestDto } from './schemas/OrgTreeCreateRequestDto';
|
210
|
+
export type { OrgTreeProfileDto } from './schemas/OrgTreeProfileDto';
|
187
211
|
export type { OrgTreeResponseDto } from './schemas/OrgTreeResponseDto';
|
212
|
+
export type { OrgTreeUpdateRequestDto } from './schemas/OrgTreeUpdateRequestDto';
|
188
213
|
export type { PaginatedResponseTeamSummary } from './schemas/PaginatedResponseTeamSummary';
|
189
214
|
export type { PaginationInfo } from './schemas/PaginationInfo';
|
190
215
|
export type { PaginationMetadata } from './schemas/PaginationMetadata';
|
@@ -204,6 +229,7 @@ export type { ProductivityFeatureResponseDto } from './schemas/ProductivityFeatu
|
|
204
229
|
export type { ProductivityProfileCreateRequestDto } from './schemas/ProductivityProfileCreateRequestDto';
|
205
230
|
export type { ProductivityProfileResponseDto } from './schemas/ProductivityProfileResponseDto';
|
206
231
|
export type { ProductivityRequestDto } from './schemas/ProductivityRequestDto';
|
232
|
+
export type { RefIdDto } from './schemas/RefIdDto';
|
207
233
|
export type { SectionDto } from './schemas/SectionDto';
|
208
234
|
export type { Stage } from './schemas/Stage';
|
209
235
|
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';
|
@@ -38,9 +40,16 @@ export { integrationControllerListIntegrations, useIntegrationControllerListInte
|
|
38
40
|
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
39
41
|
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
40
42
|
export { orgTreeControllerCreateOrgTree, useOrgTreeControllerCreateOrgTreeMutation, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
|
43
|
+
export { orgTreeControllerGetEfficiencyProfileRefId, useOrgTreeControllerGetEfficiencyProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetEfficiencyProfileRefIdQuery';
|
44
|
+
export { orgTreeControllerGetOrgTreeIntegrations, useOrgTreeControllerGetOrgTreeIntegrationsQuery, } from './hooks/useOrgTreeControllerGetOrgTreeIntegrationsQuery';
|
41
45
|
export { orgTreeControllerGetOrgTree, useOrgTreeControllerGetOrgTreeQuery, } from './hooks/useOrgTreeControllerGetOrgTreeQuery';
|
46
|
+
export { orgTreeControllerGetOrgTreeTeamHierarchy, useOrgTreeControllerGetOrgTreeTeamHierarchyQuery, } from './hooks/useOrgTreeControllerGetOrgTreeTeamHierarchyQuery';
|
42
47
|
export { orgTreeControllerGetOrgTrees, useOrgTreeControllerGetOrgTreesQuery, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
48
|
+
export { orgTreeControllerGetProductivityProfileRefId, useOrgTreeControllerGetProductivityProfileRefIdQuery, } from './hooks/useOrgTreeControllerGetProductivityProfileRefIdQuery';
|
49
|
+
export { orgTreeControllerUpdateEfficiencyProfileRefId, useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateEfficiencyProfileRefIdMutation';
|
50
|
+
export { orgTreeControllerUpdateOrgTreeIntegrations, useOrgTreeControllerUpdateOrgTreeIntegrationsMutation, } from './hooks/useOrgTreeControllerUpdateOrgTreeIntegrationsMutation';
|
43
51
|
export { orgTreeControllerUpdateOrgTree, useOrgTreeControllerUpdateOrgTreeMutation, } from './hooks/useOrgTreeControllerUpdateOrgTreeMutation';
|
52
|
+
export { orgTreeControllerUpdateProductivityProfileRefId, useOrgTreeControllerUpdateProductivityProfileRefIdMutation, } from './hooks/useOrgTreeControllerUpdateProductivityProfileRefIdMutation';
|
44
53
|
export { productivityControllerGetFeatureBreakdown, useProductivityControllerGetFeatureBreakdownQuery, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
45
54
|
export { productivityControllerGetFeatureDrillDown, useProductivityControllerGetFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetFeatureDrillDownQuery';
|
46
55
|
export { productivityControllerGetFeatureMetrics, useProductivityControllerGetFeatureMetricsQuery, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
|
@@ -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
|
+
}
|
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,9 +1,21 @@
|
|
1
|
+
import type { OrgTreeProfileDto } from '../schemas/OrgTreeProfileDto';
|
2
|
+
import type { GroupByField } from '../schemas/GroupByField';
|
1
3
|
export interface OrgTreeCreateRequestDto {
|
4
|
+
efficiencyProfile?: OrgTreeProfileDto;
|
2
5
|
/**
|
3
6
|
* @format int32
|
4
7
|
*/
|
5
8
|
efficiencyProfileRefId?: number;
|
9
|
+
/**
|
10
|
+
* List of fields to group by when creating the organization tree
|
11
|
+
*/
|
12
|
+
groupByFields?: GroupByField[];
|
13
|
+
/**
|
14
|
+
* List of integration IDs to associate with this org tree
|
15
|
+
*/
|
16
|
+
integrationIds?: number[];
|
6
17
|
name: string;
|
18
|
+
productivityProfile?: OrgTreeProfileDto;
|
7
19
|
/**
|
8
20
|
* @format int32
|
9
21
|
*/
|
@@ -1,18 +1,32 @@
|
|
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
|
* @format int32
|
9
13
|
*/
|
10
14
|
efficiencyProfileRefId?: number;
|
15
|
+
/**
|
16
|
+
* List of fields to group by when creating the organization tree
|
17
|
+
*/
|
18
|
+
groupByFields?: GroupByField[];
|
11
19
|
/**
|
12
20
|
* @format int32
|
13
21
|
*/
|
14
22
|
id: number;
|
23
|
+
integrationIds?: number[];
|
24
|
+
/**
|
25
|
+
* List of integrations associated with this org tree
|
26
|
+
*/
|
27
|
+
integrations?: IntegrationResponseDto[];
|
15
28
|
name: string;
|
29
|
+
productivityProfile?: OrgTreeProfileDto;
|
16
30
|
/**
|
17
31
|
* @format int32
|
18
32
|
*/
|
@@ -20,7 +34,11 @@ export interface OrgTreeResponseDto {
|
|
20
34
|
/**
|
21
35
|
* @format int32
|
22
36
|
*/
|
23
|
-
|
37
|
+
rootTeamRefId?: number;
|
38
|
+
/**
|
39
|
+
* @format int32
|
40
|
+
*/
|
41
|
+
teamCount?: number;
|
24
42
|
/**
|
25
43
|
* @format int64
|
26
44
|
*/
|
@@ -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 {};
|
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.2",
|
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/schemas/{ListResponseDto.js → GroupByField.js}
RENAMED
File without changes
|