@harnessio/react-sei-panorama-service-client 0.18.4 → 0.18.5

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 (80) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDeveloperUploadPreviewQuery.d.ts +19 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDeveloperUploadPreviewQuery.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDevelopersQuery.d.ts +24 -0
  4. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetDevelopersQuery.js +14 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetLatestDeveloperSchemaQuery.d.ts +19 -0
  6. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGetLatestDeveloperSchemaQuery.js +14 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGroupDevelopersMutation.d.ts +20 -0
  8. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerGroupDevelopersMutation.js +14 -0
  9. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerSaveDevelopersMutation.d.ts +22 -0
  10. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerSaveDevelopersMutation.js +14 -0
  11. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUploadDeveloperFileMutation.d.ts +19 -0
  12. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUploadDeveloperFileMutation.js +14 -0
  13. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerChangeFailureRateBreakdownQuery.d.ts +22 -0
  14. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerChangeFailureRateBreakdownQuery.js +14 -0
  15. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerChangeFailureRateDrillDownQuery.d.ts +22 -0
  16. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerChangeFailureRateDrillDownQuery.js +14 -0
  17. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerDeploymentFrequencyBreakdownQuery.d.ts +22 -0
  18. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerDeploymentFrequencyBreakdownQuery.js +14 -0
  19. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerDeploymentFrequencyDrillDownQuery.d.ts +22 -0
  20. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerDeploymentFrequencyDrillDownQuery.js +14 -0
  21. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeBreakdownQuery.d.ts +22 -0
  22. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeBreakdownQuery.js +14 -0
  23. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeDrilldownQuery.d.ts +22 -0
  24. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeDrilldownQuery.js +14 -0
  25. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeStagesQuery.d.ts +22 -0
  26. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyControllerLeadTimeStagesQuery.js +14 -0
  27. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProductivityProfileFilterValuesQuery.d.ts +19 -0
  28. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProductivityProfileFilterValuesQuery.js +18 -0
  29. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationsQuery.d.ts +6 -7
  30. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationsQuery.js +2 -2
  31. package/dist/sei-panorama-service/src/services/index.d.ts +44 -11
  32. package/dist/sei-panorama-service/src/services/index.js +14 -3
  33. package/dist/sei-panorama-service/src/services/schemas/CdDeploymentRecordDto.d.ts +64 -0
  34. package/dist/sei-panorama-service/src/services/schemas/Developer.d.ts +3 -2
  35. package/dist/sei-panorama-service/src/services/schemas/DeveloperFieldDto.d.ts +17 -0
  36. package/dist/sei-panorama-service/src/services/schemas/DeveloperFilePreviewDto.d.ts +48 -0
  37. package/dist/sei-panorama-service/src/services/schemas/DeveloperListResponseDto.d.ts +22 -0
  38. package/dist/sei-panorama-service/src/services/schemas/DeveloperSaveResponseDto.d.ts +39 -0
  39. package/dist/sei-panorama-service/src/services/schemas/DeveloperSaveResponseDto.js +1 -0
  40. package/dist/sei-panorama-service/src/services/schemas/DeveloperValidationErrorDto.d.ts +20 -0
  41. package/dist/sei-panorama-service/src/services/schemas/DeveloperValidationErrorDto.js +4 -0
  42. package/dist/sei-panorama-service/src/services/schemas/DrillDownRequest.d.ts +27 -0
  43. package/dist/sei-panorama-service/src/services/schemas/DrillDownRequest.js +4 -0
  44. package/dist/sei-panorama-service/src/services/schemas/DrillDownResponseDtoCdDeploymentRecordDto.d.ts +11 -0
  45. package/dist/sei-panorama-service/src/services/schemas/DrillDownResponseDtoCdDeploymentRecordDto.js +1 -0
  46. package/dist/sei-panorama-service/src/services/schemas/EfficiencyChangeFailureRateMetricBreakdown.d.ts +12 -0
  47. package/dist/sei-panorama-service/src/services/schemas/EfficiencyChangeFailureRateMetricBreakdown.js +4 -0
  48. package/dist/sei-panorama-service/src/services/schemas/EfficiencyDeploymentFrequencyMetricBreakdown.d.ts +8 -0
  49. package/dist/sei-panorama-service/src/services/schemas/EfficiencyDeploymentFrequencyMetricBreakdown.js +4 -0
  50. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLeadTimeDataPointBreakdown.d.ts +4 -0
  51. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLeadTimeDataPointBreakdown.js +1 -0
  52. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLeadTimeDrilldownItem.d.ts +75 -0
  53. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLeadTimeDrilldownItem.js +4 -0
  54. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLeadTimeDrilldownResponseWrapper.d.ts +16 -0
  55. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLeadTimeDrilldownResponseWrapper.js +1 -0
  56. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLttcMetricBreakdown.d.ts +36 -0
  57. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLttcMetricBreakdown.js +1 -0
  58. package/dist/sei-panorama-service/src/services/schemas/EfficiencyMetricDrilldownRequest.d.ts +29 -0
  59. package/dist/sei-panorama-service/src/services/schemas/EfficiencyMetricDrilldownRequest.js +1 -0
  60. package/dist/sei-panorama-service/src/services/schemas/EfficiencyRequest.d.ts +16 -0
  61. package/dist/sei-panorama-service/src/services/schemas/FeatureDto.d.ts +3 -1
  62. package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
  63. package/dist/sei-panorama-service/src/services/schemas/MinimalTeamHierarchyResponseDto.d.ts +6 -0
  64. package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.d.ts +2 -0
  65. package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +1 -1
  66. package/package.json +1 -1
  67. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerCreateSettingsMutation.d.ts +0 -23
  68. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerCreateSettingsMutation.js +0 -14
  69. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerGetSettingsQuery.d.ts +0 -20
  70. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerGetSettingsQuery.js +0 -14
  71. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerUpdateSettingsMutation.d.ts +0 -23
  72. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerUpdateSettingsMutation.js +0 -14
  73. package/dist/sei-panorama-service/src/services/schemas/InsightEfficiencySettingsDto.d.ts +0 -6
  74. package/dist/sei-panorama-service/src/services/schemas/InsightProductivitySettingsDto.d.ts +0 -9
  75. package/dist/sei-panorama-service/src/services/schemas/InsightSettingsCreateRequestDto.d.ts +0 -6
  76. package/dist/sei-panorama-service/src/services/schemas/InsightSettingsResponseDto.d.ts +0 -24
  77. /package/dist/sei-panorama-service/src/services/schemas/{InsightEfficiencySettingsDto.js → CdDeploymentRecordDto.js} +0 -0
  78. /package/dist/sei-panorama-service/src/services/schemas/{InsightProductivitySettingsDto.js → DeveloperFieldDto.js} +0 -0
  79. /package/dist/sei-panorama-service/src/services/schemas/{InsightSettingsCreateRequestDto.js → DeveloperFilePreviewDto.js} +0 -0
  80. /package/dist/sei-panorama-service/src/services/schemas/{InsightSettingsResponseDto.js → DeveloperListResponseDto.js} +0 -0
@@ -0,0 +1,36 @@
1
+ import type { DataPoint } from '../schemas/DataPoint';
2
+ import type { Stage } from '../schemas/Stage';
3
+ export interface EfficiencyLttcMetricBreakdown {
4
+ /**
5
+ * @format int32
6
+ */
7
+ count?: number;
8
+ dataPoints?: DataPoint[];
9
+ /**
10
+ * @format date-time
11
+ */
12
+ endDate?: string;
13
+ /**
14
+ * @format double
15
+ */
16
+ mean?: number;
17
+ /**
18
+ * @format double
19
+ */
20
+ median?: number;
21
+ /**
22
+ * @format double
23
+ */
24
+ p90?: number;
25
+ /**
26
+ * @format double
27
+ */
28
+ p95?: number;
29
+ stageBreakdown?: Stage[];
30
+ /**
31
+ * @format date-time
32
+ */
33
+ startDate?: string;
34
+ teamName?: string;
35
+ teamRefId?: string;
36
+ }
@@ -0,0 +1,29 @@
1
+ import type { PaginationRequest } from '../schemas/PaginationRequest';
2
+ export interface EfficiencyMetricDrilldownRequest {
3
+ /**
4
+ * End date for the metrics
5
+ * @format date-time
6
+ */
7
+ dateEnd: string;
8
+ /**
9
+ * Start date for the metrics
10
+ * @format date-time
11
+ */
12
+ dateStart: string;
13
+ /**
14
+ * Pagination parameters
15
+ */
16
+ pagination?: PaginationRequest;
17
+ /**
18
+ * Column to sort by
19
+ */
20
+ sortBy?: 'ISSUE_KEY' | 'TOTAL';
21
+ /**
22
+ * Sort order (ASC/DESC)
23
+ */
24
+ sortByCriteria?: 'ASC' | 'DESC';
25
+ /**
26
+ * Team reference ID
27
+ */
28
+ teamRefId: string;
29
+ }
@@ -7,6 +7,22 @@ export interface EfficiencyRequest {
7
7
  * @format date-time
8
8
  */
9
9
  dateStart: string;
10
+ /**
11
+ * @format date-time
12
+ */
13
+ drillDownEndDate?: string;
14
+ /**
15
+ * @format date-time
16
+ */
17
+ drillDownStartDate?: string;
10
18
  granularity: string;
19
+ /**
20
+ * @format int32
21
+ */
22
+ page?: number;
23
+ /**
24
+ * @format int32
25
+ */
26
+ pageSize?: number;
11
27
  teamRefId: string;
12
28
  }
@@ -2,6 +2,8 @@ export interface FeatureDto {
2
2
  active?: boolean;
3
3
  name?: string;
4
4
  params?: {
5
- [key: string]: number;
5
+ [key: string]: {
6
+ [key: string]: any;
7
+ };
6
8
  };
7
9
  }
@@ -2,7 +2,7 @@ export interface FilterValuesRequestDto {
2
2
  /**
3
3
  * Filter key to get values for
4
4
  */
5
- filterKey: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_TYPE' | 'LABEL' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SCM_LABEL' | 'SCM_PROJECT' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
5
+ filterKey: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SCM_LABEL' | 'SCM_PROJECT' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
6
6
  /**
7
7
  * Integration ID
8
8
  */
@@ -7,6 +7,12 @@ export interface MinimalTeamHierarchyResponseDto {
7
7
  * @example []
8
8
  */
9
9
  children?: MinimalTeamHierarchyResponseDto[];
10
+ /**
11
+ * Number of developers in the team
12
+ * @format int32
13
+ * @example 10
14
+ */
15
+ developerCount?: number;
10
16
  /**
11
17
  * Whether this team is a leaf node (has no children)
12
18
  */
@@ -21,7 +21,9 @@ export interface OrgTreeResponseDto {
21
21
  */
22
22
  integrations?: IntegrationResponseDto[];
23
23
  name: string;
24
+ orgIdentifier: string;
24
25
  productivityProfile?: OrgTreeProfileDto;
26
+ projectIdentifier: string;
25
27
  /**
26
28
  * @format int32
27
29
  */
@@ -1,6 +1,6 @@
1
1
  export interface TeamFilter {
2
2
  applicableMetrics?: Array<'CFR' | 'DF' | 'LTTC' | 'MTTR' | 'PRODUCTIVITY'>;
3
- filterKey?: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_TYPE' | 'LABEL' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SCM_LABEL' | 'SCM_PROJECT' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
3
+ filterKey?: 'CODE_AREA' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SCM_LABEL' | 'SCM_PROJECT' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
4
4
  /**
5
5
  * @format int32
6
6
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.18.4",
3
+ "version": "0.18.5",
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,23 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { InsightSettingsResponseDto } from '../schemas/InsightSettingsResponseDto';
3
- import type { ErrorResponse } from '../schemas/ErrorResponse';
4
- import type { InsightSettingsCreateRequestDto } from '../schemas/InsightSettingsCreateRequestDto';
5
- import type { ResponseWithPagination } from '../helpers';
6
- import { FetcherOptions } from '../../../../fetcher/index.js';
7
- export interface InsightSettingsControllerCreateSettingsMutationQueryParams {
8
- orgIdentifier: string;
9
- projectIdentifier: string;
10
- accountIdentifier: string;
11
- }
12
- export type InsightSettingsControllerCreateSettingsRequestBody = InsightSettingsCreateRequestDto;
13
- export type InsightSettingsControllerCreateSettingsOkResponse = ResponseWithPagination<InsightSettingsResponseDto>;
14
- export type InsightSettingsControllerCreateSettingsErrorResponse = ErrorResponse;
15
- export interface InsightSettingsControllerCreateSettingsProps extends Omit<FetcherOptions<InsightSettingsControllerCreateSettingsMutationQueryParams, InsightSettingsControllerCreateSettingsRequestBody>, 'url'> {
16
- queryParams: InsightSettingsControllerCreateSettingsMutationQueryParams;
17
- body: InsightSettingsControllerCreateSettingsRequestBody;
18
- }
19
- export declare function insightSettingsControllerCreateSettings(props: InsightSettingsControllerCreateSettingsProps): Promise<InsightSettingsControllerCreateSettingsOkResponse>;
20
- /**
21
- * Creates new insight settings for a workspace. Each workspace can only have one insight settings configuration.
22
- */
23
- export declare function useInsightSettingsControllerCreateSettingsMutation(options?: Omit<UseMutationOptions<InsightSettingsControllerCreateSettingsOkResponse, InsightSettingsControllerCreateSettingsErrorResponse, InsightSettingsControllerCreateSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<InsightSettingsControllerCreateSettingsOkResponse, ErrorResponse, InsightSettingsControllerCreateSettingsProps, unknown>;
@@ -1,14 +0,0 @@
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
- /**
10
- * Creates new insight settings for a workspace. Each workspace can only have one insight settings configuration.
11
- */
12
- export function useInsightSettingsControllerCreateSettingsMutation(options) {
13
- return useMutation((mutateProps) => insightSettingsControllerCreateSettings(mutateProps), options);
14
- }
@@ -1,20 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { InsightSettingsResponseDto } from '../schemas/InsightSettingsResponseDto';
3
- import type { ErrorResponse } from '../schemas/ErrorResponse';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface InsightSettingsControllerGetSettingsQueryQueryParams {
7
- orgIdentifier: string;
8
- projectIdentifier: string;
9
- accountIdentifier: string;
10
- }
11
- export type InsightSettingsControllerGetSettingsOkResponse = ResponseWithPagination<InsightSettingsResponseDto>;
12
- export type InsightSettingsControllerGetSettingsErrorResponse = ErrorResponse;
13
- export interface InsightSettingsControllerGetSettingsProps extends Omit<FetcherOptions<InsightSettingsControllerGetSettingsQueryQueryParams, unknown>, 'url'> {
14
- queryParams: InsightSettingsControllerGetSettingsQueryQueryParams;
15
- }
16
- export declare function insightSettingsControllerGetSettings(props: InsightSettingsControllerGetSettingsProps): Promise<InsightSettingsControllerGetSettingsOkResponse>;
17
- /**
18
- * Get insight settings for a workspace
19
- */
20
- export declare function useInsightSettingsControllerGetSettingsQuery(props: InsightSettingsControllerGetSettingsProps, options?: Omit<UseQueryOptions<InsightSettingsControllerGetSettingsOkResponse, InsightSettingsControllerGetSettingsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<InsightSettingsControllerGetSettingsOkResponse, ErrorResponse>;
@@ -1,14 +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 insightSettingsControllerGetSettings(props) {
7
- return fetcher(Object.assign({ url: `/v2/insight-settings`, method: 'GET' }, props));
8
- }
9
- /**
10
- * Get insight settings for a workspace
11
- */
12
- export function useInsightSettingsControllerGetSettingsQuery(props, options) {
13
- return useQuery(['InsightSettingsControllerGetSettings', props.queryParams], ({ signal }) => insightSettingsControllerGetSettings(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,23 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { InsightSettingsResponseDto } from '../schemas/InsightSettingsResponseDto';
3
- import type { ErrorResponse } from '../schemas/ErrorResponse';
4
- import type { InsightSettingsCreateRequestDto } from '../schemas/InsightSettingsCreateRequestDto';
5
- import type { ResponseWithPagination } from '../helpers';
6
- import { FetcherOptions } from '../../../../fetcher/index.js';
7
- export interface InsightSettingsControllerUpdateSettingsMutationQueryParams {
8
- orgIdentifier: string;
9
- projectIdentifier: string;
10
- accountIdentifier: string;
11
- }
12
- export type InsightSettingsControllerUpdateSettingsRequestBody = InsightSettingsCreateRequestDto;
13
- export type InsightSettingsControllerUpdateSettingsOkResponse = ResponseWithPagination<InsightSettingsResponseDto>;
14
- export type InsightSettingsControllerUpdateSettingsErrorResponse = ErrorResponse;
15
- export interface InsightSettingsControllerUpdateSettingsProps extends Omit<FetcherOptions<InsightSettingsControllerUpdateSettingsMutationQueryParams, InsightSettingsControllerUpdateSettingsRequestBody>, 'url'> {
16
- queryParams: InsightSettingsControllerUpdateSettingsMutationQueryParams;
17
- body: InsightSettingsControllerUpdateSettingsRequestBody;
18
- }
19
- export declare function insightSettingsControllerUpdateSettings(props: InsightSettingsControllerUpdateSettingsProps): Promise<InsightSettingsControllerUpdateSettingsOkResponse>;
20
- /**
21
- * Update existing insight settings
22
- */
23
- export declare function useInsightSettingsControllerUpdateSettingsMutation(options?: Omit<UseMutationOptions<InsightSettingsControllerUpdateSettingsOkResponse, InsightSettingsControllerUpdateSettingsErrorResponse, InsightSettingsControllerUpdateSettingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<InsightSettingsControllerUpdateSettingsOkResponse, ErrorResponse, InsightSettingsControllerUpdateSettingsProps, unknown>;
@@ -1,14 +0,0 @@
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
- /**
10
- * Update existing insight settings
11
- */
12
- export function useInsightSettingsControllerUpdateSettingsMutation(options) {
13
- return useMutation((mutateProps) => insightSettingsControllerUpdateSettings(mutateProps), options);
14
- }
@@ -1,6 +0,0 @@
1
- export interface InsightEfficiencySettingsDto {
2
- changeFailureRate?: boolean;
3
- deploymentFrequency?: boolean;
4
- leadTimeForChanges?: boolean;
5
- meanTimeToRestore?: boolean;
6
- }
@@ -1,9 +0,0 @@
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
- }
@@ -1,6 +0,0 @@
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
- }
@@ -1,24 +0,0 @@
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
- }