@harnessio/react-sei-panorama-service-client 0.12.0 → 0.13.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 (75) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerCreateProfileMutation.d.ts +17 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerCreateProfileMutation.js +11 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerGetProfileQuery.d.ts +20 -0
  4. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerGetProfileQuery.js +11 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerListProfilesQuery.d.ts +24 -0
  6. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerListProfilesQuery.js +11 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerUpdateProfileMutation.d.ts +23 -0
  8. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerUpdateProfileMutation.js +11 -0
  9. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerCreateSettingsMutation.d.ts +21 -0
  10. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerCreateSettingsMutation.js +11 -0
  11. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerGetSettingsQuery.d.ts +18 -0
  12. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerGetSettingsQuery.js +11 -0
  13. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerUpdateSettingsMutation.d.ts +21 -0
  14. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerUpdateSettingsMutation.js +11 -0
  15. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerCreateProfileMutation.d.ts +17 -0
  16. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerCreateProfileMutation.js +11 -0
  17. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileQuery.d.ts +20 -0
  18. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileQuery.js +11 -0
  19. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerListProfilesQuery.d.ts +24 -0
  20. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerListProfilesQuery.js +11 -0
  21. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerUpdateProfileMutation.d.ts +23 -0
  22. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerUpdateProfileMutation.js +11 -0
  23. package/dist/sei-panorama-service/src/services/index.d.ts +47 -0
  24. package/dist/sei-panorama-service/src/services/index.js +11 -0
  25. package/dist/sei-panorama-service/src/services/schemas/AdditionalFilters.d.ts +5 -0
  26. package/dist/sei-panorama-service/src/services/schemas/AdditionalFilters.js +1 -0
  27. package/dist/sei-panorama-service/src/services/schemas/ChangeFailureRateConfiguration.d.ts +8 -0
  28. package/dist/sei-panorama-service/src/services/schemas/ChangeFailureRateConfiguration.js +1 -0
  29. package/dist/sei-panorama-service/src/services/schemas/Condition.d.ts +5 -0
  30. package/dist/sei-panorama-service/src/services/schemas/Condition.js +4 -0
  31. package/dist/sei-panorama-service/src/services/schemas/DbListResponseEfficiencyProfileResponseDto.d.ts +16 -0
  32. package/dist/sei-panorama-service/src/services/schemas/DbListResponseEfficiencyProfileResponseDto.js +1 -0
  33. package/dist/sei-panorama-service/src/services/schemas/DbListResponseProductivityProfileResponseDto.d.ts +16 -0
  34. package/dist/sei-panorama-service/src/services/schemas/DbListResponseProductivityProfileResponseDto.js +1 -0
  35. package/dist/sei-panorama-service/src/services/schemas/DeploymentConfiguration.d.ts +6 -0
  36. package/dist/sei-panorama-service/src/services/schemas/DeploymentConfiguration.js +1 -0
  37. package/dist/sei-panorama-service/src/services/schemas/DeploymentFrequencyConfiguration.d.ts +7 -0
  38. package/dist/sei-panorama-service/src/services/schemas/DeploymentFrequencyConfiguration.js +1 -0
  39. package/dist/sei-panorama-service/src/services/schemas/DoraMetadata.d.ts +5 -0
  40. package/dist/sei-panorama-service/src/services/schemas/DoraMetadata.js +4 -0
  41. package/dist/sei-panorama-service/src/services/schemas/DoraStage.d.ts +22 -0
  42. package/dist/sei-panorama-service/src/services/schemas/DoraStage.js +1 -0
  43. package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileCreateRequestDto.d.ts +11 -0
  44. package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileCreateRequestDto.js +1 -0
  45. package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileResponseDto.d.ts +25 -0
  46. package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileResponseDto.js +1 -0
  47. package/dist/sei-panorama-service/src/services/schemas/Event.d.ts +7 -0
  48. package/dist/sei-panorama-service/src/services/schemas/Event.js +1 -0
  49. package/dist/sei-panorama-service/src/services/schemas/FilterCriteria.d.ts +7 -0
  50. package/dist/sei-panorama-service/src/services/schemas/FilterCriteria.js +4 -0
  51. package/dist/sei-panorama-service/src/services/schemas/FilterGroup.d.ts +4 -0
  52. package/dist/sei-panorama-service/src/services/schemas/FilterGroup.js +1 -0
  53. package/dist/sei-panorama-service/src/services/schemas/Filters.d.ts +5 -0
  54. package/dist/sei-panorama-service/src/services/schemas/Filters.js +1 -0
  55. package/dist/sei-panorama-service/src/services/schemas/InsightEfficiencySettingsDto.d.ts +6 -0
  56. package/dist/sei-panorama-service/src/services/schemas/InsightEfficiencySettingsDto.js +4 -0
  57. package/dist/sei-panorama-service/src/services/schemas/InsightProductivitySettingsDto.d.ts +9 -0
  58. package/dist/sei-panorama-service/src/services/schemas/InsightProductivitySettingsDto.js +4 -0
  59. package/dist/sei-panorama-service/src/services/schemas/InsightSettingsCreateRequestDto.d.ts +6 -0
  60. package/dist/sei-panorama-service/src/services/schemas/InsightSettingsCreateRequestDto.js +1 -0
  61. package/dist/sei-panorama-service/src/services/schemas/InsightSettingsResponseDto.d.ts +24 -0
  62. package/dist/sei-panorama-service/src/services/schemas/InsightSettingsResponseDto.js +1 -0
  63. package/dist/sei-panorama-service/src/services/schemas/MetricConfiguration.d.ts +9 -0
  64. package/dist/sei-panorama-service/src/services/schemas/MetricConfiguration.js +1 -0
  65. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeature.d.ts +5 -0
  66. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeature.js +4 -0
  67. package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileCreateRequestDto.d.ts +11 -0
  68. package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileCreateRequestDto.js +1 -0
  69. package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileResponseDto.d.ts +25 -0
  70. package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileResponseDto.js +1 -0
  71. package/dist/sei-panorama-service/src/services/schemas/ProductivitySection.d.ts +6 -0
  72. package/dist/sei-panorama-service/src/services/schemas/ProductivitySection.js +1 -0
  73. package/dist/sei-panorama-service/src/services/schemas/Resolution.d.ts +4 -0
  74. package/dist/sei-panorama-service/src/services/schemas/Resolution.js +1 -0
  75. package/package.json +1 -1
@@ -0,0 +1,17 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { EfficiencyProfileResponseDto } from '../schemas/EfficiencyProfileResponseDto';
3
+ import type { EfficiencyProfileCreateRequestDto } from '../schemas/EfficiencyProfileCreateRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface EfficiencyProfileControllerCreateProfileMutationQueryParams {
7
+ accountIdentifier: string;
8
+ }
9
+ export type EfficiencyProfileControllerCreateProfileRequestBody = EfficiencyProfileCreateRequestDto;
10
+ export type EfficiencyProfileControllerCreateProfileOkResponse = ResponseWithPagination<EfficiencyProfileResponseDto>;
11
+ export type EfficiencyProfileControllerCreateProfileErrorResponse = unknown;
12
+ export interface EfficiencyProfileControllerCreateProfileProps extends Omit<FetcherOptions<EfficiencyProfileControllerCreateProfileMutationQueryParams, EfficiencyProfileControllerCreateProfileRequestBody>, 'url'> {
13
+ queryParams: EfficiencyProfileControllerCreateProfileMutationQueryParams;
14
+ body: EfficiencyProfileControllerCreateProfileRequestBody;
15
+ }
16
+ export declare function efficiencyProfileControllerCreateProfile(props: EfficiencyProfileControllerCreateProfileProps): Promise<EfficiencyProfileControllerCreateProfileOkResponse>;
17
+ export declare function useEfficiencyProfileControllerCreateProfileMutation(options?: Omit<UseMutationOptions<EfficiencyProfileControllerCreateProfileOkResponse, EfficiencyProfileControllerCreateProfileErrorResponse, EfficiencyProfileControllerCreateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EfficiencyProfileControllerCreateProfileOkResponse, unknown, EfficiencyProfileControllerCreateProfileProps, 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 efficiencyProfileControllerCreateProfile(props) {
7
+ return fetcher(Object.assign({ url: `/v2/profiles/efficiency`, method: 'POST' }, props));
8
+ }
9
+ export function useEfficiencyProfileControllerCreateProfileMutation(options) {
10
+ return useMutation((mutateProps) => efficiencyProfileControllerCreateProfile(mutateProps), options);
11
+ }
@@ -0,0 +1,20 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { EfficiencyProfileResponseDto } from '../schemas/EfficiencyProfileResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface EfficiencyProfileControllerGetProfileQueryPathParams {
6
+ /**
7
+ * @format int32
8
+ */
9
+ id: number;
10
+ }
11
+ export interface EfficiencyProfileControllerGetProfileQueryQueryParams {
12
+ accountIdentifier: string;
13
+ }
14
+ export type EfficiencyProfileControllerGetProfileOkResponse = ResponseWithPagination<EfficiencyProfileResponseDto>;
15
+ export type EfficiencyProfileControllerGetProfileErrorResponse = unknown;
16
+ export interface EfficiencyProfileControllerGetProfileProps extends EfficiencyProfileControllerGetProfileQueryPathParams, Omit<FetcherOptions<EfficiencyProfileControllerGetProfileQueryQueryParams, unknown>, 'url'> {
17
+ queryParams: EfficiencyProfileControllerGetProfileQueryQueryParams;
18
+ }
19
+ export declare function efficiencyProfileControllerGetProfile(props: EfficiencyProfileControllerGetProfileProps): Promise<EfficiencyProfileControllerGetProfileOkResponse>;
20
+ export declare function useEfficiencyProfileControllerGetProfileQuery(props: EfficiencyProfileControllerGetProfileProps, options?: Omit<UseQueryOptions<EfficiencyProfileControllerGetProfileOkResponse, EfficiencyProfileControllerGetProfileErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<EfficiencyProfileControllerGetProfileOkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function efficiencyProfileControllerGetProfile(props) {
7
+ return fetcher(Object.assign({ url: `/v2/profiles/efficiency/${props.id}`, method: 'GET' }, props));
8
+ }
9
+ export function useEfficiencyProfileControllerGetProfileQuery(props, options) {
10
+ return useQuery(['EfficiencyProfileControllerGetProfile', props.id, props.queryParams], ({ signal }) => efficiencyProfileControllerGetProfile(Object.assign(Object.assign({}, props), { signal })), options);
11
+ }
@@ -0,0 +1,24 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { DbListResponseEfficiencyProfileResponseDto } from '../schemas/DbListResponseEfficiencyProfileResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface EfficiencyProfileControllerListProfilesQueryQueryParams {
6
+ /**
7
+ * @format int32
8
+ * @default 0
9
+ */
10
+ pageIndex?: number;
11
+ /**
12
+ * @format int32
13
+ * @default 50
14
+ */
15
+ pageSize?: number;
16
+ account: string;
17
+ }
18
+ export type EfficiencyProfileControllerListProfilesOkResponse = ResponseWithPagination<DbListResponseEfficiencyProfileResponseDto>;
19
+ export type EfficiencyProfileControllerListProfilesErrorResponse = unknown;
20
+ export interface EfficiencyProfileControllerListProfilesProps extends Omit<FetcherOptions<EfficiencyProfileControllerListProfilesQueryQueryParams, unknown>, 'url'> {
21
+ queryParams: EfficiencyProfileControllerListProfilesQueryQueryParams;
22
+ }
23
+ export declare function efficiencyProfileControllerListProfiles(props: EfficiencyProfileControllerListProfilesProps): Promise<EfficiencyProfileControllerListProfilesOkResponse>;
24
+ export declare function useEfficiencyProfileControllerListProfilesQuery(props: EfficiencyProfileControllerListProfilesProps, options?: Omit<UseQueryOptions<EfficiencyProfileControllerListProfilesOkResponse, EfficiencyProfileControllerListProfilesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<EfficiencyProfileControllerListProfilesOkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function efficiencyProfileControllerListProfiles(props) {
7
+ return fetcher(Object.assign({ url: `/v2/profiles/efficiency/list`, method: 'GET' }, props));
8
+ }
9
+ export function useEfficiencyProfileControllerListProfilesQuery(props, options) {
10
+ return useQuery(['EfficiencyProfileControllerListProfiles', props.queryParams], ({ signal }) => efficiencyProfileControllerListProfiles(Object.assign(Object.assign({}, props), { signal })), options);
11
+ }
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { EfficiencyProfileResponseDto } from '../schemas/EfficiencyProfileResponseDto';
3
+ import type { EfficiencyProfileCreateRequestDto } from '../schemas/EfficiencyProfileCreateRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface EfficiencyProfileControllerUpdateProfileMutationPathParams {
7
+ /**
8
+ * @format int32
9
+ */
10
+ id: number;
11
+ }
12
+ export interface EfficiencyProfileControllerUpdateProfileMutationQueryParams {
13
+ accountIdentifier: string;
14
+ }
15
+ export type EfficiencyProfileControllerUpdateProfileRequestBody = EfficiencyProfileCreateRequestDto;
16
+ export type EfficiencyProfileControllerUpdateProfileOkResponse = ResponseWithPagination<EfficiencyProfileResponseDto>;
17
+ export type EfficiencyProfileControllerUpdateProfileErrorResponse = unknown;
18
+ export interface EfficiencyProfileControllerUpdateProfileProps extends EfficiencyProfileControllerUpdateProfileMutationPathParams, Omit<FetcherOptions<EfficiencyProfileControllerUpdateProfileMutationQueryParams, EfficiencyProfileControllerUpdateProfileRequestBody>, 'url'> {
19
+ queryParams: EfficiencyProfileControllerUpdateProfileMutationQueryParams;
20
+ body: EfficiencyProfileControllerUpdateProfileRequestBody;
21
+ }
22
+ export declare function efficiencyProfileControllerUpdateProfile(props: EfficiencyProfileControllerUpdateProfileProps): Promise<EfficiencyProfileControllerUpdateProfileOkResponse>;
23
+ export declare function useEfficiencyProfileControllerUpdateProfileMutation(options?: Omit<UseMutationOptions<EfficiencyProfileControllerUpdateProfileOkResponse, EfficiencyProfileControllerUpdateProfileErrorResponse, EfficiencyProfileControllerUpdateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<EfficiencyProfileControllerUpdateProfileOkResponse, unknown, EfficiencyProfileControllerUpdateProfileProps, 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 efficiencyProfileControllerUpdateProfile(props) {
7
+ return fetcher(Object.assign({ url: `/v2/profiles/efficiency/${props.id}`, method: 'PUT' }, props));
8
+ }
9
+ export function useEfficiencyProfileControllerUpdateProfileMutation(options) {
10
+ return useMutation((mutateProps) => efficiencyProfileControllerUpdateProfile(mutateProps), options);
11
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { InsightSettingsResponseDto } from '../schemas/InsightSettingsResponseDto';
3
+ import type { InsightSettingsCreateRequestDto } from '../schemas/InsightSettingsCreateRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface InsightSettingsControllerCreateSettingsMutationQueryParams {
7
+ /**
8
+ * @format int32
9
+ */
10
+ workspaceId: number;
11
+ accountIdentifier: string;
12
+ }
13
+ export type InsightSettingsControllerCreateSettingsRequestBody = InsightSettingsCreateRequestDto;
14
+ export type InsightSettingsControllerCreateSettingsOkResponse = ResponseWithPagination<InsightSettingsResponseDto>;
15
+ export type InsightSettingsControllerCreateSettingsErrorResponse = unknown;
16
+ export interface InsightSettingsControllerCreateSettingsProps extends Omit<FetcherOptions<InsightSettingsControllerCreateSettingsMutationQueryParams, InsightSettingsControllerCreateSettingsRequestBody>, 'url'> {
17
+ queryParams: InsightSettingsControllerCreateSettingsMutationQueryParams;
18
+ body: InsightSettingsControllerCreateSettingsRequestBody;
19
+ }
20
+ export declare function insightSettingsControllerCreateSettings(props: InsightSettingsControllerCreateSettingsProps): Promise<InsightSettingsControllerCreateSettingsOkResponse>;
21
+ export declare function useInsightSettingsControllerCreateSettingsMutation(options?: Omit<UseMutationOptions<InsightSettingsControllerCreateSettingsOkResponse, InsightSettingsControllerCreateSettingsErrorResponse, InsightSettingsControllerCreateSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<InsightSettingsControllerCreateSettingsOkResponse, unknown, InsightSettingsControllerCreateSettingsProps, 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 insightSettingsControllerCreateSettings(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insight-settings`, method: 'POST' }, props));
8
+ }
9
+ export function useInsightSettingsControllerCreateSettingsMutation(options) {
10
+ return useMutation((mutateProps) => insightSettingsControllerCreateSettings(mutateProps), options);
11
+ }
@@ -0,0 +1,18 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { InsightSettingsResponseDto } from '../schemas/InsightSettingsResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface InsightSettingsControllerGetSettingsQueryQueryParams {
6
+ /**
7
+ * @format int32
8
+ */
9
+ workspaceId: number;
10
+ accountIdentifier: string;
11
+ }
12
+ export type InsightSettingsControllerGetSettingsOkResponse = ResponseWithPagination<InsightSettingsResponseDto>;
13
+ export type InsightSettingsControllerGetSettingsErrorResponse = unknown;
14
+ export interface InsightSettingsControllerGetSettingsProps extends Omit<FetcherOptions<InsightSettingsControllerGetSettingsQueryQueryParams, unknown>, 'url'> {
15
+ queryParams: InsightSettingsControllerGetSettingsQueryQueryParams;
16
+ }
17
+ export declare function insightSettingsControllerGetSettings(props: InsightSettingsControllerGetSettingsProps): Promise<InsightSettingsControllerGetSettingsOkResponse>;
18
+ export declare function useInsightSettingsControllerGetSettingsQuery(props: InsightSettingsControllerGetSettingsProps, options?: Omit<UseQueryOptions<InsightSettingsControllerGetSettingsOkResponse, InsightSettingsControllerGetSettingsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<InsightSettingsControllerGetSettingsOkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function insightSettingsControllerGetSettings(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insight-settings`, method: 'GET' }, props));
8
+ }
9
+ export function useInsightSettingsControllerGetSettingsQuery(props, options) {
10
+ return useQuery(['InsightSettingsControllerGetSettings', props.queryParams], ({ signal }) => insightSettingsControllerGetSettings(Object.assign(Object.assign({}, props), { signal })), options);
11
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { InsightSettingsResponseDto } from '../schemas/InsightSettingsResponseDto';
3
+ import type { InsightSettingsCreateRequestDto } from '../schemas/InsightSettingsCreateRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface InsightSettingsControllerUpdateSettingsMutationQueryParams {
7
+ /**
8
+ * @format int32
9
+ */
10
+ workspaceId: number;
11
+ accountIdentifier: string;
12
+ }
13
+ export type InsightSettingsControllerUpdateSettingsRequestBody = InsightSettingsCreateRequestDto;
14
+ export type InsightSettingsControllerUpdateSettingsOkResponse = ResponseWithPagination<InsightSettingsResponseDto>;
15
+ export type InsightSettingsControllerUpdateSettingsErrorResponse = unknown;
16
+ export interface InsightSettingsControllerUpdateSettingsProps extends Omit<FetcherOptions<InsightSettingsControllerUpdateSettingsMutationQueryParams, InsightSettingsControllerUpdateSettingsRequestBody>, 'url'> {
17
+ queryParams: InsightSettingsControllerUpdateSettingsMutationQueryParams;
18
+ body: InsightSettingsControllerUpdateSettingsRequestBody;
19
+ }
20
+ export declare function insightSettingsControllerUpdateSettings(props: InsightSettingsControllerUpdateSettingsProps): Promise<InsightSettingsControllerUpdateSettingsOkResponse>;
21
+ export declare function useInsightSettingsControllerUpdateSettingsMutation(options?: Omit<UseMutationOptions<InsightSettingsControllerUpdateSettingsOkResponse, InsightSettingsControllerUpdateSettingsErrorResponse, InsightSettingsControllerUpdateSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<InsightSettingsControllerUpdateSettingsOkResponse, unknown, InsightSettingsControllerUpdateSettingsProps, 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 insightSettingsControllerUpdateSettings(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insight-settings`, method: 'PUT' }, props));
8
+ }
9
+ export function useInsightSettingsControllerUpdateSettingsMutation(options) {
10
+ return useMutation((mutateProps) => insightSettingsControllerUpdateSettings(mutateProps), options);
11
+ }
@@ -0,0 +1,17 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ProductivityProfileResponseDto } from '../schemas/ProductivityProfileResponseDto';
3
+ import type { ProductivityProfileCreateRequestDto } from '../schemas/ProductivityProfileCreateRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface ProductivityProfileControllerCreateProfileMutationQueryParams {
7
+ accountIdentifier: string;
8
+ }
9
+ export type ProductivityProfileControllerCreateProfileRequestBody = ProductivityProfileCreateRequestDto;
10
+ export type ProductivityProfileControllerCreateProfileOkResponse = ResponseWithPagination<ProductivityProfileResponseDto>;
11
+ export type ProductivityProfileControllerCreateProfileErrorResponse = unknown;
12
+ export interface ProductivityProfileControllerCreateProfileProps extends Omit<FetcherOptions<ProductivityProfileControllerCreateProfileMutationQueryParams, ProductivityProfileControllerCreateProfileRequestBody>, 'url'> {
13
+ queryParams: ProductivityProfileControllerCreateProfileMutationQueryParams;
14
+ body: ProductivityProfileControllerCreateProfileRequestBody;
15
+ }
16
+ export declare function productivityProfileControllerCreateProfile(props: ProductivityProfileControllerCreateProfileProps): Promise<ProductivityProfileControllerCreateProfileOkResponse>;
17
+ export declare function useProductivityProfileControllerCreateProfileMutation(options?: Omit<UseMutationOptions<ProductivityProfileControllerCreateProfileOkResponse, ProductivityProfileControllerCreateProfileErrorResponse, ProductivityProfileControllerCreateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ProductivityProfileControllerCreateProfileOkResponse, unknown, ProductivityProfileControllerCreateProfileProps, 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 productivityProfileControllerCreateProfile(props) {
7
+ return fetcher(Object.assign({ url: `/v2/profiles/productivity`, method: 'POST' }, props));
8
+ }
9
+ export function useProductivityProfileControllerCreateProfileMutation(options) {
10
+ return useMutation((mutateProps) => productivityProfileControllerCreateProfile(mutateProps), options);
11
+ }
@@ -0,0 +1,20 @@
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>;
@@ -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 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
+ }
@@ -0,0 +1,24 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { DbListResponseProductivityProfileResponseDto } from '../schemas/DbListResponseProductivityProfileResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface ProductivityProfileControllerListProfilesQueryQueryParams {
6
+ /**
7
+ * @format int32
8
+ * @default 0
9
+ */
10
+ pageIndex?: number;
11
+ /**
12
+ * @format int32
13
+ * @default 50
14
+ */
15
+ pageSize?: number;
16
+ accountIdentifier: string;
17
+ }
18
+ export type ProductivityProfileControllerListProfilesOkResponse = ResponseWithPagination<DbListResponseProductivityProfileResponseDto>;
19
+ export type ProductivityProfileControllerListProfilesErrorResponse = unknown;
20
+ export interface ProductivityProfileControllerListProfilesProps extends Omit<FetcherOptions<ProductivityProfileControllerListProfilesQueryQueryParams, unknown>, 'url'> {
21
+ queryParams: ProductivityProfileControllerListProfilesQueryQueryParams;
22
+ }
23
+ export declare function productivityProfileControllerListProfiles(props: ProductivityProfileControllerListProfilesProps): Promise<ProductivityProfileControllerListProfilesOkResponse>;
24
+ export declare function useProductivityProfileControllerListProfilesQuery(props: ProductivityProfileControllerListProfilesProps, options?: Omit<UseQueryOptions<ProductivityProfileControllerListProfilesOkResponse, ProductivityProfileControllerListProfilesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ProductivityProfileControllerListProfilesOkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function productivityProfileControllerListProfiles(props) {
7
+ return fetcher(Object.assign({ url: `/v2/profiles/productivity/list`, method: 'GET' }, props));
8
+ }
9
+ export function useProductivityProfileControllerListProfilesQuery(props, options) {
10
+ return useQuery(['ProductivityProfileControllerListProfiles', props.queryParams], ({ signal }) => productivityProfileControllerListProfiles(Object.assign(Object.assign({}, props), { signal })), options);
11
+ }
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ProductivityProfileResponseDto } from '../schemas/ProductivityProfileResponseDto';
3
+ import type { ProductivityProfileCreateRequestDto } from '../schemas/ProductivityProfileCreateRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface ProductivityProfileControllerUpdateProfileMutationPathParams {
7
+ /**
8
+ * @format int32
9
+ */
10
+ id: number;
11
+ }
12
+ export interface ProductivityProfileControllerUpdateProfileMutationQueryParams {
13
+ accountIdentifier: string;
14
+ }
15
+ export type ProductivityProfileControllerUpdateProfileRequestBody = ProductivityProfileCreateRequestDto;
16
+ export type ProductivityProfileControllerUpdateProfileOkResponse = ResponseWithPagination<ProductivityProfileResponseDto>;
17
+ export type ProductivityProfileControllerUpdateProfileErrorResponse = unknown;
18
+ export interface ProductivityProfileControllerUpdateProfileProps extends ProductivityProfileControllerUpdateProfileMutationPathParams, Omit<FetcherOptions<ProductivityProfileControllerUpdateProfileMutationQueryParams, ProductivityProfileControllerUpdateProfileRequestBody>, 'url'> {
19
+ queryParams: ProductivityProfileControllerUpdateProfileMutationQueryParams;
20
+ body: ProductivityProfileControllerUpdateProfileRequestBody;
21
+ }
22
+ 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>;
@@ -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 productivityProfileControllerUpdateProfile(props) {
7
+ return fetcher(Object.assign({ url: `/v2/profiles/productivity/${props.id}`, method: 'PUT' }, props));
8
+ }
9
+ export function useProductivityProfileControllerUpdateProfileMutation(options) {
10
+ return useMutation((mutateProps) => productivityProfileControllerUpdateProfile(mutateProps), options);
11
+ }
@@ -43,6 +43,20 @@ export type { DoraControllerMttrBreakdownErrorResponse, DoraControllerMttrBreakd
43
43
  export { doraControllerMttrBreakdown, useDoraControllerMttrBreakdownQuery, } from './hooks/useDoraControllerMttrBreakdownQuery';
44
44
  export type { DoraControllerSummaryErrorResponse, DoraControllerSummaryOkResponse, DoraControllerSummaryProps, DoraControllerSummaryQueryQueryParams, DoraControllerSummaryRequestBody, } from './hooks/useDoraControllerSummaryQuery';
45
45
  export { doraControllerSummary, useDoraControllerSummaryQuery, } from './hooks/useDoraControllerSummaryQuery';
46
+ export type { EfficiencyProfileControllerCreateProfileErrorResponse, EfficiencyProfileControllerCreateProfileMutationQueryParams, EfficiencyProfileControllerCreateProfileOkResponse, EfficiencyProfileControllerCreateProfileProps, EfficiencyProfileControllerCreateProfileRequestBody, } from './hooks/useEfficiencyProfileControllerCreateProfileMutation';
47
+ export { efficiencyProfileControllerCreateProfile, useEfficiencyProfileControllerCreateProfileMutation, } from './hooks/useEfficiencyProfileControllerCreateProfileMutation';
48
+ export type { EfficiencyProfileControllerGetProfileErrorResponse, EfficiencyProfileControllerGetProfileOkResponse, EfficiencyProfileControllerGetProfileProps, EfficiencyProfileControllerGetProfileQueryPathParams, EfficiencyProfileControllerGetProfileQueryQueryParams, } from './hooks/useEfficiencyProfileControllerGetProfileQuery';
49
+ export { efficiencyProfileControllerGetProfile, useEfficiencyProfileControllerGetProfileQuery, } from './hooks/useEfficiencyProfileControllerGetProfileQuery';
50
+ export type { EfficiencyProfileControllerListProfilesErrorResponse, EfficiencyProfileControllerListProfilesOkResponse, EfficiencyProfileControllerListProfilesProps, EfficiencyProfileControllerListProfilesQueryQueryParams, } from './hooks/useEfficiencyProfileControllerListProfilesQuery';
51
+ export { efficiencyProfileControllerListProfiles, useEfficiencyProfileControllerListProfilesQuery, } from './hooks/useEfficiencyProfileControllerListProfilesQuery';
52
+ export type { EfficiencyProfileControllerUpdateProfileErrorResponse, EfficiencyProfileControllerUpdateProfileMutationPathParams, EfficiencyProfileControllerUpdateProfileMutationQueryParams, EfficiencyProfileControllerUpdateProfileOkResponse, EfficiencyProfileControllerUpdateProfileProps, EfficiencyProfileControllerUpdateProfileRequestBody, } from './hooks/useEfficiencyProfileControllerUpdateProfileMutation';
53
+ export { efficiencyProfileControllerUpdateProfile, useEfficiencyProfileControllerUpdateProfileMutation, } from './hooks/useEfficiencyProfileControllerUpdateProfileMutation';
54
+ export type { InsightSettingsControllerCreateSettingsErrorResponse, InsightSettingsControllerCreateSettingsMutationQueryParams, InsightSettingsControllerCreateSettingsOkResponse, InsightSettingsControllerCreateSettingsProps, InsightSettingsControllerCreateSettingsRequestBody, } from './hooks/useInsightSettingsControllerCreateSettingsMutation';
55
+ export { insightSettingsControllerCreateSettings, useInsightSettingsControllerCreateSettingsMutation, } from './hooks/useInsightSettingsControllerCreateSettingsMutation';
56
+ export type { InsightSettingsControllerGetSettingsErrorResponse, InsightSettingsControllerGetSettingsOkResponse, InsightSettingsControllerGetSettingsProps, InsightSettingsControllerGetSettingsQueryQueryParams, } from './hooks/useInsightSettingsControllerGetSettingsQuery';
57
+ export { insightSettingsControllerGetSettings, useInsightSettingsControllerGetSettingsQuery, } from './hooks/useInsightSettingsControllerGetSettingsQuery';
58
+ export type { InsightSettingsControllerUpdateSettingsErrorResponse, InsightSettingsControllerUpdateSettingsMutationQueryParams, InsightSettingsControllerUpdateSettingsOkResponse, InsightSettingsControllerUpdateSettingsProps, InsightSettingsControllerUpdateSettingsRequestBody, } from './hooks/useInsightSettingsControllerUpdateSettingsMutation';
59
+ export { insightSettingsControllerUpdateSettings, useInsightSettingsControllerUpdateSettingsMutation, } from './hooks/useInsightSettingsControllerUpdateSettingsMutation';
46
60
  export type { JiraIssuesControllerGetJiraIssueCountErrorResponse, JiraIssuesControllerGetJiraIssueCountOkResponse, JiraIssuesControllerGetJiraIssueCountProps, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
47
61
  export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
48
62
  export type { LegacyHealthControllerCheckErrorResponse, LegacyHealthControllerCheckOkResponse, LegacyHealthControllerCheckProps, } from './hooks/useLegacyHealthControllerCheckQuery';
@@ -55,49 +69,82 @@ export type { ProductivityControllerGetFeatureMetricsErrorResponse, Productivity
55
69
  export { productivityControllerGetFeatureMetrics, useProductivityControllerGetFeatureMetricsQuery, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
56
70
  export type { ProductivityControllerGetIndividualUserFeatureDrillDownErrorResponse, ProductivityControllerGetIndividualUserFeatureDrillDownOkResponse, ProductivityControllerGetIndividualUserFeatureDrillDownProps, ProductivityControllerGetIndividualUserFeatureDrillDownQueryQueryParams, ProductivityControllerGetIndividualUserFeatureDrillDownRequestBody, } from './hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery';
57
71
  export { productivityControllerGetIndividualUserFeatureDrillDown, useProductivityControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery';
72
+ export type { ProductivityProfileControllerCreateProfileErrorResponse, ProductivityProfileControllerCreateProfileMutationQueryParams, ProductivityProfileControllerCreateProfileOkResponse, ProductivityProfileControllerCreateProfileProps, ProductivityProfileControllerCreateProfileRequestBody, } from './hooks/useProductivityProfileControllerCreateProfileMutation';
73
+ export { productivityProfileControllerCreateProfile, useProductivityProfileControllerCreateProfileMutation, } from './hooks/useProductivityProfileControllerCreateProfileMutation';
74
+ export type { ProductivityProfileControllerGetProfileErrorResponse, ProductivityProfileControllerGetProfileOkResponse, ProductivityProfileControllerGetProfileProps, ProductivityProfileControllerGetProfileQueryPathParams, ProductivityProfileControllerGetProfileQueryQueryParams, } from './hooks/useProductivityProfileControllerGetProfileQuery';
75
+ export { productivityProfileControllerGetProfile, useProductivityProfileControllerGetProfileQuery, } from './hooks/useProductivityProfileControllerGetProfileQuery';
76
+ export type { ProductivityProfileControllerListProfilesErrorResponse, ProductivityProfileControllerListProfilesOkResponse, ProductivityProfileControllerListProfilesProps, ProductivityProfileControllerListProfilesQueryQueryParams, } from './hooks/useProductivityProfileControllerListProfilesQuery';
77
+ export { productivityProfileControllerListProfiles, useProductivityProfileControllerListProfilesQuery, } from './hooks/useProductivityProfileControllerListProfilesQuery';
78
+ export type { ProductivityProfileControllerUpdateProfileErrorResponse, ProductivityProfileControllerUpdateProfileMutationPathParams, ProductivityProfileControllerUpdateProfileMutationQueryParams, ProductivityProfileControllerUpdateProfileOkResponse, ProductivityProfileControllerUpdateProfileProps, ProductivityProfileControllerUpdateProfileRequestBody, } from './hooks/useProductivityProfileControllerUpdateProfileMutation';
79
+ export { productivityProfileControllerUpdateProfile, useProductivityProfileControllerUpdateProfileMutation, } from './hooks/useProductivityProfileControllerUpdateProfileMutation';
80
+ export type { AdditionalFilters } from './schemas/AdditionalFilters';
58
81
  export type { Category } from './schemas/Category';
59
82
  export type { CdDeploymentData } from './schemas/CdDeploymentData';
83
+ export type { ChangeFailureRateConfiguration } from './schemas/ChangeFailureRateConfiguration';
60
84
  export type { CiPipelineData } from './schemas/CiPipelineData';
61
85
  export type { CodeChangeStats } from './schemas/CodeChangeStats';
62
86
  export type { CollectionEnriched } from './schemas/CollectionEnriched';
63
87
  export type { CollectionFilter } from './schemas/CollectionFilter';
64
88
  export type { CollectionTree } from './schemas/CollectionTree';
89
+ export type { Condition } from './schemas/Condition';
65
90
  export type { DataPoint } from './schemas/DataPoint';
66
91
  export type { DataPointBreakdown } from './schemas/DataPointBreakdown';
67
92
  export type { DataPointChangeFailureRate } from './schemas/DataPointChangeFailureRate';
68
93
  export type { DataPointDeploymentFrequency } from './schemas/DataPointDeploymentFrequency';
69
94
  export type { DbListResponseCategory } from './schemas/DbListResponseCategory';
70
95
  export type { DbListResponseCollectionTree } from './schemas/DbListResponseCollectionTree';
96
+ export type { DbListResponseEfficiencyProfileResponseDto } from './schemas/DbListResponseEfficiencyProfileResponseDto';
97
+ export type { DbListResponseProductivityProfileResponseDto } from './schemas/DbListResponseProductivityProfileResponseDto';
98
+ export type { DeploymentConfiguration } from './schemas/DeploymentConfiguration';
99
+ export type { DeploymentFrequencyConfiguration } from './schemas/DeploymentFrequencyConfiguration';
71
100
  export type { DoraChangeFailureRateMetric } from './schemas/DoraChangeFailureRateMetric';
72
101
  export type { DoraChangeFailureRateMetricBreakdown } from './schemas/DoraChangeFailureRateMetricBreakdown';
73
102
  export type { DoraDeploymentFrequencyMetric } from './schemas/DoraDeploymentFrequencyMetric';
74
103
  export type { DoraDeploymentFrequencyMetricBreakdown } from './schemas/DoraDeploymentFrequencyMetricBreakdown';
75
104
  export type { DoraLttcMttrMetric } from './schemas/DoraLttcMttrMetric';
76
105
  export type { DoraLttcMttrMetricBreakdown } from './schemas/DoraLttcMttrMetricBreakdown';
106
+ export type { DoraMetadata } from './schemas/DoraMetadata';
77
107
  export type { DoraMetricDrilldownFiltersResponse } from './schemas/DoraMetricDrilldownFiltersResponse';
78
108
  export type { DoraMetricDrilldownRequest } from './schemas/DoraMetricDrilldownRequest';
79
109
  export type { DoraMetricDrilldownResponse } from './schemas/DoraMetricDrilldownResponse';
80
110
  export type { DoraRequest } from './schemas/DoraRequest';
111
+ export type { DoraStage } from './schemas/DoraStage';
81
112
  export type { DoraSummaryMetric } from './schemas/DoraSummaryMetric';
82
113
  export type { DoraSummaryRequest } from './schemas/DoraSummaryRequest';
83
114
  export type { DrilldownData } from './schemas/DrilldownData';
84
115
  export type { DrilldownDataPoint } from './schemas/DrilldownDataPoint';
116
+ export type { EfficiencyProfileCreateRequestDto } from './schemas/EfficiencyProfileCreateRequestDto';
117
+ export type { EfficiencyProfileResponseDto } from './schemas/EfficiencyProfileResponseDto';
118
+ export type { Event } from './schemas/Event';
119
+ export type { FilterCriteria } from './schemas/FilterCriteria';
120
+ export type { FilterGroup } from './schemas/FilterGroup';
121
+ export type { Filters } from './schemas/Filters';
85
122
  export type { IndividualDrilldownData } from './schemas/IndividualDrilldownData';
86
123
  export type { IndividualDrilldownDataPoint } from './schemas/IndividualDrilldownDataPoint';
124
+ export type { InsightEfficiencySettingsDto } from './schemas/InsightEfficiencySettingsDto';
125
+ export type { InsightProductivitySettingsDto } from './schemas/InsightProductivitySettingsDto';
126
+ export type { InsightSettingsCreateRequestDto } from './schemas/InsightSettingsCreateRequestDto';
127
+ export type { InsightSettingsResponseDto } from './schemas/InsightSettingsResponseDto';
87
128
  export type { IntegrationObject } from './schemas/IntegrationObject';
88
129
  export type { IssueManagementData } from './schemas/IssueManagementData';
130
+ export type { MetricConfiguration } from './schemas/MetricConfiguration';
89
131
  export type { PaginationInfo } from './schemas/PaginationInfo';
90
132
  export type { PaginationRequest } from './schemas/PaginationRequest';
91
133
  export type { PrSize } from './schemas/PrSize';
92
134
  export type { PrVelocityDrilldownResponseDataPoint } from './schemas/PrVelocityDrilldownResponseDataPoint';
93
135
  export type { PrVelocityIndividualDrilldownResponseDataPoint } from './schemas/PrVelocityIndividualDrilldownResponseDataPoint';
94
136
  export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
137
+ export type { ProductivityFeature } from './schemas/ProductivityFeature';
95
138
  export type { ProductivityFeatureBreakdownResponseDataPoint } from './schemas/ProductivityFeatureBreakdownResponseDataPoint';
96
139
  export type { ProductivityFeatureBreakdownResponseDto } from './schemas/ProductivityFeatureBreakdownResponseDto';
97
140
  export type { ProductivityFeatureDrilldownResponseDto } from './schemas/ProductivityFeatureDrilldownResponseDto';
98
141
  export type { ProductivityFeatureIndividualDrilldownResponseDto } from './schemas/ProductivityFeatureIndividualDrilldownResponseDto';
99
142
  export type { ProductivityFeatureRequestDto } from './schemas/ProductivityFeatureRequestDto';
100
143
  export type { ProductivityFeatureResponseDto } from './schemas/ProductivityFeatureResponseDto';
144
+ export type { ProductivityProfileCreateRequestDto } from './schemas/ProductivityProfileCreateRequestDto';
145
+ export type { ProductivityProfileResponseDto } from './schemas/ProductivityProfileResponseDto';
146
+ export type { ProductivitySection } from './schemas/ProductivitySection';
147
+ export type { Resolution } from './schemas/Resolution';
101
148
  export type { ScmCommitData } from './schemas/ScmCommitData';
102
149
  export type { Stage } from './schemas/Stage';
103
150
  export type { SummaryCard } from './schemas/SummaryCard';
@@ -20,9 +20,20 @@ export { doraControllerLeadTimeStages, useDoraControllerLeadTimeStagesQuery, } f
20
20
  export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreQuery, } from './hooks/useDoraControllerMeanTimeRestoreQuery';
21
21
  export { doraControllerMttrBreakdown, useDoraControllerMttrBreakdownQuery, } from './hooks/useDoraControllerMttrBreakdownQuery';
22
22
  export { doraControllerSummary, useDoraControllerSummaryQuery, } from './hooks/useDoraControllerSummaryQuery';
23
+ export { efficiencyProfileControllerCreateProfile, useEfficiencyProfileControllerCreateProfileMutation, } from './hooks/useEfficiencyProfileControllerCreateProfileMutation';
24
+ export { efficiencyProfileControllerGetProfile, useEfficiencyProfileControllerGetProfileQuery, } from './hooks/useEfficiencyProfileControllerGetProfileQuery';
25
+ export { efficiencyProfileControllerListProfiles, useEfficiencyProfileControllerListProfilesQuery, } from './hooks/useEfficiencyProfileControllerListProfilesQuery';
26
+ export { efficiencyProfileControllerUpdateProfile, useEfficiencyProfileControllerUpdateProfileMutation, } from './hooks/useEfficiencyProfileControllerUpdateProfileMutation';
27
+ export { insightSettingsControllerCreateSettings, useInsightSettingsControllerCreateSettingsMutation, } from './hooks/useInsightSettingsControllerCreateSettingsMutation';
28
+ export { insightSettingsControllerGetSettings, useInsightSettingsControllerGetSettingsQuery, } from './hooks/useInsightSettingsControllerGetSettingsQuery';
29
+ export { insightSettingsControllerUpdateSettings, useInsightSettingsControllerUpdateSettingsMutation, } from './hooks/useInsightSettingsControllerUpdateSettingsMutation';
23
30
  export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
24
31
  export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
25
32
  export { productivityControllerGetFeatureBreakdown, useProductivityControllerGetFeatureBreakdownQuery, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
26
33
  export { productivityControllerGetFeatureDrillDown, useProductivityControllerGetFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetFeatureDrillDownQuery';
27
34
  export { productivityControllerGetFeatureMetrics, useProductivityControllerGetFeatureMetricsQuery, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
28
35
  export { productivityControllerGetIndividualUserFeatureDrillDown, useProductivityControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery';
36
+ export { productivityProfileControllerCreateProfile, useProductivityProfileControllerCreateProfileMutation, } from './hooks/useProductivityProfileControllerCreateProfileMutation';
37
+ export { productivityProfileControllerGetProfile, useProductivityProfileControllerGetProfileQuery, } from './hooks/useProductivityProfileControllerGetProfileQuery';
38
+ export { productivityProfileControllerListProfiles, useProductivityProfileControllerListProfilesQuery, } from './hooks/useProductivityProfileControllerListProfilesQuery';
39
+ export { productivityProfileControllerUpdateProfile, useProductivityProfileControllerUpdateProfileMutation, } from './hooks/useProductivityProfileControllerUpdateProfileMutation';
@@ -0,0 +1,5 @@
1
+ import type { FilterGroup } from '../schemas/FilterGroup';
2
+ export interface AdditionalFilters {
3
+ cicd?: FilterGroup;
4
+ issue_management?: FilterGroup;
5
+ }
@@ -0,0 +1,8 @@
1
+ import type { DeploymentConfiguration } from '../schemas/DeploymentConfiguration';
2
+ import type { DoraMetadata } from '../schemas/DoraMetadata';
3
+ export interface ChangeFailureRateConfiguration {
4
+ base?: 'cicd';
5
+ failed_deployment?: DeploymentConfiguration;
6
+ metadata?: DoraMetadata;
7
+ total_deployment?: DeploymentConfiguration;
8
+ }
@@ -0,0 +1,5 @@
1
+ export interface Condition {
2
+ field?: string;
3
+ operator?: string;
4
+ values?: string[];
5
+ }
@@ -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,16 @@
1
+ import type { EfficiencyProfileResponseDto } from '../schemas/EfficiencyProfileResponseDto';
2
+ export interface DbListResponseEfficiencyProfileResponseDto {
3
+ /**
4
+ * @format int32
5
+ */
6
+ page?: number;
7
+ /**
8
+ * @format int32
9
+ */
10
+ page_size?: number;
11
+ records?: EfficiencyProfileResponseDto[];
12
+ /**
13
+ * @format int32
14
+ */
15
+ total_count?: number;
16
+ }
@@ -0,0 +1,16 @@
1
+ import type { ProductivityProfileResponseDto } from '../schemas/ProductivityProfileResponseDto';
2
+ export interface DbListResponseProductivityProfileResponseDto {
3
+ /**
4
+ * @format int32
5
+ */
6
+ page?: number;
7
+ /**
8
+ * @format int32
9
+ */
10
+ page_size?: number;
11
+ records?: ProductivityProfileResponseDto[];
12
+ /**
13
+ * @format int32
14
+ */
15
+ total_count?: number;
16
+ }
@@ -0,0 +1,6 @@
1
+ import type { AdditionalFilters } from '../schemas/AdditionalFilters';
2
+ import type { Event } from '../schemas/Event';
3
+ export interface DeploymentConfiguration {
4
+ additional_filters?: AdditionalFilters;
5
+ event?: Event;
6
+ }
@@ -0,0 +1,7 @@
1
+ import type { DoraMetadata } from '../schemas/DoraMetadata';
2
+ import type { DeploymentConfiguration } from '../schemas/DeploymentConfiguration';
3
+ export interface DeploymentFrequencyConfiguration {
4
+ base?: 'cicd';
5
+ metadata?: DoraMetadata;
6
+ total_deployment?: DeploymentConfiguration;
7
+ }
@@ -0,0 +1,5 @@
1
+ export interface DoraMetadata {
2
+ application?: string;
3
+ integration_ids?: number[];
4
+ integration_type?: 'cicd' | 'im' | 'scm';
5
+ }
@@ -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,22 @@
1
+ import type { Event } from '../schemas/Event';
2
+ export interface DoraStage {
3
+ display_name?: string;
4
+ enabled?: boolean;
5
+ end_event?: Event;
6
+ lower_limit_unit?: 'DAYS';
7
+ /**
8
+ * @format int32
9
+ */
10
+ lower_limit_value?: number;
11
+ name?: '' | 'Build' | 'Coding' | 'Deployment' | 'Planning' | 'Review';
12
+ /**
13
+ * @format int32
14
+ */
15
+ order?: number;
16
+ start_event?: Event;
17
+ upper_limit_unit?: 'DAYS';
18
+ /**
19
+ * @format int32
20
+ */
21
+ upper_limit_value?: number;
22
+ }
@@ -0,0 +1,11 @@
1
+ import type { ChangeFailureRateConfiguration } from '../schemas/ChangeFailureRateConfiguration';
2
+ import type { DeploymentFrequencyConfiguration } from '../schemas/DeploymentFrequencyConfiguration';
3
+ import type { MetricConfiguration } from '../schemas/MetricConfiguration';
4
+ export interface EfficiencyProfileCreateRequestDto {
5
+ changeFailureRate?: ChangeFailureRateConfiguration;
6
+ deploymentFrequency?: DeploymentFrequencyConfiguration;
7
+ description?: string;
8
+ leadTimeForChanges?: MetricConfiguration;
9
+ meanTimeToRestore?: MetricConfiguration;
10
+ name?: string;
11
+ }
@@ -0,0 +1,25 @@
1
+ import type { ChangeFailureRateConfiguration } from '../schemas/ChangeFailureRateConfiguration';
2
+ import type { DeploymentFrequencyConfiguration } from '../schemas/DeploymentFrequencyConfiguration';
3
+ import type { MetricConfiguration } from '../schemas/MetricConfiguration';
4
+ export interface EfficiencyProfileResponseDto {
5
+ changeFailureRate?: ChangeFailureRateConfiguration;
6
+ /**
7
+ * @format int64
8
+ */
9
+ createdAtEpochSec?: number;
10
+ createdByEmail?: string;
11
+ deploymentFrequency?: DeploymentFrequencyConfiguration;
12
+ description?: string;
13
+ /**
14
+ * @format int32
15
+ */
16
+ id?: number;
17
+ leadTimeForChanges?: MetricConfiguration;
18
+ meanTimeToRestore?: MetricConfiguration;
19
+ name?: string;
20
+ /**
21
+ * @format int64
22
+ */
23
+ updatedAtEpochSec?: number;
24
+ updatedByEmail?: string;
25
+ }
@@ -0,0 +1,7 @@
1
+ import type { Condition } from '../schemas/Condition';
2
+ export interface Event {
3
+ calculation_field?: string;
4
+ conditions?: Condition[];
5
+ type?: 'CICD_JOB_RUN' | 'ISSUE_RESOLUTION' | 'JIRA_STATUS' | 'JIRA_VERSION_RELEASE' | 'SCM_COMMIT_CREATED' | 'SCM_PR_CREATED' | 'SCM_PR_MERGED';
6
+ values?: string[];
7
+ }
@@ -0,0 +1,7 @@
1
+ export interface FilterCriteria {
2
+ field?: string;
3
+ operator?: string;
4
+ type?: string;
5
+ value?: string;
6
+ values?: string[];
7
+ }
@@ -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,4 @@
1
+ import type { Filters } from '../schemas/Filters';
2
+ export interface FilterGroup {
3
+ filters?: Filters;
4
+ }
@@ -0,0 +1,5 @@
1
+ import type { FilterCriteria } from '../schemas/FilterCriteria';
2
+ export interface Filters {
3
+ exclude?: FilterCriteria[];
4
+ include?: FilterCriteria[];
5
+ }
@@ -0,0 +1,6 @@
1
+ export interface InsightEfficiencySettingsDto {
2
+ changeFailureRate?: boolean;
3
+ deploymentFrequency?: boolean;
4
+ leadTimeForChanges?: boolean;
5
+ meanTimeToRestore?: boolean;
6
+ }
@@ -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,9 @@
1
+ export interface InsightProductivitySettingsDto {
2
+ codingDays?: boolean;
3
+ completedFeatures?: boolean;
4
+ cycleTime?: boolean;
5
+ linesOfCode?: boolean;
6
+ prComments?: boolean;
7
+ prVelocity?: boolean;
8
+ resolvedBugs?: boolean;
9
+ }
@@ -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,6 @@
1
+ import type { InsightEfficiencySettingsDto } from '../schemas/InsightEfficiencySettingsDto';
2
+ import type { InsightProductivitySettingsDto } from '../schemas/InsightProductivitySettingsDto';
3
+ export interface InsightSettingsCreateRequestDto {
4
+ efficiency: InsightEfficiencySettingsDto;
5
+ productivity: InsightProductivitySettingsDto;
6
+ }
@@ -0,0 +1,24 @@
1
+ import type { InsightEfficiencySettingsDto } from '../schemas/InsightEfficiencySettingsDto';
2
+ import type { InsightProductivitySettingsDto } from '../schemas/InsightProductivitySettingsDto';
3
+ export interface InsightSettingsResponseDto {
4
+ /**
5
+ * @format int64
6
+ */
7
+ createdAtEpochSec?: number;
8
+ createdByEmail?: string;
9
+ efficiency: InsightEfficiencySettingsDto;
10
+ /**
11
+ * @format int32
12
+ */
13
+ id?: number;
14
+ productivity: InsightProductivitySettingsDto;
15
+ /**
16
+ * @format int64
17
+ */
18
+ updatedAtEpochSec?: number;
19
+ updatedByEmail?: string;
20
+ /**
21
+ * @format int32
22
+ */
23
+ workspaceId?: number;
24
+ }
@@ -0,0 +1,9 @@
1
+ import type { AdditionalFilters } from '../schemas/AdditionalFilters';
2
+ import type { Resolution } from '../schemas/Resolution';
3
+ import type { DoraStage } from '../schemas/DoraStage';
4
+ export interface MetricConfiguration {
5
+ additional_filters?: AdditionalFilters;
6
+ base?: string;
7
+ resolution?: Resolution;
8
+ stages?: DoraStage[];
9
+ }
@@ -0,0 +1,5 @@
1
+ export interface ProductivityFeature {
2
+ description?: string;
3
+ feature_type?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_BUGS' | 'NUMBER_OF_COMMENTS_PER_PR' | 'NUMBER_OF_STORIES' | 'PR_VELOCITY';
4
+ name?: string;
5
+ }
@@ -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,11 @@
1
+ import type { ProductivitySection } from '../schemas/ProductivitySection';
2
+ export interface ProductivityProfileCreateRequestDto {
3
+ description?: string;
4
+ name: string;
5
+ params?: {
6
+ [key: string]: {
7
+ [key: string]: any;
8
+ };
9
+ };
10
+ sections: ProductivitySection[];
11
+ }
@@ -0,0 +1,25 @@
1
+ import type { ProductivitySection } from '../schemas/ProductivitySection';
2
+ export interface ProductivityProfileResponseDto {
3
+ /**
4
+ * @format int64
5
+ */
6
+ createdAtEpochSec?: number;
7
+ createdByEmail?: string;
8
+ description?: string;
9
+ /**
10
+ * @format int32
11
+ */
12
+ id?: number;
13
+ name: string;
14
+ params?: {
15
+ [key: string]: {
16
+ [key: string]: any;
17
+ };
18
+ };
19
+ sections: ProductivitySection[];
20
+ /**
21
+ * @format int64
22
+ */
23
+ updatedAtEpochSec?: number;
24
+ updatedByEmail?: string;
25
+ }
@@ -0,0 +1,6 @@
1
+ import type { ProductivityFeature } from '../schemas/ProductivityFeature';
2
+ export interface ProductivitySection {
3
+ description?: string;
4
+ name?: string;
5
+ productivity_features?: ProductivityFeature[];
6
+ }
@@ -0,0 +1,4 @@
1
+ import type { Event } from '../schemas/Event';
2
+ export interface Resolution {
3
+ event?: Event;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.12.0",
3
+ "version": "0.13.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",