@harnessio/react-sei-panorama-service-client 0.12.0 → 0.13.1

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 (96) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownPRsQuery.d.ts +22 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownPRsQuery.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useDoraControllerLeadTimeDrilldownQuery.d.ts +2 -2
  4. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerCreateProfileMutation.d.ts +17 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerCreateProfileMutation.js +11 -0
  6. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerGetProfileQuery.d.ts +20 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerGetProfileQuery.js +11 -0
  8. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerListProfilesQuery.d.ts +24 -0
  9. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerListProfilesQuery.js +11 -0
  10. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerUpdateProfileMutation.d.ts +23 -0
  11. package/dist/sei-panorama-service/src/services/hooks/useEfficiencyProfileControllerUpdateProfileMutation.js +11 -0
  12. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerCreateSettingsMutation.d.ts +21 -0
  13. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerCreateSettingsMutation.js +11 -0
  14. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerGetSettingsQuery.d.ts +18 -0
  15. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerGetSettingsQuery.js +11 -0
  16. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerUpdateSettingsMutation.d.ts +21 -0
  17. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerUpdateSettingsMutation.js +11 -0
  18. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerCreateProfileMutation.d.ts +17 -0
  19. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerCreateProfileMutation.js +11 -0
  20. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileQuery.d.ts +20 -0
  21. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerGetProfileQuery.js +11 -0
  22. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerListProfilesQuery.d.ts +24 -0
  23. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerListProfilesQuery.js +11 -0
  24. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerUpdateProfileMutation.d.ts +23 -0
  25. package/dist/sei-panorama-service/src/services/hooks/useProductivityProfileControllerUpdateProfileMutation.js +11 -0
  26. package/dist/sei-panorama-service/src/services/index.d.ts +55 -5
  27. package/dist/sei-panorama-service/src/services/index.js +12 -0
  28. package/dist/sei-panorama-service/src/services/schemas/AdditionalFilters.d.ts +5 -0
  29. package/dist/sei-panorama-service/src/services/schemas/ChangeFailureRateConfiguration.d.ts +8 -0
  30. package/dist/sei-panorama-service/src/services/schemas/ChangeFailureRateConfiguration.js +1 -0
  31. package/dist/sei-panorama-service/src/services/schemas/CodeChanges.d.ts +14 -0
  32. package/dist/sei-panorama-service/src/services/schemas/Condition.d.ts +5 -0
  33. package/dist/sei-panorama-service/src/services/schemas/DbListResponseEfficiencyProfileResponseDto.d.ts +16 -0
  34. package/dist/sei-panorama-service/src/services/schemas/DbListResponseEfficiencyProfileResponseDto.js +1 -0
  35. package/dist/sei-panorama-service/src/services/schemas/DbListResponseProductivityProfileResponseDto.d.ts +16 -0
  36. package/dist/sei-panorama-service/src/services/schemas/DbListResponseProductivityProfileResponseDto.js +1 -0
  37. package/dist/sei-panorama-service/src/services/schemas/DeploymentConfiguration.d.ts +6 -0
  38. package/dist/sei-panorama-service/src/services/schemas/DeploymentConfiguration.js +1 -0
  39. package/dist/sei-panorama-service/src/services/schemas/DeploymentFrequencyConfiguration.d.ts +7 -0
  40. package/dist/sei-panorama-service/src/services/schemas/DeploymentFrequencyConfiguration.js +1 -0
  41. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimeDrilldownResponse.d.ts +63 -0
  42. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimeDrilldownResponseWrapper.d.ts +19 -0
  43. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimeDrilldownResponseWrapper.js +1 -0
  44. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownRequest.d.ts +5 -0
  45. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownRequest.js +1 -0
  46. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponse.d.ts +23 -0
  47. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponse.js +1 -0
  48. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponseWrapper.d.ts +15 -0
  49. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownResponseWrapper.js +1 -0
  50. package/dist/sei-panorama-service/src/services/schemas/DoraMetadata.d.ts +5 -0
  51. package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownRequest.d.ts +0 -1
  52. package/dist/sei-panorama-service/src/services/schemas/DoraStage.d.ts +22 -0
  53. package/dist/sei-panorama-service/src/services/schemas/DoraStage.js +1 -0
  54. package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileCreateRequestDto.d.ts +11 -0
  55. package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileCreateRequestDto.js +1 -0
  56. package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileResponseDto.d.ts +25 -0
  57. package/dist/sei-panorama-service/src/services/schemas/EfficiencyProfileResponseDto.js +1 -0
  58. package/dist/sei-panorama-service/src/services/schemas/Event.d.ts +7 -0
  59. package/dist/sei-panorama-service/src/services/schemas/Event.js +1 -0
  60. package/dist/sei-panorama-service/src/services/schemas/FilterCriteria.d.ts +7 -0
  61. package/dist/sei-panorama-service/src/services/schemas/FilterCriteria.js +4 -0
  62. package/dist/sei-panorama-service/src/services/schemas/FilterGroup.d.ts +4 -0
  63. package/dist/sei-panorama-service/src/services/schemas/FilterGroup.js +1 -0
  64. package/dist/sei-panorama-service/src/services/schemas/Filters.d.ts +5 -0
  65. package/dist/sei-panorama-service/src/services/schemas/Filters.js +1 -0
  66. package/dist/sei-panorama-service/src/services/schemas/InsightEfficiencySettingsDto.d.ts +6 -0
  67. package/dist/sei-panorama-service/src/services/schemas/InsightEfficiencySettingsDto.js +4 -0
  68. package/dist/sei-panorama-service/src/services/schemas/InsightProductivitySettingsDto.d.ts +9 -0
  69. package/dist/sei-panorama-service/src/services/schemas/InsightProductivitySettingsDto.js +4 -0
  70. package/dist/sei-panorama-service/src/services/schemas/InsightSettingsCreateRequestDto.d.ts +6 -0
  71. package/dist/sei-panorama-service/src/services/schemas/InsightSettingsCreateRequestDto.js +1 -0
  72. package/dist/sei-panorama-service/src/services/schemas/InsightSettingsResponseDto.d.ts +24 -0
  73. package/dist/sei-panorama-service/src/services/schemas/InsightSettingsResponseDto.js +1 -0
  74. package/dist/sei-panorama-service/src/services/schemas/MetricConfiguration.d.ts +9 -0
  75. package/dist/sei-panorama-service/src/services/schemas/MetricConfiguration.js +1 -0
  76. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeature.d.ts +5 -0
  77. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeature.js +4 -0
  78. package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileCreateRequestDto.d.ts +11 -0
  79. package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileCreateRequestDto.js +1 -0
  80. package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileResponseDto.d.ts +25 -0
  81. package/dist/sei-panorama-service/src/services/schemas/ProductivityProfileResponseDto.js +1 -0
  82. package/dist/sei-panorama-service/src/services/schemas/ProductivitySection.d.ts +6 -0
  83. package/dist/sei-panorama-service/src/services/schemas/ProductivitySection.js +1 -0
  84. package/dist/sei-panorama-service/src/services/schemas/Resolution.d.ts +4 -0
  85. package/dist/sei-panorama-service/src/services/schemas/Resolution.js +1 -0
  86. package/package.json +1 -1
  87. package/dist/sei-panorama-service/src/services/schemas/CdDeploymentData.d.ts +0 -68
  88. package/dist/sei-panorama-service/src/services/schemas/CiPipelineData.d.ts +0 -56
  89. package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownResponse.d.ts +0 -42
  90. package/dist/sei-panorama-service/src/services/schemas/IssueManagementData.d.ts +0 -36
  91. package/dist/sei-panorama-service/src/services/schemas/ScmCommitData.d.ts +0 -42
  92. /package/dist/sei-panorama-service/src/services/schemas/{DoraMetricDrilldownResponse.js → AdditionalFilters.js} +0 -0
  93. /package/dist/sei-panorama-service/src/services/schemas/{CdDeploymentData.js → CodeChanges.js} +0 -0
  94. /package/dist/sei-panorama-service/src/services/schemas/{CiPipelineData.js → Condition.js} +0 -0
  95. /package/dist/sei-panorama-service/src/services/schemas/{IssueManagementData.js → DoraLeadTimeDrilldownResponse.js} +0 -0
  96. /package/dist/sei-panorama-service/src/services/schemas/{ScmCommitData.js → DoraMetadata.js} +0 -0
@@ -14,15 +14,27 @@ export { doraControllerChangeFailureRate, useDoraControllerChangeFailureRateQuer
14
14
  export { doraControllerDeploymentFrequencyBreakdown, useDoraControllerDeploymentFrequencyBreakdownQuery, } from './hooks/useDoraControllerDeploymentFrequencyBreakdownQuery';
15
15
  export { doraControllerDeploymentFrequency, useDoraControllerDeploymentFrequencyQuery, } from './hooks/useDoraControllerDeploymentFrequencyQuery';
16
16
  export { doraControllerLeadTimeDrilldownFilters, useDoraControllerLeadTimeDrilldownFiltersQuery, } from './hooks/useDoraControllerLeadTimeDrilldownFiltersQuery';
17
+ export { doraControllerLeadTimeDrilldownPRs, useDoraControllerLeadTimeDrilldownPRsQuery, } from './hooks/useDoraControllerLeadTimeDrilldownPRsQuery';
17
18
  export { doraControllerLeadTimeDrilldown, useDoraControllerLeadTimeDrilldownQuery, } from './hooks/useDoraControllerLeadTimeDrilldownQuery';
18
19
  export { doraControllerLeadTime, useDoraControllerLeadTimeQuery, } from './hooks/useDoraControllerLeadTimeQuery';
19
20
  export { doraControllerLeadTimeStages, useDoraControllerLeadTimeStagesQuery, } from './hooks/useDoraControllerLeadTimeStagesQuery';
20
21
  export { doraControllerMeanTimeRestore, useDoraControllerMeanTimeRestoreQuery, } from './hooks/useDoraControllerMeanTimeRestoreQuery';
21
22
  export { doraControllerMttrBreakdown, useDoraControllerMttrBreakdownQuery, } from './hooks/useDoraControllerMttrBreakdownQuery';
22
23
  export { doraControllerSummary, useDoraControllerSummaryQuery, } from './hooks/useDoraControllerSummaryQuery';
24
+ export { efficiencyProfileControllerCreateProfile, useEfficiencyProfileControllerCreateProfileMutation, } from './hooks/useEfficiencyProfileControllerCreateProfileMutation';
25
+ export { efficiencyProfileControllerGetProfile, useEfficiencyProfileControllerGetProfileQuery, } from './hooks/useEfficiencyProfileControllerGetProfileQuery';
26
+ export { efficiencyProfileControllerListProfiles, useEfficiencyProfileControllerListProfilesQuery, } from './hooks/useEfficiencyProfileControllerListProfilesQuery';
27
+ export { efficiencyProfileControllerUpdateProfile, useEfficiencyProfileControllerUpdateProfileMutation, } from './hooks/useEfficiencyProfileControllerUpdateProfileMutation';
28
+ export { insightSettingsControllerCreateSettings, useInsightSettingsControllerCreateSettingsMutation, } from './hooks/useInsightSettingsControllerCreateSettingsMutation';
29
+ export { insightSettingsControllerGetSettings, useInsightSettingsControllerGetSettingsQuery, } from './hooks/useInsightSettingsControllerGetSettingsQuery';
30
+ export { insightSettingsControllerUpdateSettings, useInsightSettingsControllerUpdateSettingsMutation, } from './hooks/useInsightSettingsControllerUpdateSettingsMutation';
23
31
  export { jiraIssuesControllerGetJiraIssueCount, useJiraIssuesControllerGetJiraIssueCountQuery, } from './hooks/useJiraIssuesControllerGetJiraIssueCountQuery';
24
32
  export { legacyHealthControllerCheck, useLegacyHealthControllerCheckQuery, } from './hooks/useLegacyHealthControllerCheckQuery';
25
33
  export { productivityControllerGetFeatureBreakdown, useProductivityControllerGetFeatureBreakdownQuery, } from './hooks/useProductivityControllerGetFeatureBreakdownQuery';
26
34
  export { productivityControllerGetFeatureDrillDown, useProductivityControllerGetFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetFeatureDrillDownQuery';
27
35
  export { productivityControllerGetFeatureMetrics, useProductivityControllerGetFeatureMetricsQuery, } from './hooks/useProductivityControllerGetFeatureMetricsQuery';
28
36
  export { productivityControllerGetIndividualUserFeatureDrillDown, useProductivityControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityControllerGetIndividualUserFeatureDrillDownQuery';
37
+ export { productivityProfileControllerCreateProfile, useProductivityProfileControllerCreateProfileMutation, } from './hooks/useProductivityProfileControllerCreateProfileMutation';
38
+ export { productivityProfileControllerGetProfile, useProductivityProfileControllerGetProfileQuery, } from './hooks/useProductivityProfileControllerGetProfileQuery';
39
+ export { productivityProfileControllerListProfiles, useProductivityProfileControllerListProfilesQuery, } from './hooks/useProductivityProfileControllerListProfilesQuery';
40
+ 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,14 @@
1
+ export interface CodeChanges {
2
+ /**
3
+ * @format int64
4
+ */
5
+ additions?: number;
6
+ /**
7
+ * @format int64
8
+ */
9
+ deletions?: number;
10
+ /**
11
+ * @format int64
12
+ */
13
+ totalChanges?: number;
14
+ }
@@ -0,0 +1,5 @@
1
+ export interface Condition {
2
+ field?: string;
3
+ operator?: string;
4
+ values?: string[];
5
+ }
@@ -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,63 @@
1
+ /**
2
+ * Response containing drilldown data for Lead Time to Change metrics
3
+ */
4
+ export interface DoraLeadTimeDrilldownResponse {
5
+ /**
6
+ * Build identifier
7
+ */
8
+ buildId?: string;
9
+ /**
10
+ * Commit identifier
11
+ */
12
+ commitId?: string;
13
+ /**
14
+ * Deployment identifier
15
+ */
16
+ deploymentId?: string;
17
+ /**
18
+ * Lead time for CI phase
19
+ * @format int64
20
+ */
21
+ leadTimeBuild?: number;
22
+ /**
23
+ * Lead time for commit phase
24
+ * @format int64
25
+ */
26
+ leadTimeCoding?: number;
27
+ /**
28
+ * Lead time for deployment phase
29
+ * @format int64
30
+ */
31
+ leadTimeDeploy?: number;
32
+ /**
33
+ * Lead time for merge phase
34
+ * @format int64
35
+ */
36
+ leadTimeMerge?: number;
37
+ /**
38
+ * Lead time for planning phase
39
+ * @format int64
40
+ */
41
+ leadTimePlanning?: number;
42
+ /**
43
+ * Lead time total
44
+ * @format int64
45
+ */
46
+ leadTimeTotal?: number;
47
+ /**
48
+ * Pull request identifier
49
+ */
50
+ prId?: string;
51
+ /**
52
+ * PR merged branch
53
+ */
54
+ prMergedBranch?: string;
55
+ /**
56
+ * Pull request number
57
+ */
58
+ prNumber?: string;
59
+ /**
60
+ * Ticket identifier
61
+ */
62
+ ticketId?: string;
63
+ }
@@ -0,0 +1,19 @@
1
+ import type { DoraLeadTimeDrilldownResponse } from '../schemas/DoraLeadTimeDrilldownResponse';
2
+ import type { PaginationInfo } from '../schemas/PaginationInfo';
3
+ /**
4
+ * Wrapper containing drilldown data list for Lead Time to Change metrics with pagination
5
+ */
6
+ export interface DoraLeadTimeDrilldownResponseWrapper {
7
+ /**
8
+ * List of drilldown responses
9
+ */
10
+ data?: DoraLeadTimeDrilldownResponse[];
11
+ /**
12
+ * Table headers for display
13
+ */
14
+ headers?: string[];
15
+ /**
16
+ * Pagination information
17
+ */
18
+ pagination?: PaginationInfo;
19
+ }
@@ -0,0 +1,5 @@
1
+ import type { PaginationRequest } from '../schemas/PaginationRequest';
2
+ export interface DoraLeadTimePrDrilldownRequest {
3
+ pagination?: PaginationRequest;
4
+ prId: string;
5
+ }
@@ -0,0 +1,23 @@
1
+ import type { CodeChanges } from '../schemas/CodeChanges';
2
+ /**
3
+ * Response containing drilldown data for PRs in Lead Time to Change metrics
4
+ */
5
+ export interface DoraLeadTimePrDrilldownResponse {
6
+ /**
7
+ * author
8
+ */
9
+ author?: string;
10
+ /**
11
+ * code changes
12
+ */
13
+ codeChanges?: CodeChanges;
14
+ /**
15
+ * Commit identifier
16
+ */
17
+ commitId?: string;
18
+ /**
19
+ * Comitted at
20
+ * @format date-time
21
+ */
22
+ committedAt?: string;
23
+ }
@@ -0,0 +1,15 @@
1
+ import type { DoraLeadTimePrDrilldownResponse } from '../schemas/DoraLeadTimePrDrilldownResponse';
2
+ import type { PaginationInfo } from '../schemas/PaginationInfo';
3
+ /**
4
+ * Wrapper containing PR drilldown data list for Lead Time to Change metrics with pagination
5
+ */
6
+ export interface DoraLeadTimePrDrilldownResponseWrapper {
7
+ /**
8
+ * List of PR drilldown responses
9
+ */
10
+ data?: DoraLeadTimePrDrilldownResponse[];
11
+ /**
12
+ * Pagination information
13
+ */
14
+ pagination?: PaginationInfo;
15
+ }
@@ -0,0 +1,5 @@
1
+ export interface DoraMetadata {
2
+ application?: string;
3
+ integration_ids?: number[];
4
+ integration_type?: 'cicd' | 'im' | 'scm';
5
+ }
@@ -10,5 +10,4 @@ export interface DoraMetricDrilldownRequest {
10
10
  */
11
11
  dateStart: string;
12
12
  pagination?: PaginationRequest;
13
- stageName: string;
14
13
  }
@@ -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.1",
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",