@harnessio/react-sei-panorama-service-client 0.18.3 → 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 (100) 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/useTeamsControllerGetTeamDevelopersQuery.d.ts +4 -1
  30. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamDevelopersQuery.js +2 -2
  31. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationFiltersQuery.d.ts +4 -1
  32. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationFiltersQuery.js +2 -2
  33. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationsQuery.d.ts +6 -7
  34. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamIntegrationsQuery.js +3 -3
  35. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamQuery.d.ts +2 -2
  36. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerGetTeamQuery.js +3 -3
  37. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation.d.ts +4 -1
  38. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationFiltersMutation.js +1 -1
  39. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationsMutation.d.ts +4 -1
  40. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamIntegrationsMutation.js +1 -1
  41. package/dist/sei-panorama-service/src/services/index.d.ts +44 -14
  42. package/dist/sei-panorama-service/src/services/index.js +14 -4
  43. package/dist/sei-panorama-service/src/services/schemas/CdDeploymentRecordDto.d.ts +64 -0
  44. package/dist/sei-panorama-service/src/services/schemas/Developer.d.ts +3 -2
  45. package/dist/sei-panorama-service/src/services/schemas/DeveloperFieldDto.d.ts +17 -0
  46. package/dist/sei-panorama-service/src/services/schemas/DeveloperFilePreviewDto.d.ts +48 -0
  47. package/dist/sei-panorama-service/src/services/schemas/DeveloperListResponseDto.d.ts +22 -0
  48. package/dist/sei-panorama-service/src/services/schemas/DeveloperSaveResponseDto.d.ts +39 -0
  49. package/dist/sei-panorama-service/src/services/schemas/DeveloperSaveResponseDto.js +1 -0
  50. package/dist/sei-panorama-service/src/services/schemas/DeveloperValidationErrorDto.d.ts +20 -0
  51. package/dist/sei-panorama-service/src/services/schemas/DrillDownRequest.d.ts +27 -0
  52. package/dist/sei-panorama-service/src/services/schemas/DrillDownRequest.js +4 -0
  53. package/dist/sei-panorama-service/src/services/schemas/DrillDownResponseDtoCdDeploymentRecordDto.d.ts +11 -0
  54. package/dist/sei-panorama-service/src/services/schemas/DrillDownResponseDtoCdDeploymentRecordDto.js +1 -0
  55. package/dist/sei-panorama-service/src/services/schemas/EfficiencyChangeFailureRateMetricBreakdown.d.ts +12 -0
  56. package/dist/sei-panorama-service/src/services/schemas/EfficiencyChangeFailureRateMetricBreakdown.js +4 -0
  57. package/dist/sei-panorama-service/src/services/schemas/EfficiencyDeploymentFrequencyMetricBreakdown.d.ts +8 -0
  58. package/dist/sei-panorama-service/src/services/schemas/EfficiencyDeploymentFrequencyMetricBreakdown.js +4 -0
  59. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLeadTimeDataPointBreakdown.d.ts +4 -0
  60. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLeadTimeDataPointBreakdown.js +1 -0
  61. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLeadTimeDrilldownItem.d.ts +75 -0
  62. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLeadTimeDrilldownItem.js +4 -0
  63. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLeadTimeDrilldownResponseWrapper.d.ts +16 -0
  64. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLeadTimeDrilldownResponseWrapper.js +1 -0
  65. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLttcMetricBreakdown.d.ts +36 -0
  66. package/dist/sei-panorama-service/src/services/schemas/EfficiencyLttcMetricBreakdown.js +1 -0
  67. package/dist/sei-panorama-service/src/services/schemas/EfficiencyMetricDrilldownRequest.d.ts +29 -0
  68. package/dist/sei-panorama-service/src/services/schemas/EfficiencyMetricDrilldownRequest.js +1 -0
  69. package/dist/sei-panorama-service/src/services/schemas/EfficiencyRequest.d.ts +16 -0
  70. package/dist/sei-panorama-service/src/services/schemas/FeatureDto.d.ts +3 -1
  71. package/dist/sei-panorama-service/src/services/schemas/FilterValuesRequestDto.d.ts +1 -1
  72. package/dist/sei-panorama-service/src/services/schemas/GroupedTeamFiltersResponseDto.d.ts +1 -1
  73. package/dist/sei-panorama-service/src/services/schemas/MinimalTeamHierarchyResponseDto.d.ts +8 -1
  74. package/dist/sei-panorama-service/src/services/schemas/OrgTreeResponseDto.d.ts +2 -0
  75. package/dist/sei-panorama-service/src/services/schemas/OrgTreeUpdateRequestDto.d.ts +0 -3
  76. package/dist/sei-panorama-service/src/services/schemas/OrgTreeUpdateRequestDto.js +3 -0
  77. package/dist/sei-panorama-service/src/services/schemas/PaginatedResponseTeamSummary.d.ts +1 -1
  78. package/dist/sei-panorama-service/src/services/schemas/TeamDevelopersDto.d.ts +1 -1
  79. package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +5 -4
  80. package/dist/sei-panorama-service/src/services/schemas/TeamIntegrationDto.d.ts +1 -1
  81. package/dist/sei-panorama-service/src/services/schemas/TeamResponse.d.ts +0 -10
  82. package/package.json +1 -1
  83. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerCreateSettingsMutation.d.ts +0 -23
  84. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerCreateSettingsMutation.js +0 -14
  85. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerGetSettingsQuery.d.ts +0 -20
  86. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerGetSettingsQuery.js +0 -14
  87. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerUpdateSettingsMutation.d.ts +0 -23
  88. package/dist/sei-panorama-service/src/services/hooks/useInsightSettingsControllerUpdateSettingsMutation.js +0 -14
  89. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamMutation.d.ts +0 -26
  90. package/dist/sei-panorama-service/src/services/hooks/useTeamsControllerUpdateTeamMutation.js +0 -14
  91. package/dist/sei-panorama-service/src/services/schemas/InsightEfficiencySettingsDto.d.ts +0 -6
  92. package/dist/sei-panorama-service/src/services/schemas/InsightProductivitySettingsDto.d.ts +0 -9
  93. package/dist/sei-panorama-service/src/services/schemas/InsightSettingsCreateRequestDto.d.ts +0 -6
  94. package/dist/sei-panorama-service/src/services/schemas/InsightSettingsResponseDto.d.ts +0 -24
  95. package/dist/sei-panorama-service/src/services/schemas/TeamRequestDto.d.ts +0 -28
  96. /package/dist/sei-panorama-service/src/services/schemas/{InsightEfficiencySettingsDto.js → CdDeploymentRecordDto.js} +0 -0
  97. /package/dist/sei-panorama-service/src/services/schemas/{InsightProductivitySettingsDto.js → DeveloperFieldDto.js} +0 -0
  98. /package/dist/sei-panorama-service/src/services/schemas/{InsightSettingsCreateRequestDto.js → DeveloperFilePreviewDto.js} +0 -0
  99. /package/dist/sei-panorama-service/src/services/schemas/{InsightSettingsResponseDto.js → DeveloperListResponseDto.js} +0 -0
  100. /package/dist/sei-panorama-service/src/services/schemas/{TeamRequestDto.js → DeveloperValidationErrorDto.js} +0 -0
@@ -0,0 +1,12 @@
1
+ export interface EfficiencyChangeFailureRateMetricBreakdown {
2
+ /**
3
+ * @format int32
4
+ */
5
+ failedDeployments?: number;
6
+ teamName?: string;
7
+ teamRefId?: string;
8
+ /**
9
+ * @format int32
10
+ */
11
+ totalDeployments?: number;
12
+ }
@@ -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,8 @@
1
+ export interface EfficiencyDeploymentFrequencyMetricBreakdown {
2
+ /**
3
+ * @format int32
4
+ */
5
+ deploymentCount?: number;
6
+ teamName?: string;
7
+ teamRefId?: string;
8
+ }
@@ -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 { EfficiencyLttcMetricBreakdown } from '../schemas/EfficiencyLttcMetricBreakdown';
2
+ export interface EfficiencyLeadTimeDataPointBreakdown {
3
+ dataPoints?: EfficiencyLttcMetricBreakdown[];
4
+ }
@@ -0,0 +1,75 @@
1
+ /**
2
+ * Item containing drilldown data for Lead Time to Change metrics
3
+ */
4
+ export interface EfficiencyLeadTimeDrilldownItem {
5
+ /**
6
+ * Build identifier
7
+ */
8
+ buildId?: string;
9
+ /**
10
+ * commit SHA
11
+ */
12
+ commitSha?: 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
+ * PR created identifier
49
+ */
50
+ prCreatedId?: string;
51
+ /**
52
+ * PR created number
53
+ */
54
+ prCreatedNumber?: string;
55
+ /**
56
+ * PR merged branch
57
+ */
58
+ prMergedBranch?: string;
59
+ /**
60
+ * PR merged identifier
61
+ */
62
+ prMergedId?: string;
63
+ /**
64
+ * PR merged number
65
+ */
66
+ prMergedNumber?: string;
67
+ /**
68
+ * Project identifier
69
+ */
70
+ project?: string;
71
+ /**
72
+ * Ticket identifier
73
+ */
74
+ ticketId?: string;
75
+ }
@@ -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 { EfficiencyLeadTimeDrilldownItem } from '../schemas/EfficiencyLeadTimeDrilldownItem';
2
+ import type { PaginationInfo } from '../schemas/PaginationInfo';
3
+ export interface EfficiencyLeadTimeDrilldownResponseWrapper {
4
+ /**
5
+ * List of lead time drilldown items
6
+ */
7
+ data?: EfficiencyLeadTimeDrilldownItem[];
8
+ /**
9
+ * Table headers for display
10
+ */
11
+ headers?: string[];
12
+ /**
13
+ * Pagination information
14
+ */
15
+ pagination?: PaginationInfo;
16
+ }
@@ -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
  */
@@ -6,5 +6,5 @@ export interface GroupedTeamFiltersResponseDto {
6
6
  /**
7
7
  * @format int32
8
8
  */
9
- teamId?: number;
9
+ teamRefId?: number;
10
10
  }
@@ -4,8 +4,15 @@
4
4
  export interface MinimalTeamHierarchyResponseDto {
5
5
  /**
6
6
  * List of child teams in the hierarchy
7
+ * @example []
7
8
  */
8
- children?: MinimalTeamHierarchyResponseDto;
9
+ children?: MinimalTeamHierarchyResponseDto[];
10
+ /**
11
+ * Number of developers in the team
12
+ * @format int32
13
+ * @example 10
14
+ */
15
+ developerCount?: number;
9
16
  /**
10
17
  * Whether this team is a leaf node (has no children)
11
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,4 @@
1
- import type { OrgTreeProfileDto } from '../schemas/OrgTreeProfileDto';
2
1
  export interface OrgTreeUpdateRequestDto {
3
- efficiencyProfile?: OrgTreeProfileDto;
4
2
  /**
5
3
  * @format int32
6
4
  */
@@ -10,7 +8,6 @@ export interface OrgTreeUpdateRequestDto {
10
8
  */
11
9
  integrationIds?: number[];
12
10
  name: string;
13
- productivityProfile?: OrgTreeProfileDto;
14
11
  /**
15
12
  * @format int32
16
13
  */
@@ -1 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
1
4
  export {};
@@ -6,7 +6,7 @@ export interface PaginatedResponseTeamSummary {
6
6
  /**
7
7
  * @format int32
8
8
  */
9
- page?: number;
9
+ pageIndex?: number;
10
10
  /**
11
11
  * @format int32
12
12
  */
@@ -9,5 +9,5 @@ export interface TeamDevelopersDto {
9
9
  /**
10
10
  * @format int32
11
11
  */
12
- teamId?: number;
12
+ teamRefId?: number;
13
13
  }
@@ -1,9 +1,6 @@
1
1
  export interface TeamFilter {
2
2
  applicableMetrics?: Array<'CFR' | 'DF' | 'LTTC' | 'MTTR' | 'PRODUCTIVITY'>;
3
- /**
4
- * @format int32
5
- */
6
- filterId?: number;
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';
7
4
  /**
8
5
  * @format int32
9
6
  */
@@ -14,5 +11,9 @@ export interface TeamFilter {
14
11
  integrationId?: number;
15
12
  integrationName?: string;
16
13
  operator?: 'contains' | 'ends_with' | 'equals' | 'in' | 'not_contains' | 'not_equals' | 'not_in' | 'starts_with';
14
+ /**
15
+ * @format int32
16
+ */
17
+ questionId?: number;
17
18
  values?: string[];
18
19
  }
@@ -4,5 +4,5 @@ export interface TeamIntegrationDto {
4
4
  /**
5
5
  * @format int32
6
6
  */
7
- teamId?: number;
7
+ teamRefId?: number;
8
8
  }
@@ -1,15 +1,9 @@
1
1
  export interface TeamResponse {
2
- active?: boolean;
3
2
  /**
4
3
  * @format date-time
5
4
  */
6
5
  createdAt?: string;
7
6
  createdByEmail?: string;
8
- /**
9
- * @format int32
10
- */
11
- id?: number;
12
- latest?: boolean;
13
7
  leaf?: boolean;
14
8
  /**
15
9
  * @format int32
@@ -33,8 +27,4 @@ export interface TeamResponse {
33
27
  */
34
28
  updatedAt?: string;
35
29
  updatedByEmail?: string;
36
- /**
37
- * @format int32
38
- */
39
- versionId?: number;
40
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.18.3",
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,26 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { TeamResponse } from '../schemas/TeamResponse';
3
- import type { TeamRequestDto } from '../schemas/TeamRequestDto';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface TeamsControllerUpdateTeamMutationPathParams {
7
- /**
8
- * @format int32
9
- */
10
- teamId: number;
11
- }
12
- export interface TeamsControllerUpdateTeamMutationQueryParams {
13
- account: string;
14
- }
15
- export type TeamsControllerUpdateTeamRequestBody = TeamRequestDto;
16
- export type TeamsControllerUpdateTeamOkResponse = ResponseWithPagination<TeamResponse>;
17
- export type TeamsControllerUpdateTeamErrorResponse = TeamResponse;
18
- export interface TeamsControllerUpdateTeamProps extends TeamsControllerUpdateTeamMutationPathParams, Omit<FetcherOptions<TeamsControllerUpdateTeamMutationQueryParams, TeamsControllerUpdateTeamRequestBody>, 'url'> {
19
- queryParams: TeamsControllerUpdateTeamMutationQueryParams;
20
- body: TeamsControllerUpdateTeamRequestBody;
21
- }
22
- export declare function teamsControllerUpdateTeam(props: TeamsControllerUpdateTeamProps): Promise<TeamsControllerUpdateTeamOkResponse>;
23
- /**
24
- * Updates the team with the specified ID
25
- */
26
- export declare function useTeamsControllerUpdateTeamMutation(options?: Omit<UseMutationOptions<TeamsControllerUpdateTeamOkResponse, TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TeamsControllerUpdateTeamOkResponse, TeamResponse, TeamsControllerUpdateTeamProps, 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 teamsControllerUpdateTeam(props) {
7
- return fetcher(Object.assign({ url: `/v2/teams/${props.teamId}/team_info`, method: 'PUT' }, props));
8
- }
9
- /**
10
- * Updates the team with the specified ID
11
- */
12
- export function useTeamsControllerUpdateTeamMutation(options) {
13
- return useMutation((mutateProps) => teamsControllerUpdateTeam(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
- }