@harnessio/react-sei-panorama-service-client 0.17.5 → 0.18.0
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/useEfficiencyProfileControllerDeleteProfileByRefIdMutation.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerDeleteProfileByRefIdMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerGetProfileQuery.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerGetProfileQuery.js +2 -2
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerUpdateProfileMutation.d.ts +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerUpdateProfileMutation.js +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeQuery.d.ts +24 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.d.ts +30 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.d.ts +27 -0
- package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerDeleteProfileMutation.d.ts +20 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerDeleteProfileMutation.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileByRefIdQuery.d.ts +21 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileByRefIdQuery.js +11 -0
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerUpdateProfileMutation.d.ts +4 -3
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerUpdateProfileMutation.js +1 -1
- package/dist/sei-panorama-service/src/services/index.d.ts +21 -6
- package/dist/sei-panorama-service/src/services/index.js +7 -1
- package/dist/sei-panorama-service/src/services/schemas/CfrConfigurationDto.d.ts +4 -2
- package/dist/sei-panorama-service/src/services/schemas/DfConfigurationDto.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileEvent.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileResponseDto.d.ts +4 -0
- package/dist/sei-panorama-service/src/services/schemas/FeatureDto.d.ts +7 -0
- package/dist/sei-panorama-service/src/services/schemas/ListResponseDto.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/schemas/ListResponseDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/LtcConfigurationDto.d.ts +7 -6
- package/dist/sei-panorama-service/src/services/schemas/LtcStageDto.d.ts +7 -0
- package/dist/sei-panorama-service/src/services/schemas/MttrConfigurationDto.d.ts +3 -2
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.d.ts +11 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.d.ts +29 -0
- package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileCreateRequestDto.d.ts +2 -7
- package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileResponseDto.d.ts +6 -7
- package/dist/sei-panorama-service/src/services/schemas/SectionDto.d.ts +6 -0
- package/package.json +1 -1
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileQuery.d.ts +0 -20
- package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileQuery.js +0 -11
- package/dist/sei-panorama-service/src/services/schemas/EventWrapperDto.d.ts +0 -4
- package/dist/sei-panorama-service/src/services/schemas/ProductivityFeature.d.ts +0 -5
- package/dist/sei-panorama-service/src/services/schemas/ProductivitySection.d.ts +0 -6
- package/dist/sei-panorama-service/src/services/schemas/StageDto.d.ts +0 -11
- /package/dist/sei-panorama-service/src/services/schemas/{EventWrapperDto.js → EfficiencyProfileEvent.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{ProductivityFeature.js → FeatureDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{ProductivitySection.js → LtcStageDto.js} +0 -0
- /package/dist/sei-panorama-service/src/services/schemas/{StageDto.js → SectionDto.js} +0 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface EfficiencyProfileControllerDeleteProfileByRefIdMutationPathParams {
|
6
|
+
/**
|
7
|
+
* @format int32
|
8
|
+
*/
|
9
|
+
refId: number;
|
10
|
+
}
|
11
|
+
export interface EfficiencyProfileControllerDeleteProfileByRefIdMutationQueryParams {
|
12
|
+
accountIdentifier: string;
|
13
|
+
}
|
14
|
+
export type EfficiencyProfileControllerDeleteProfileByRefIdOkResponse = ResponseWithPagination<unknown>;
|
15
|
+
export type EfficiencyProfileControllerDeleteProfileByRefIdErrorResponse = ErrorResponse;
|
16
|
+
export interface EfficiencyProfileControllerDeleteProfileByRefIdProps extends EfficiencyProfileControllerDeleteProfileByRefIdMutationPathParams, Omit<FetcherOptions<EfficiencyProfileControllerDeleteProfileByRefIdMutationQueryParams, unknown>, 'url'> {
|
17
|
+
queryParams: EfficiencyProfileControllerDeleteProfileByRefIdMutationQueryParams;
|
18
|
+
}
|
19
|
+
export declare function efficiencyProfileControllerDeleteProfileByRefId(props: EfficiencyProfileControllerDeleteProfileByRefIdProps): Promise<EfficiencyProfileControllerDeleteProfileByRefIdOkResponse>;
|
20
|
+
/**
|
21
|
+
* Marks the specified efficiency profile as inactive by creating a new version with active=false
|
22
|
+
*/
|
23
|
+
export declare function useEfficiencyProfileControllerDeleteProfileByRefIdMutation(options?: Omit<UseMutationOptions<EfficiencyProfileControllerDeleteProfileByRefIdOkResponse, EfficiencyProfileControllerDeleteProfileByRefIdErrorResponse, EfficiencyProfileControllerDeleteProfileByRefIdProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EfficiencyProfileControllerDeleteProfileByRefIdOkResponse, ErrorResponse, EfficiencyProfileControllerDeleteProfileByRefIdProps, 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 efficiencyProfileControllerDeleteProfileByRefId(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/efficiency/${props.refId}`, method: 'DELETE' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Marks the specified efficiency profile as inactive by creating a new version with active=false
|
11
|
+
*/
|
12
|
+
export function useEfficiencyProfileControllerDeleteProfileByRefIdMutation(options) {
|
13
|
+
return useMutation((mutateProps) => efficiencyProfileControllerDeleteProfileByRefId(mutateProps), options);
|
14
|
+
}
|
@@ -4,8 +4,8 @@
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function efficiencyProfileControllerGetProfile(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/profiles/efficiency/${props.
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/efficiency/${props.refId}`, method: 'GET' }, props));
|
8
8
|
}
|
9
9
|
export function useEfficiencyProfileControllerGetProfileQuery(props, options) {
|
10
|
-
return useQuery(['EfficiencyProfileControllerGetProfile', props.
|
10
|
+
return useQuery(['EfficiencyProfileControllerGetProfile', props.refId, props.queryParams], ({ signal }) => efficiencyProfileControllerGetProfile(Object.assign(Object.assign({}, props), { signal })), options);
|
11
11
|
}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function efficiencyProfileControllerUpdateProfile(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/profiles/efficiency/${props.
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/efficiency/${props.refId}`, method: 'PUT' }, props));
|
8
8
|
}
|
9
9
|
export function useEfficiencyProfileControllerUpdateProfileMutation(options) {
|
10
10
|
return useMutation((mutateProps) => efficiencyProfileControllerUpdateProfile(mutateProps), options);
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.d.ts
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { OrgTreeResponseDto } from '../schemas/OrgTreeResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { OrgTreeCreateRequestDto } from '../schemas/OrgTreeCreateRequestDto';
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
7
|
+
export interface OrgTreeControllerCreateOrgTreeMutationQueryParams {
|
8
|
+
accountIdentifier: string;
|
9
|
+
orgIdentifer: string;
|
10
|
+
projectIdentifier: string;
|
11
|
+
}
|
12
|
+
export type OrgTreeControllerCreateOrgTreeRequestBody = OrgTreeCreateRequestDto;
|
13
|
+
export type OrgTreeControllerCreateOrgTreeOkResponse = ResponseWithPagination<OrgTreeResponseDto>;
|
14
|
+
export type OrgTreeControllerCreateOrgTreeErrorResponse = ErrorResponse;
|
15
|
+
export interface OrgTreeControllerCreateOrgTreeProps extends Omit<FetcherOptions<OrgTreeControllerCreateOrgTreeMutationQueryParams, OrgTreeControllerCreateOrgTreeRequestBody>, 'url'> {
|
16
|
+
queryParams: OrgTreeControllerCreateOrgTreeMutationQueryParams;
|
17
|
+
body: OrgTreeControllerCreateOrgTreeRequestBody;
|
18
|
+
}
|
19
|
+
export declare function orgTreeControllerCreateOrgTree(props: OrgTreeControllerCreateOrgTreeProps): Promise<OrgTreeControllerCreateOrgTreeOkResponse>;
|
20
|
+
/**
|
21
|
+
* Create a new org tree
|
22
|
+
*/
|
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
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
3
|
+
// Please do not modify this code directly.
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
+
export function orgTreeControllerCreateOrgTree(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees`, method: 'POST' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Create a new org tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerCreateOrgTreeMutation(options) {
|
13
|
+
return useMutation((mutateProps) => orgTreeControllerCreateOrgTree(mutateProps), options);
|
14
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { OrgTreeResponseDto } from '../schemas/OrgTreeResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerGetOrgTreeQueryPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
id: number;
|
11
|
+
}
|
12
|
+
export interface OrgTreeControllerGetOrgTreeQueryQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type OrgTreeControllerGetOrgTreeOkResponse = ResponseWithPagination<OrgTreeResponseDto>;
|
16
|
+
export type OrgTreeControllerGetOrgTreeErrorResponse = ErrorResponse;
|
17
|
+
export interface OrgTreeControllerGetOrgTreeProps extends OrgTreeControllerGetOrgTreeQueryPathParams, Omit<FetcherOptions<OrgTreeControllerGetOrgTreeQueryQueryParams, unknown>, 'url'> {
|
18
|
+
queryParams: OrgTreeControllerGetOrgTreeQueryQueryParams;
|
19
|
+
}
|
20
|
+
export declare function orgTreeControllerGetOrgTree(props: OrgTreeControllerGetOrgTreeProps): Promise<OrgTreeControllerGetOrgTreeOkResponse>;
|
21
|
+
/**
|
22
|
+
* Get a specific organization tree
|
23
|
+
*/
|
24
|
+
export declare function useOrgTreeControllerGetOrgTreeQuery(props: OrgTreeControllerGetOrgTreeProps, options?: Omit<UseQueryOptions<OrgTreeControllerGetOrgTreeOkResponse, OrgTreeControllerGetOrgTreeErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerGetOrgTreeOkResponse, 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 orgTreeControllerGetOrgTree(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.id}`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get a specific organization tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerGetOrgTreeQuery(props, options) {
|
13
|
+
return useQuery(['OrgTreeControllerGetOrgTree', props.id, props.queryParams], ({ signal }) => orgTreeControllerGetOrgTree(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.d.ts
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { ListResponseDto } from '../schemas/ListResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface OrgTreeControllerGetOrgTreesQueryQueryParams {
|
7
|
+
accountIdentifier: string;
|
8
|
+
orgIdentifer: string;
|
9
|
+
projectIdentifier: string;
|
10
|
+
/**
|
11
|
+
* @format int32
|
12
|
+
* @default 0
|
13
|
+
*/
|
14
|
+
pageIndex?: number;
|
15
|
+
/**
|
16
|
+
* @format int32
|
17
|
+
* @default 50
|
18
|
+
*/
|
19
|
+
pageSize?: number;
|
20
|
+
}
|
21
|
+
export type OrgTreeControllerGetOrgTreesOkResponse = ResponseWithPagination<ListResponseDto>;
|
22
|
+
export type OrgTreeControllerGetOrgTreesErrorResponse = ErrorResponse;
|
23
|
+
export interface OrgTreeControllerGetOrgTreesProps extends Omit<FetcherOptions<OrgTreeControllerGetOrgTreesQueryQueryParams, unknown>, 'url'> {
|
24
|
+
queryParams: OrgTreeControllerGetOrgTreesQueryQueryParams;
|
25
|
+
}
|
26
|
+
export declare function orgTreeControllerGetOrgTrees(props: OrgTreeControllerGetOrgTreesProps): Promise<OrgTreeControllerGetOrgTreesOkResponse>;
|
27
|
+
/**
|
28
|
+
* Get organization trees with pagination
|
29
|
+
*/
|
30
|
+
export declare function useOrgTreeControllerGetOrgTreesQuery(props: OrgTreeControllerGetOrgTreesProps, options?: Omit<UseQueryOptions<OrgTreeControllerGetOrgTreesOkResponse, OrgTreeControllerGetOrgTreesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<OrgTreeControllerGetOrgTreesOkResponse, 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 orgTreeControllerGetOrgTrees(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/list`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Get organization trees with pagination
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerGetOrgTreesQuery(props, options) {
|
13
|
+
return useQuery(['OrgTreeControllerGetOrgTrees', props.queryParams], ({ signal }) => orgTreeControllerGetOrgTrees(Object.assign(Object.assign({}, props), { signal })), options);
|
14
|
+
}
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.d.ts
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { OrgTreeResponseDto } from '../schemas/OrgTreeResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { OrgTreeCreateRequestDto } from '../schemas/OrgTreeCreateRequestDto';
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
7
|
+
export interface OrgTreeControllerUpdateOrgTreeMutationPathParams {
|
8
|
+
/**
|
9
|
+
* @format int32
|
10
|
+
*/
|
11
|
+
id: number;
|
12
|
+
}
|
13
|
+
export interface OrgTreeControllerUpdateOrgTreeMutationQueryParams {
|
14
|
+
accountIdentifier: string;
|
15
|
+
}
|
16
|
+
export type OrgTreeControllerUpdateOrgTreeRequestBody = OrgTreeCreateRequestDto;
|
17
|
+
export type OrgTreeControllerUpdateOrgTreeOkResponse = ResponseWithPagination<OrgTreeResponseDto>;
|
18
|
+
export type OrgTreeControllerUpdateOrgTreeErrorResponse = ErrorResponse;
|
19
|
+
export interface OrgTreeControllerUpdateOrgTreeProps extends OrgTreeControllerUpdateOrgTreeMutationPathParams, Omit<FetcherOptions<OrgTreeControllerUpdateOrgTreeMutationQueryParams, OrgTreeControllerUpdateOrgTreeRequestBody>, 'url'> {
|
20
|
+
queryParams: OrgTreeControllerUpdateOrgTreeMutationQueryParams;
|
21
|
+
body: OrgTreeControllerUpdateOrgTreeRequestBody;
|
22
|
+
}
|
23
|
+
export declare function orgTreeControllerUpdateOrgTree(props: OrgTreeControllerUpdateOrgTreeProps): Promise<OrgTreeControllerUpdateOrgTreeOkResponse>;
|
24
|
+
/**
|
25
|
+
* Update an org tree
|
26
|
+
*/
|
27
|
+
export declare function useOrgTreeControllerUpdateOrgTreeMutation(options?: Omit<UseMutationOptions<OrgTreeControllerUpdateOrgTreeOkResponse, OrgTreeControllerUpdateOrgTreeErrorResponse, OrgTreeControllerUpdateOrgTreeProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<OrgTreeControllerUpdateOrgTreeOkResponse, ErrorResponse, OrgTreeControllerUpdateOrgTreeProps, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
3
|
+
// Please do not modify this code directly.
|
4
|
+
import { useMutation } from '@tanstack/react-query';
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
+
export function orgTreeControllerUpdateOrgTree(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/org-trees/${props.id}`, method: 'PUT' }, props));
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Update an org tree
|
11
|
+
*/
|
12
|
+
export function useOrgTreeControllerUpdateOrgTreeMutation(options) {
|
13
|
+
return useMutation((mutateProps) => orgTreeControllerUpdateOrgTree(mutateProps), options);
|
14
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
+
export interface ProductivityProfileControllerDeleteProfileMutationPathParams {
|
6
|
+
/**
|
7
|
+
* @format int32
|
8
|
+
*/
|
9
|
+
refId: number;
|
10
|
+
}
|
11
|
+
export interface ProductivityProfileControllerDeleteProfileMutationQueryParams {
|
12
|
+
accountIdentifier: string;
|
13
|
+
}
|
14
|
+
export type ProductivityProfileControllerDeleteProfileOkResponse = ResponseWithPagination<unknown>;
|
15
|
+
export type ProductivityProfileControllerDeleteProfileErrorResponse = ErrorResponse;
|
16
|
+
export interface ProductivityProfileControllerDeleteProfileProps extends ProductivityProfileControllerDeleteProfileMutationPathParams, Omit<FetcherOptions<ProductivityProfileControllerDeleteProfileMutationQueryParams, unknown>, 'url'> {
|
17
|
+
queryParams: ProductivityProfileControllerDeleteProfileMutationQueryParams;
|
18
|
+
}
|
19
|
+
export declare function productivityProfileControllerDeleteProfile(props: ProductivityProfileControllerDeleteProfileProps): Promise<ProductivityProfileControllerDeleteProfileOkResponse>;
|
20
|
+
export declare function useProductivityProfileControllerDeleteProfileMutation(options?: Omit<UseMutationOptions<ProductivityProfileControllerDeleteProfileOkResponse, ProductivityProfileControllerDeleteProfileErrorResponse, ProductivityProfileControllerDeleteProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityProfileControllerDeleteProfileOkResponse, ErrorResponse, ProductivityProfileControllerDeleteProfileProps, unknown>;
|
@@ -0,0 +1,11 @@
|
|
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 productivityProfileControllerDeleteProfile(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/productivity/${props.refId}`, method: 'DELETE' }, props));
|
8
|
+
}
|
9
|
+
export function useProductivityProfileControllerDeleteProfileMutation(options) {
|
10
|
+
return useMutation((mutateProps) => productivityProfileControllerDeleteProfile(mutateProps), options);
|
11
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
+
import type { ProductivityProfileResponseDto } from '../schemas/ProductivityProfileResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
6
|
+
export interface ProductivityProfileControllerGetProfileByRefIdQueryPathParams {
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
refId: number;
|
11
|
+
}
|
12
|
+
export interface ProductivityProfileControllerGetProfileByRefIdQueryQueryParams {
|
13
|
+
accountIdentifier: string;
|
14
|
+
}
|
15
|
+
export type ProductivityProfileControllerGetProfileByRefIdOkResponse = ResponseWithPagination<ProductivityProfileResponseDto>;
|
16
|
+
export type ProductivityProfileControllerGetProfileByRefIdErrorResponse = ErrorResponse;
|
17
|
+
export interface ProductivityProfileControllerGetProfileByRefIdProps extends ProductivityProfileControllerGetProfileByRefIdQueryPathParams, Omit<FetcherOptions<ProductivityProfileControllerGetProfileByRefIdQueryQueryParams, unknown>, 'url'> {
|
18
|
+
queryParams: ProductivityProfileControllerGetProfileByRefIdQueryQueryParams;
|
19
|
+
}
|
20
|
+
export declare function productivityProfileControllerGetProfileByRefId(props: ProductivityProfileControllerGetProfileByRefIdProps): Promise<ProductivityProfileControllerGetProfileByRefIdOkResponse>;
|
21
|
+
export declare function useProductivityProfileControllerGetProfileByRefIdQuery(props: ProductivityProfileControllerGetProfileByRefIdProps, options?: Omit<UseQueryOptions<ProductivityProfileControllerGetProfileByRefIdOkResponse, ProductivityProfileControllerGetProfileByRefIdErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ProductivityProfileControllerGetProfileByRefIdOkResponse, ErrorResponse>;
|
@@ -0,0 +1,11 @@
|
|
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 productivityProfileControllerGetProfileByRefId(props) {
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/productivity/${props.refId}`, method: 'GET' }, props));
|
8
|
+
}
|
9
|
+
export function useProductivityProfileControllerGetProfileByRefIdQuery(props, options) {
|
10
|
+
return useQuery(['ProductivityProfileControllerGetProfileByRefId', props.refId, props.queryParams], ({ signal }) => productivityProfileControllerGetProfileByRefId(Object.assign(Object.assign({}, props), { signal })), options);
|
11
|
+
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
2
2
|
import type { ProductivityProfileResponseDto } from '../schemas/ProductivityProfileResponseDto';
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
3
4
|
import type { ProductivityProfileCreateRequestDto } from '../schemas/ProductivityProfileCreateRequestDto';
|
4
5
|
import type { ResponseWithPagination } from '../helpers';
|
5
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
@@ -7,17 +8,17 @@ export interface ProductivityProfileControllerUpdateProfileMutationPathParams {
|
|
7
8
|
/**
|
8
9
|
* @format int32
|
9
10
|
*/
|
10
|
-
|
11
|
+
refId: number;
|
11
12
|
}
|
12
13
|
export interface ProductivityProfileControllerUpdateProfileMutationQueryParams {
|
13
14
|
accountIdentifier: string;
|
14
15
|
}
|
15
16
|
export type ProductivityProfileControllerUpdateProfileRequestBody = ProductivityProfileCreateRequestDto;
|
16
17
|
export type ProductivityProfileControllerUpdateProfileOkResponse = ResponseWithPagination<ProductivityProfileResponseDto>;
|
17
|
-
export type ProductivityProfileControllerUpdateProfileErrorResponse =
|
18
|
+
export type ProductivityProfileControllerUpdateProfileErrorResponse = ErrorResponse;
|
18
19
|
export interface ProductivityProfileControllerUpdateProfileProps extends ProductivityProfileControllerUpdateProfileMutationPathParams, Omit<FetcherOptions<ProductivityProfileControllerUpdateProfileMutationQueryParams, ProductivityProfileControllerUpdateProfileRequestBody>, 'url'> {
|
19
20
|
queryParams: ProductivityProfileControllerUpdateProfileMutationQueryParams;
|
20
21
|
body: ProductivityProfileControllerUpdateProfileRequestBody;
|
21
22
|
}
|
22
23
|
export declare function productivityProfileControllerUpdateProfile(props: ProductivityProfileControllerUpdateProfileProps): Promise<ProductivityProfileControllerUpdateProfileOkResponse>;
|
23
|
-
export declare function useProductivityProfileControllerUpdateProfileMutation(options?: Omit<UseMutationOptions<ProductivityProfileControllerUpdateProfileOkResponse, ProductivityProfileControllerUpdateProfileErrorResponse, ProductivityProfileControllerUpdateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityProfileControllerUpdateProfileOkResponse,
|
24
|
+
export declare function useProductivityProfileControllerUpdateProfileMutation(options?: Omit<UseMutationOptions<ProductivityProfileControllerUpdateProfileOkResponse, ProductivityProfileControllerUpdateProfileErrorResponse, ProductivityProfileControllerUpdateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityProfileControllerUpdateProfileOkResponse, ErrorResponse, ProductivityProfileControllerUpdateProfileProps, unknown>;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
6
6
|
export function productivityProfileControllerUpdateProfile(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/profiles/productivity/${props.
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/productivity/${props.refId}`, method: 'PUT' }, props));
|
8
8
|
}
|
9
9
|
export function useProductivityProfileControllerUpdateProfileMutation(options) {
|
10
10
|
return useMutation((mutateProps) => productivityProfileControllerUpdateProfile(mutateProps), options);
|
@@ -47,6 +47,8 @@ export type { DoraControllerSummaryErrorResponse, DoraControllerSummaryOkRespons
|
|
47
47
|
export { doraControllerSummary, useDoraControllerSummaryQuery, } from './hooks/useDoraControllerSummaryQuery';
|
48
48
|
export type { EfficiencyProfileControllerCreateProfileErrorResponse, EfficiencyProfileControllerCreateProfileMutationQueryParams, EfficiencyProfileControllerCreateProfileOkResponse, EfficiencyProfileControllerCreateProfileProps, EfficiencyProfileControllerCreateProfileRequestBody, } from './hooks/useEfficiencyProfileControllerCreateProfileMutation';
|
49
49
|
export { efficiencyProfileControllerCreateProfile, useEfficiencyProfileControllerCreateProfileMutation, } from './hooks/useEfficiencyProfileControllerCreateProfileMutation';
|
50
|
+
export type { EfficiencyProfileControllerDeleteProfileByRefIdErrorResponse, EfficiencyProfileControllerDeleteProfileByRefIdMutationPathParams, EfficiencyProfileControllerDeleteProfileByRefIdMutationQueryParams, EfficiencyProfileControllerDeleteProfileByRefIdOkResponse, EfficiencyProfileControllerDeleteProfileByRefIdProps, } from './hooks/useEfficiencyProfileControllerDeleteProfileByRefIdMutation';
|
51
|
+
export { efficiencyProfileControllerDeleteProfileByRefId, useEfficiencyProfileControllerDeleteProfileByRefIdMutation, } from './hooks/useEfficiencyProfileControllerDeleteProfileByRefIdMutation';
|
50
52
|
export type { EfficiencyProfileControllerGetProfileErrorResponse, EfficiencyProfileControllerGetProfileOkResponse, EfficiencyProfileControllerGetProfileProps, EfficiencyProfileControllerGetProfileQueryPathParams, EfficiencyProfileControllerGetProfileQueryQueryParams, } from './hooks/useEfficiencyProfileControllerGetProfileQuery';
|
51
53
|
export { efficiencyProfileControllerGetProfile, useEfficiencyProfileControllerGetProfileQuery, } from './hooks/useEfficiencyProfileControllerGetProfileQuery';
|
52
54
|
export type { EfficiencyProfileControllerListProfilesErrorResponse, EfficiencyProfileControllerListProfilesOkResponse, EfficiencyProfileControllerListProfilesProps, EfficiencyProfileControllerListProfilesQueryQueryParams, } from './hooks/useEfficiencyProfileControllerListProfilesQuery';
|
@@ -65,6 +67,14 @@ export type { JiraIssuesControllerGetJiraIssueCountErrorResponse, JiraIssuesCont
|
|
65
67
|
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
66
68
|
export type { LegacyHealthControllerCheckErrorResponse, LegacyHealthControllerCheckOkResponse, LegacyHealthControllerCheckProps, } from './hooks/useLegacyHealthControllerCheckQuery';
|
67
69
|
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
70
|
+
export type { OrgTreeControllerCreateOrgTreeErrorResponse, OrgTreeControllerCreateOrgTreeMutationQueryParams, OrgTreeControllerCreateOrgTreeOkResponse, OrgTreeControllerCreateOrgTreeProps, OrgTreeControllerCreateOrgTreeRequestBody, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
|
71
|
+
export { orgTreeControllerCreateOrgTree, useOrgTreeControllerCreateOrgTreeMutation, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
|
72
|
+
export type { OrgTreeControllerGetOrgTreeErrorResponse, OrgTreeControllerGetOrgTreeOkResponse, OrgTreeControllerGetOrgTreeProps, OrgTreeControllerGetOrgTreeQueryPathParams, OrgTreeControllerGetOrgTreeQueryQueryParams, } from './hooks/useOrgTreeControllerGetOrgTreeQuery';
|
73
|
+
export { orgTreeControllerGetOrgTree, useOrgTreeControllerGetOrgTreeQuery, } from './hooks/useOrgTreeControllerGetOrgTreeQuery';
|
74
|
+
export type { OrgTreeControllerGetOrgTreesErrorResponse, OrgTreeControllerGetOrgTreesOkResponse, OrgTreeControllerGetOrgTreesProps, OrgTreeControllerGetOrgTreesQueryQueryParams, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
75
|
+
export { orgTreeControllerGetOrgTrees, useOrgTreeControllerGetOrgTreesQuery, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
76
|
+
export type { OrgTreeControllerUpdateOrgTreeErrorResponse, OrgTreeControllerUpdateOrgTreeMutationPathParams, OrgTreeControllerUpdateOrgTreeMutationQueryParams, OrgTreeControllerUpdateOrgTreeOkResponse, OrgTreeControllerUpdateOrgTreeProps, OrgTreeControllerUpdateOrgTreeRequestBody, } from './hooks/useOrgTreeControllerUpdateOrgTreeMutation';
|
77
|
+
export { orgTreeControllerUpdateOrgTree, useOrgTreeControllerUpdateOrgTreeMutation, } from './hooks/useOrgTreeControllerUpdateOrgTreeMutation';
|
68
78
|
export type { ProductivityControllerGetFeatureBreakdownErrorResponse, ProductivityControllerGetFeatureBreakdownOkResponse, ProductivityControllerGetFeatureBreakdownProps, ProductivityControllerGetFeatureBreakdownQueryQueryParams, ProductivityControllerGetFeatureBreakdownRequestBody, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
69
79
|
export { productivityControllerGetFeatureBreakdown, useProductivityControllerGetFeatureBreakdownQuery, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
70
80
|
export type { ProductivityControllerGetFeatureDrillDownErrorResponse, ProductivityControllerGetFeatureDrillDownOkResponse, ProductivityControllerGetFeatureDrillDownProps, ProductivityControllerGetFeatureDrillDownQueryQueryParams, ProductivityControllerGetFeatureDrillDownRequestBody, } from './hooks/useProductivityControllerGetFeatureDrillDownQuery';
|
@@ -75,8 +85,10 @@ export type { ProductivityControllerGetIndividualUserFeatureDrillDownErrorRespon
|
|
75
85
|
export { productivityControllerGetIndividualUserFeatureDrillDown, useProductivityControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery';
|
76
86
|
export type { ProductivityProfileControllerCreateProfileErrorResponse, ProductivityProfileControllerCreateProfileMutationQueryParams, ProductivityProfileControllerCreateProfileOkResponse, ProductivityProfileControllerCreateProfileProps, ProductivityProfileControllerCreateProfileRequestBody, } from './hooks/useProductivityProfileControllerCreateProfileMutation';
|
77
87
|
export { productivityProfileControllerCreateProfile, useProductivityProfileControllerCreateProfileMutation, } from './hooks/useProductivityProfileControllerCreateProfileMutation';
|
78
|
-
export type {
|
79
|
-
export {
|
88
|
+
export type { ProductivityProfileControllerDeleteProfileErrorResponse, ProductivityProfileControllerDeleteProfileMutationPathParams, ProductivityProfileControllerDeleteProfileMutationQueryParams, ProductivityProfileControllerDeleteProfileOkResponse, ProductivityProfileControllerDeleteProfileProps, } from './hooks/useProductivityProfileControllerDeleteProfileMutation';
|
89
|
+
export { productivityProfileControllerDeleteProfile, useProductivityProfileControllerDeleteProfileMutation, } from './hooks/useProductivityProfileControllerDeleteProfileMutation';
|
90
|
+
export type { ProductivityProfileControllerGetProfileByRefIdErrorResponse, ProductivityProfileControllerGetProfileByRefIdOkResponse, ProductivityProfileControllerGetProfileByRefIdProps, ProductivityProfileControllerGetProfileByRefIdQueryPathParams, ProductivityProfileControllerGetProfileByRefIdQueryQueryParams, } from './hooks/useProductivityProfileControllerGetProfileByRefIdQuery';
|
91
|
+
export { productivityProfileControllerGetProfileByRefId, useProductivityProfileControllerGetProfileByRefIdQuery, } from './hooks/useProductivityProfileControllerGetProfileByRefIdQuery';
|
80
92
|
export type { ProductivityProfileControllerListProfilesErrorResponse, ProductivityProfileControllerListProfilesOkResponse, ProductivityProfileControllerListProfilesProps, ProductivityProfileControllerListProfilesQueryQueryParams, } from './hooks/useProductivityProfileControllerListProfilesQuery';
|
81
93
|
export { productivityProfileControllerListProfiles, useProductivityProfileControllerListProfilesQuery, } from './hooks/useProductivityProfileControllerListProfilesQuery';
|
82
94
|
export type { ProductivityProfileControllerUpdateProfileErrorResponse, ProductivityProfileControllerUpdateProfileMutationPathParams, ProductivityProfileControllerUpdateProfileMutationQueryParams, ProductivityProfileControllerUpdateProfileOkResponse, ProductivityProfileControllerUpdateProfileProps, ProductivityProfileControllerUpdateProfileRequestBody, } from './hooks/useProductivityProfileControllerUpdateProfileMutation';
|
@@ -114,11 +126,12 @@ export type { DoraSummaryRequest } from './schemas/DoraSummaryRequest';
|
|
114
126
|
export type { DrilldownData } from './schemas/DrilldownData';
|
115
127
|
export type { DrilldownDataPoint } from './schemas/DrilldownDataPoint';
|
116
128
|
export type { EfficiencyProfileCreateRequestDto } from './schemas/EfficiencyProfileCreateRequestDto';
|
129
|
+
export type { EfficiencyProfileEvent } from './schemas/EfficiencyProfileEvent';
|
117
130
|
export type { EfficiencyProfileResponseDto } from './schemas/EfficiencyProfileResponseDto';
|
118
131
|
export type { EfficiencyRequestDto } from './schemas/EfficiencyRequestDto';
|
119
132
|
export type { ErrorResponse } from './schemas/ErrorResponse';
|
120
|
-
export type { EventWrapperDto } from './schemas/EventWrapperDto';
|
121
133
|
export type { ExportRequestDto } from './schemas/ExportRequestDto';
|
134
|
+
export type { FeatureDto } from './schemas/FeatureDto';
|
122
135
|
export type { IndividualDrilldownData } from './schemas/IndividualDrilldownData';
|
123
136
|
export type { IndividualDrilldownDataPoint } from './schemas/IndividualDrilldownDataPoint';
|
124
137
|
export type { InsightEfficiencySettingsDto } from './schemas/InsightEfficiencySettingsDto';
|
@@ -126,10 +139,14 @@ export type { InsightProductivitySettingsDto } from './schemas/InsightProductivi
|
|
126
139
|
export type { InsightSettingsCreateRequestDto } from './schemas/InsightSettingsCreateRequestDto';
|
127
140
|
export type { InsightSettingsResponseDto } from './schemas/InsightSettingsResponseDto';
|
128
141
|
export type { IntegrationObject } from './schemas/IntegrationObject';
|
142
|
+
export type { ListResponseDto } from './schemas/ListResponseDto';
|
129
143
|
export type { ListResponseDtoEfficiencyProfileResponseDto } from './schemas/ListResponseDtoEfficiencyProfileResponseDto';
|
130
144
|
export type { ListResponseDtoProductivityProfileResponseDto } from './schemas/ListResponseDtoProductivityProfileResponseDto';
|
131
145
|
export type { LtcConfigurationDto } from './schemas/LtcConfigurationDto';
|
146
|
+
export type { LtcStageDto } from './schemas/LtcStageDto';
|
132
147
|
export type { MttrConfigurationDto } from './schemas/MttrConfigurationDto';
|
148
|
+
export type { OrgTreeCreateRequestDto } from './schemas/OrgTreeCreateRequestDto';
|
149
|
+
export type { OrgTreeResponseDto } from './schemas/OrgTreeResponseDto';
|
133
150
|
export type { PaginationInfo } from './schemas/PaginationInfo';
|
134
151
|
export type { PaginationRequest } from './schemas/PaginationRequest';
|
135
152
|
export type { PrCycleTimeDrilldownResponseDataPoint } from './schemas/PrCycleTimeDrilldownResponseDataPoint';
|
@@ -138,7 +155,6 @@ export type { PrVelocityDrilldownResponseDataPoint } from './schemas/PrVelocityD
|
|
138
155
|
export type { PrVelocityIndividualDrilldownResponseDataPoint } from './schemas/PrVelocityIndividualDrilldownResponseDataPoint';
|
139
156
|
export type { ProductivityContributorRequestDto } from './schemas/ProductivityContributorRequestDto';
|
140
157
|
export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
|
141
|
-
export type { ProductivityFeature } from './schemas/ProductivityFeature';
|
142
158
|
export type { ProductivityFeatureBreakdownResponseDataPoint } from './schemas/ProductivityFeatureBreakdownResponseDataPoint';
|
143
159
|
export type { ProductivityFeatureBreakdownResponseDto } from './schemas/ProductivityFeatureBreakdownResponseDto';
|
144
160
|
export type { ProductivityFeatureDrilldownResponseDto } from './schemas/ProductivityFeatureDrilldownResponseDto';
|
@@ -148,9 +164,8 @@ export type { ProductivityFeatureResponseDto } from './schemas/ProductivityFeatu
|
|
148
164
|
export type { ProductivityProfileCreateRequestDto } from './schemas/ProductivityProfileCreateRequestDto';
|
149
165
|
export type { ProductivityProfileResponseDto } from './schemas/ProductivityProfileResponseDto';
|
150
166
|
export type { ProductivityRequestDto } from './schemas/ProductivityRequestDto';
|
151
|
-
export type {
|
167
|
+
export type { SectionDto } from './schemas/SectionDto';
|
152
168
|
export type { Stage } from './schemas/Stage';
|
153
|
-
export type { StageDto } from './schemas/StageDto';
|
154
169
|
export type { SummaryCard } from './schemas/SummaryCard';
|
155
170
|
export type { SummaryValue } from './schemas/SummaryValue';
|
156
171
|
export type { SummaryValueChange } from './schemas/SummaryValueChange';
|
@@ -22,6 +22,7 @@ export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreQuery, }
|
|
22
22
|
export { doraControllerMttrBreakdown, useDoraControllerMttrBreakdownQuery, } from './hooks/useDoraControllerMttrBreakdownQuery';
|
23
23
|
export { doraControllerSummary, useDoraControllerSummaryQuery, } from './hooks/useDoraControllerSummaryQuery';
|
24
24
|
export { efficiencyProfileControllerCreateProfile, useEfficiencyProfileControllerCreateProfileMutation, } from './hooks/useEfficiencyProfileControllerCreateProfileMutation';
|
25
|
+
export { efficiencyProfileControllerDeleteProfileByRefId, useEfficiencyProfileControllerDeleteProfileByRefIdMutation, } from './hooks/useEfficiencyProfileControllerDeleteProfileByRefIdMutation';
|
25
26
|
export { efficiencyProfileControllerGetProfile, useEfficiencyProfileControllerGetProfileQuery, } from './hooks/useEfficiencyProfileControllerGetProfileQuery';
|
26
27
|
export { efficiencyProfileControllerListProfiles, useEfficiencyProfileControllerListProfilesQuery, } from './hooks/useEfficiencyProfileControllerListProfilesQuery';
|
27
28
|
export { efficiencyProfileControllerUpdateProfile, useEfficiencyProfileControllerUpdateProfileMutation, } from './hooks/useEfficiencyProfileControllerUpdateProfileMutation';
|
@@ -31,11 +32,16 @@ export { insightSettingsControllerGetSettings, useInsightSettingsControllerGetSe
|
|
31
32
|
export { insightSettingsControllerUpdateSettings, useInsightSettingsControllerUpdateSettingsMutation, } from './hooks/useInsightSettingsControllerUpdateSettingsMutation';
|
32
33
|
export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
|
33
34
|
export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
|
35
|
+
export { orgTreeControllerCreateOrgTree, useOrgTreeControllerCreateOrgTreeMutation, } from './hooks/useOrgTreeControllerCreateOrgTreeMutation';
|
36
|
+
export { orgTreeControllerGetOrgTree, useOrgTreeControllerGetOrgTreeQuery, } from './hooks/useOrgTreeControllerGetOrgTreeQuery';
|
37
|
+
export { orgTreeControllerGetOrgTrees, useOrgTreeControllerGetOrgTreesQuery, } from './hooks/useOrgTreeControllerGetOrgTreesQuery';
|
38
|
+
export { orgTreeControllerUpdateOrgTree, useOrgTreeControllerUpdateOrgTreeMutation, } from './hooks/useOrgTreeControllerUpdateOrgTreeMutation';
|
34
39
|
export { productivityControllerGetFeatureBreakdown, useProductivityControllerGetFeatureBreakdownQuery, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
|
35
40
|
export { productivityControllerGetFeatureDrillDown, useProductivityControllerGetFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetFeatureDrillDownQuery';
|
36
41
|
export { productivityControllerGetFeatureMetrics, useProductivityControllerGetFeatureMetricsQuery, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
|
37
42
|
export { productivityControllerGetIndividualUserFeatureDrillDown, useProductivityControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery';
|
38
43
|
export { productivityProfileControllerCreateProfile, useProductivityProfileControllerCreateProfileMutation, } from './hooks/useProductivityProfileControllerCreateProfileMutation';
|
39
|
-
export {
|
44
|
+
export { productivityProfileControllerDeleteProfile, useProductivityProfileControllerDeleteProfileMutation, } from './hooks/useProductivityProfileControllerDeleteProfileMutation';
|
45
|
+
export { productivityProfileControllerGetProfileByRefId, useProductivityProfileControllerGetProfileByRefIdQuery, } from './hooks/useProductivityProfileControllerGetProfileByRefIdQuery';
|
40
46
|
export { productivityProfileControllerListProfiles, useProductivityProfileControllerListProfilesQuery, } from './hooks/useProductivityProfileControllerListProfilesQuery';
|
41
47
|
export { productivityProfileControllerUpdateProfile, useProductivityProfileControllerUpdateProfileMutation, } from './hooks/useProductivityProfileControllerUpdateProfileMutation';
|
@@ -1,4 +1,6 @@
|
|
1
|
-
import type {
|
1
|
+
import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
|
2
2
|
export interface CfrConfigurationDto {
|
3
|
-
|
3
|
+
active?: boolean;
|
4
|
+
failureEvent?: EfficiencyProfileEvent;
|
5
|
+
totalEvent?: EfficiencyProfileEvent;
|
4
6
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import type {
|
1
|
+
import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
|
2
2
|
export interface DfConfigurationDto {
|
3
|
-
|
3
|
+
active?: boolean;
|
4
|
+
event?: EfficiencyProfileEvent;
|
4
5
|
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export interface ListResponseDto {
|
2
|
+
/**
|
3
|
+
* @format int32
|
4
|
+
*/
|
5
|
+
pageIndex?: number;
|
6
|
+
/**
|
7
|
+
* @format int32
|
8
|
+
*/
|
9
|
+
pageSize?: number;
|
10
|
+
records?: Array<{
|
11
|
+
[key: string]: any;
|
12
|
+
}>;
|
13
|
+
/**
|
14
|
+
* @format int32
|
15
|
+
*/
|
16
|
+
totalCount?: number;
|
17
|
+
}
|
@@ -1,8 +1,9 @@
|
|
1
|
-
import type {
|
1
|
+
import type { LtcStageDto } from '../schemas/LtcStageDto';
|
2
2
|
export interface LtcConfigurationDto {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
active?: boolean;
|
4
|
+
build?: LtcStageDto;
|
5
|
+
coding?: LtcStageDto;
|
6
|
+
deploy?: LtcStageDto;
|
7
|
+
planning?: LtcStageDto;
|
8
|
+
review?: LtcStageDto;
|
8
9
|
}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import type {
|
1
|
+
import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
|
2
2
|
export interface MttrConfigurationDto {
|
3
|
-
|
3
|
+
active?: boolean;
|
4
|
+
event?: EfficiencyProfileEvent;
|
4
5
|
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
export interface OrgTreeResponseDto {
|
2
|
+
/**
|
3
|
+
* @format int64
|
4
|
+
*/
|
5
|
+
createdAtEpochSec?: number;
|
6
|
+
createdByEmail?: string;
|
7
|
+
/**
|
8
|
+
* @format int32
|
9
|
+
*/
|
10
|
+
efficiencyProfileRefId?: number;
|
11
|
+
/**
|
12
|
+
* @format int32
|
13
|
+
*/
|
14
|
+
id: number;
|
15
|
+
name: string;
|
16
|
+
/**
|
17
|
+
* @format int32
|
18
|
+
*/
|
19
|
+
productivityProfileRefId?: number;
|
20
|
+
/**
|
21
|
+
* @format int32
|
22
|
+
*/
|
23
|
+
rootRefId?: number;
|
24
|
+
/**
|
25
|
+
* @format int64
|
26
|
+
*/
|
27
|
+
updatedAtEpochSec?: number;
|
28
|
+
updatedByEmail?: string;
|
29
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileCreateRequestDto.d.ts
CHANGED
@@ -1,11 +1,6 @@
|
|
1
|
-
import type {
|
1
|
+
import type { SectionDto } from '../schemas/SectionDto';
|
2
2
|
export interface ProductivityProfileCreateRequestDto {
|
3
3
|
description?: string;
|
4
4
|
name: string;
|
5
|
-
|
6
|
-
[key: string]: {
|
7
|
-
[key: string]: any;
|
8
|
-
};
|
9
|
-
};
|
10
|
-
sections: ProductivitySection[];
|
5
|
+
sections?: SectionDto[];
|
11
6
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type {
|
1
|
+
import type { SectionDto } from '../schemas/SectionDto';
|
2
2
|
export interface ProductivityProfileResponseDto {
|
3
3
|
/**
|
4
4
|
* @format int64
|
@@ -11,12 +11,11 @@ export interface ProductivityProfileResponseDto {
|
|
11
11
|
*/
|
12
12
|
id?: number;
|
13
13
|
name: string;
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
sections: ProductivitySection[];
|
14
|
+
/**
|
15
|
+
* @format int32
|
16
|
+
*/
|
17
|
+
refId?: number;
|
18
|
+
sections?: SectionDto[];
|
20
19
|
/**
|
21
20
|
* @format int64
|
22
21
|
*/
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.18.0",
|
4
4
|
"description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
|
5
5
|
"author": "Harness Inc",
|
6
6
|
"license": "MIT",
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
2
|
-
import type { ProductivityProfileResponseDto } from '../schemas/ProductivityProfileResponseDto';
|
3
|
-
import type { ResponseWithPagination } from '../helpers';
|
4
|
-
import { FetcherOptions } from '../../../../fetcher/index.js';
|
5
|
-
export interface ProductivityProfileControllerGetProfileQueryPathParams {
|
6
|
-
/**
|
7
|
-
* @format int32
|
8
|
-
*/
|
9
|
-
id: number;
|
10
|
-
}
|
11
|
-
export interface ProductivityProfileControllerGetProfileQueryQueryParams {
|
12
|
-
accountIdentifier: string;
|
13
|
-
}
|
14
|
-
export type ProductivityProfileControllerGetProfileOkResponse = ResponseWithPagination<ProductivityProfileResponseDto>;
|
15
|
-
export type ProductivityProfileControllerGetProfileErrorResponse = unknown;
|
16
|
-
export interface ProductivityProfileControllerGetProfileProps extends ProductivityProfileControllerGetProfileQueryPathParams, Omit<FetcherOptions<ProductivityProfileControllerGetProfileQueryQueryParams, unknown>, 'url'> {
|
17
|
-
queryParams: ProductivityProfileControllerGetProfileQueryQueryParams;
|
18
|
-
}
|
19
|
-
export declare function productivityProfileControllerGetProfile(props: ProductivityProfileControllerGetProfileProps): Promise<ProductivityProfileControllerGetProfileOkResponse>;
|
20
|
-
export declare function useProductivityProfileControllerGetProfileQuery(props: ProductivityProfileControllerGetProfileProps, options?: Omit<UseQueryOptions<ProductivityProfileControllerGetProfileOkResponse, ProductivityProfileControllerGetProfileErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ProductivityProfileControllerGetProfileOkResponse, unknown>;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
/* eslint-disable */
|
2
|
-
// This code is autogenerated using @harnessio/oats-cli.
|
3
|
-
// Please do not modify this code directly.
|
4
|
-
import { useQuery } from '@tanstack/react-query';
|
5
|
-
import { fetcher } from '../../../../fetcher/index.js';
|
6
|
-
export function productivityProfileControllerGetProfile(props) {
|
7
|
-
return fetcher(Object.assign({ url: `/v2/profiles/productivity/${props.id}`, method: 'GET' }, props));
|
8
|
-
}
|
9
|
-
export function useProductivityProfileControllerGetProfileQuery(props, options) {
|
10
|
-
return useQuery(['ProductivityProfileControllerGetProfile', props.id, props.queryParams], ({ signal }) => productivityProfileControllerGetProfile(Object.assign(Object.assign({}, props), { signal })), options);
|
11
|
-
}
|
File without changes
|
/package/dist/sei-panorama-service/src/services/schemas/{ProductivityFeature.js → FeatureDto.js}
RENAMED
File without changes
|
/package/dist/sei-panorama-service/src/services/schemas/{ProductivitySection.js → LtcStageDto.js}
RENAMED
File without changes
|
File without changes
|