@harnessio/react-sei-panorama-service-client 0.17.4 → 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.
Files changed (53) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerDeleteProfileByRefIdMutation.d.ts +23 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerDeleteProfileByRefIdMutation.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerGetProfileQuery.d.ts +1 -1
  4. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerGetProfileQuery.js +2 -2
  5. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerUpdateProfileMutation.d.ts +1 -1
  6. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerUpdateProfileMutation.js +1 -1
  7. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.d.ts +23 -0
  8. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerCreateOrgTreeMutation.js +14 -0
  9. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeQuery.d.ts +24 -0
  10. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreeQuery.js +14 -0
  11. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.d.ts +30 -0
  12. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerGetOrgTreesQuery.js +14 -0
  13. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.d.ts +27 -0
  14. package/dist/sei-panorama-service/src/services/hooks/useOrgTreeControllerUpdateOrgTreeMutation.js +14 -0
  15. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerDeleteProfileMutation.d.ts +20 -0
  16. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerDeleteProfileMutation.js +11 -0
  17. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileByRefIdQuery.d.ts +21 -0
  18. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileByRefIdQuery.js +11 -0
  19. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerUpdateProfileMutation.d.ts +4 -3
  20. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerUpdateProfileMutation.js +1 -1
  21. package/dist/sei-panorama-service/src/services/index.d.ts +21 -6
  22. package/dist/sei-panorama-service/src/services/index.js +7 -1
  23. package/dist/sei-panorama-service/src/services/schemas/CfrConfigurationDto.d.ts +4 -2
  24. package/dist/sei-panorama-service/src/services/schemas/DfConfigurationDto.d.ts +3 -2
  25. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownRequest.d.ts +1 -1
  26. package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownRequest.d.ts +1 -1
  27. package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileEvent.d.ts +4 -0
  28. package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileResponseDto.d.ts +4 -0
  29. package/dist/sei-panorama-service/src/services/schemas/FeatureDto.d.ts +7 -0
  30. package/dist/sei-panorama-service/src/services/schemas/ListResponseDto.d.ts +17 -0
  31. package/dist/sei-panorama-service/src/services/schemas/ListResponseDto.js +4 -0
  32. package/dist/sei-panorama-service/src/services/schemas/LtcConfigurationDto.d.ts +7 -6
  33. package/dist/sei-panorama-service/src/services/schemas/LtcStageDto.d.ts +7 -0
  34. package/dist/sei-panorama-service/src/services/schemas/MttrConfigurationDto.d.ts +3 -2
  35. package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.d.ts +11 -0
  36. package/dist/sei-panorama-service/src/services/schemas/OrgTreeCreateRequestDto.js +4 -0
  37. package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.d.ts +29 -0
  38. package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.js +4 -0
  39. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureRequestDto.d.ts +1 -1
  40. package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileCreateRequestDto.d.ts +2 -7
  41. package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileResponseDto.d.ts +6 -7
  42. package/dist/sei-panorama-service/src/services/schemas/SectionDto.d.ts +6 -0
  43. package/package.json +1 -1
  44. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileQuery.d.ts +0 -20
  45. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileQuery.js +0 -11
  46. package/dist/sei-panorama-service/src/services/schemas/EventWrapperDto.d.ts +0 -4
  47. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeature.d.ts +0 -5
  48. package/dist/sei-panorama-service/src/services/schemas/ProductivitySection.d.ts +0 -6
  49. package/dist/sei-panorama-service/src/services/schemas/StageDto.d.ts +0 -11
  50. /package/dist/sei-panorama-service/src/services/schemas/{EventWrapperDto.js → EfficiencyProfileEvent.js} +0 -0
  51. /package/dist/sei-panorama-service/src/services/schemas/{ProductivityFeature.js → FeatureDto.js} +0 -0
  52. /package/dist/sei-panorama-service/src/services/schemas/{ProductivitySection.js → LtcStageDto.js} +0 -0
  53. /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
+ }
@@ -6,7 +6,7 @@ export interface EfficiencyProfileControllerGetProfileQueryPathParams {
6
6
  /**
7
7
  * @format int32
8
8
  */
9
- id: number;
9
+ refId: number;
10
10
  }
11
11
  export interface EfficiencyProfileControllerGetProfileQueryQueryParams {
12
12
  accountIdentifier: string;
@@ -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.id}`, method: 'GET' }, 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.id, props.queryParams], ({ signal }) => efficiencyProfileControllerGetProfile(Object.assign(Object.assign({}, props), { signal })), options);
10
+ return useQuery(['EfficiencyProfileControllerGetProfile', props.refId, props.queryParams], ({ signal }) => efficiencyProfileControllerGetProfile(Object.assign(Object.assign({}, props), { signal })), options);
11
11
  }
@@ -7,7 +7,7 @@ export interface EfficiencyProfileControllerUpdateProfileMutationPathParams {
7
7
  /**
8
8
  * @format int32
9
9
  */
10
- id: number;
10
+ refId: number;
11
11
  }
12
12
  export interface EfficiencyProfileControllerUpdateProfileMutationQueryParams {
13
13
  accountIdentifier: string;
@@ -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.id}`, method: 'PUT' }, 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);
@@ -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>;
@@ -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
+ }
@@ -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
+ }
@@ -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>;
@@ -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
- id: number;
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 = unknown;
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, unknown, ProductivityProfileControllerUpdateProfileProps, unknown>;
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.id}`, method: 'PUT' }, 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 { ProductivityProfileControllerGetProfileErrorResponse, ProductivityProfileControllerGetProfileOkResponse, ProductivityProfileControllerGetProfileProps, ProductivityProfileControllerGetProfileQueryPathParams, ProductivityProfileControllerGetProfileQueryQueryParams, } from './hooks/useProductivityProfileControllerGetProfileQuery';
79
- export { productivityProfileControllerGetProfile, useProductivityProfileControllerGetProfileQuery, } from './hooks/useProductivityProfileControllerGetProfileQuery';
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 { ProductivitySection } from './schemas/ProductivitySection';
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 { productivityProfileControllerGetProfile, useProductivityProfileControllerGetProfileQuery, } from './hooks/useProductivityProfileControllerGetProfileQuery';
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 { EventWrapperDto } from '../schemas/EventWrapperDto';
1
+ import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
2
2
  export interface CfrConfigurationDto {
3
- event?: EventWrapperDto;
3
+ active?: boolean;
4
+ failureEvent?: EfficiencyProfileEvent;
5
+ totalEvent?: EfficiencyProfileEvent;
4
6
  }
@@ -1,4 +1,5 @@
1
- import type { EventWrapperDto } from '../schemas/EventWrapperDto';
1
+ import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
2
2
  export interface DfConfigurationDto {
3
- event?: EventWrapperDto;
3
+ active?: boolean;
4
+ event?: EfficiencyProfileEvent;
4
5
  }
@@ -2,6 +2,6 @@ import type { PaginationRequest } from '../schemas/PaginationRequest';
2
2
  export interface DoraLeadTimePrDrilldownRequest {
3
3
  pagination?: PaginationRequest;
4
4
  prId: string;
5
- sortBy?: 'AVG_TIME_TO_MERGE' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CHANGES' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_CYCLE_TIME' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_ID' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
5
+ sortBy?: 'AVG_TIME_TO_MERGE' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
6
6
  sortByCriteria?: 'ASC' | 'DESC';
7
7
  }
@@ -11,6 +11,6 @@ export interface DoraMetricDrilldownRequest {
11
11
  dateStart: string;
12
12
  pagination?: PaginationRequest;
13
13
  prId?: string;
14
- sortBy?: 'AVG_TIME_TO_MERGE' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CHANGES' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_CYCLE_TIME' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_ID' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
14
+ sortBy?: 'AVG_TIME_TO_MERGE' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
15
15
  sortByCriteria?: 'ASC' | 'DESC';
16
16
  }
@@ -0,0 +1,4 @@
1
+ export interface EfficiencyProfileEvent {
2
+ eventName?: string;
3
+ integrationType: 'CD' | 'CI' | 'IM' | 'ITSM' | 'SCM';
4
+ }
@@ -18,6 +18,10 @@ export interface EfficiencyProfileResponseDto {
18
18
  leadTimeForChanges?: LtcConfigurationDto;
19
19
  meanTimeToRestore?: MttrConfigurationDto;
20
20
  name?: string;
21
+ /**
22
+ * @format int32
23
+ */
24
+ refId?: number;
21
25
  /**
22
26
  * @format int64
23
27
  */
@@ -0,0 +1,7 @@
1
+ export interface FeatureDto {
2
+ active?: boolean;
3
+ name?: string;
4
+ params?: {
5
+ [key: string]: number;
6
+ };
7
+ }
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -1,8 +1,9 @@
1
- import type { StageDto } from '../schemas/StageDto';
1
+ import type { LtcStageDto } from '../schemas/LtcStageDto';
2
2
  export interface LtcConfigurationDto {
3
- build?: StageDto;
4
- coding?: StageDto;
5
- deployment?: StageDto;
6
- planning?: StageDto;
7
- review?: StageDto;
3
+ active?: boolean;
4
+ build?: LtcStageDto;
5
+ coding?: LtcStageDto;
6
+ deploy?: LtcStageDto;
7
+ planning?: LtcStageDto;
8
+ review?: LtcStageDto;
8
9
  }
@@ -0,0 +1,7 @@
1
+ import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
2
+ export interface LtcStageDto {
3
+ active?: boolean;
4
+ endEvent?: EfficiencyProfileEvent;
5
+ name?: string;
6
+ startEvent?: EfficiencyProfileEvent;
7
+ }
@@ -1,4 +1,5 @@
1
- import type { EventWrapperDto } from '../schemas/EventWrapperDto';
1
+ import type { EfficiencyProfileEvent } from '../schemas/EfficiencyProfileEvent';
2
2
  export interface MttrConfigurationDto {
3
- event?: EventWrapperDto;
3
+ active?: boolean;
4
+ event?: EfficiencyProfileEvent;
4
5
  }
@@ -0,0 +1,11 @@
1
+ export interface OrgTreeCreateRequestDto {
2
+ /**
3
+ * @format int32
4
+ */
5
+ efficiencyProfileRefId?: number;
6
+ name: string;
7
+ /**
8
+ * @format int32
9
+ */
10
+ productivityProfileRefId?: number;
11
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -18,7 +18,7 @@ export interface ProductivityFeatureRequestDto {
18
18
  * @format int32
19
19
  */
20
20
  page_size?: number;
21
- sortBy?: 'AVG_TIME_TO_MERGE' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CHANGES' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_CYCLE_TIME' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_ID' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
21
+ sortBy?: 'AVG_TIME_TO_MERGE' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
22
22
  sortByCriteria?: 'ASC' | 'DESC';
23
23
  stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
24
24
  /**
@@ -1,11 +1,6 @@
1
- import type { ProductivitySection } from '../schemas/ProductivitySection';
1
+ import type { SectionDto } from '../schemas/SectionDto';
2
2
  export interface ProductivityProfileCreateRequestDto {
3
3
  description?: string;
4
4
  name: string;
5
- params?: {
6
- [key: string]: {
7
- [key: string]: any;
8
- };
9
- };
10
- sections: ProductivitySection[];
5
+ sections?: SectionDto[];
11
6
  }
@@ -1,4 +1,4 @@
1
- import type { ProductivitySection } from '../schemas/ProductivitySection';
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
- params?: {
15
- [key: string]: {
16
- [key: string]: any;
17
- };
18
- };
19
- sections: ProductivitySection[];
14
+ /**
15
+ * @format int32
16
+ */
17
+ refId?: number;
18
+ sections?: SectionDto[];
20
19
  /**
21
20
  * @format int64
22
21
  */
@@ -0,0 +1,6 @@
1
+ import type { FeatureDto } from '../schemas/FeatureDto';
2
+ export interface SectionDto {
3
+ active?: boolean;
4
+ features?: FeatureDto[];
5
+ name?: string;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.17.4",
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
- }
@@ -1,4 +0,0 @@
1
- export interface EventWrapperDto {
2
- category: string;
3
- value?: string;
4
- }
@@ -1,5 +0,0 @@
1
- export interface ProductivityFeature {
2
- description?: string;
3
- feature_type?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
4
- name?: string;
5
- }
@@ -1,6 +0,0 @@
1
- import type { ProductivityFeature } from '../schemas/ProductivityFeature';
2
- export interface ProductivitySection {
3
- description?: string;
4
- name?: string;
5
- productivity_features?: ProductivityFeature[];
6
- }
@@ -1,11 +0,0 @@
1
- import type { EventWrapperDto } from '../schemas/EventWrapperDto';
2
- export interface StageDto {
3
- enabled?: boolean;
4
- endEvent?: EventWrapperDto;
5
- name?: string;
6
- startEvent?: EventWrapperDto;
7
- /**
8
- * @format int32
9
- */
10
- targetValue?: number;
11
- }