@harnessio/react-ccm-service-client 0.4.8 → 0.4.9

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.
@@ -8,7 +8,7 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
8
8
  export interface ChangeRecommendationStateMutationQueryParams {
9
9
  accountIdentifier: string;
10
10
  recommendationId: string;
11
- state: 'APPLIED' | 'IGNORED' | 'OPEN' | 'TEMPORARILY_IGNORED';
11
+ state: 'APPLIED' | 'IGNORED' | 'OPEN' | 'REJECTED' | 'TEMPORARILY_IGNORED';
12
12
  }
13
13
  export type ChangeRecommendationStateRequestBody = RecommendationChangeStateDto;
14
14
  export type ChangeRecommendationStateOkResponse = ResponseWithPagination<unknown>;
@@ -8,7 +8,7 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
8
8
  export interface RecommendationGroupByStatsMutationQueryParams {
9
9
  accountIdentifier: string;
10
10
  groupBy: 'CLOUD_ACCOUNT' | 'REGION' | 'RESOURCE_TYPE';
11
- state: 'APPLIED' | 'IGNORED' | 'OPEN' | 'TEMPORARILY_IGNORED';
11
+ state: 'APPLIED' | 'IGNORED' | 'OPEN' | 'REJECTED' | 'TEMPORARILY_IGNORED';
12
12
  /**
13
13
  * @format int32
14
14
  */
@@ -39,7 +39,7 @@ export interface BaseRecommendationFilterProperties {
39
39
  /**
40
40
  * List of recommendationStates which will be applied as filter for Recommendations
41
41
  */
42
- recommendationState?: Array<'APPLIED' | 'IGNORED' | 'OPEN' | 'TEMPORARILY_IGNORED'>;
42
+ recommendationState?: Array<'APPLIED' | 'IGNORED' | 'OPEN' | 'REJECTED' | 'TEMPORARILY_IGNORED'>;
43
43
  /**
44
44
  * List of regions to filter recommendations
45
45
  */
@@ -23,7 +23,7 @@ export interface EcsRecommendationDto {
23
23
  };
24
24
  };
25
25
  recommendationSnapshot?: EcsRecommendationSnapshot;
26
- recommendationState?: 'APPLIED' | 'IGNORED' | 'OPEN' | 'TEMPORARILY_IGNORED';
26
+ recommendationState?: 'APPLIED' | 'IGNORED' | 'OPEN' | 'REJECTED' | 'TEMPORARILY_IGNORED';
27
27
  serviceArn?: string;
28
28
  serviceName?: string;
29
29
  serviceNowDetails?: CcmServiceNowDetails;
@@ -8,7 +8,7 @@ export interface IacmResourceRecommendationRequest {
8
8
  */
9
9
  resources: IacmResource[];
10
10
  /**
11
- * Filter recommendations by state (OPEN, APPLIED, IGNORED)
11
+ * Filter recommendations by state (OPEN, APPLIED, IGNORED, REJECTED)
12
12
  */
13
- states?: Array<'APPLIED' | 'IGNORED' | 'OPEN' | 'TEMPORARILY_IGNORED'>;
13
+ states?: Array<'APPLIED' | 'IGNORED' | 'OPEN' | 'REJECTED' | 'TEMPORARILY_IGNORED'>;
14
14
  }
@@ -25,7 +25,7 @@ export interface K8sRecommendationFilterProperties {
25
25
  /**
26
26
  * List of recommendationStates which will be applied as filter for Recommendations
27
27
  */
28
- recommendationStates?: Array<'APPLIED' | 'IGNORED' | 'OPEN' | 'TEMPORARILY_IGNORED'>;
28
+ recommendationStates?: Array<'APPLIED' | 'IGNORED' | 'OPEN' | 'REJECTED' | 'TEMPORARILY_IGNORED'>;
29
29
  /**
30
30
  * List of regions which will be applied as filter for Recommendations
31
31
  */
@@ -14,7 +14,7 @@ export interface NodeRecommendationDto {
14
14
  id?: string;
15
15
  jiraDetails?: CcmJiraDetails;
16
16
  nodePoolId?: NodePoolId;
17
- recommendationState?: 'APPLIED' | 'IGNORED' | 'OPEN' | 'TEMPORARILY_IGNORED';
17
+ recommendationState?: 'APPLIED' | 'IGNORED' | 'OPEN' | 'REJECTED' | 'TEMPORARILY_IGNORED';
18
18
  recommended?: RecommendationResponse;
19
19
  resourceRequirement?: RecommendClusterRequest;
20
20
  serviceNowDetails?: CcmServiceNowDetails;
@@ -60,7 +60,7 @@ export interface RecommendationItem {
60
60
  preferenceBasedSaving?: number;
61
61
  recommendationDetails?: RecommendationDetailsDto;
62
62
  recommendationLink?: string;
63
- recommendationState?: 'APPLIED' | 'IGNORED' | 'OPEN' | 'TEMPORARILY_IGNORED';
63
+ recommendationState?: 'APPLIED' | 'IGNORED' | 'OPEN' | 'REJECTED' | 'TEMPORARILY_IGNORED';
64
64
  resourceId?: string;
65
65
  resourceName?: string;
66
66
  resourceType: 'AZURE_APP_SERVICE' | 'AZURE_DATABASE' | 'AZURE_DISK' | 'AZURE_FILES' | 'AZURE_INSTANCE' | 'AZURE_STORAGE' | 'AZURE_VM' | 'AZURE_VMSS' | 'EBS_VOLUME' | 'EC2_AUTO_SCALING_GROUP' | 'EC2_INSTANCE' | 'EC2_INSTANCE_V2' | 'ECS_SERVICE' | 'GOVERNANCE' | 'NODE_POOL' | 'RDS_DB_INSTANCE' | 'RDS_DB_INSTANCE_STORAGE' | 'WORKLOAD';
@@ -11,6 +11,6 @@ export interface WorkloadRecommendationDto {
11
11
  items?: ContainerHistogramDto[];
12
12
  jiraDetails?: CcmJiraDetails;
13
13
  lastDayCost?: Cost;
14
- recommendationState?: 'APPLIED' | 'IGNORED' | 'OPEN' | 'TEMPORARILY_IGNORED';
14
+ recommendationState?: 'APPLIED' | 'IGNORED' | 'OPEN' | 'REJECTED' | 'TEMPORARILY_IGNORED';
15
15
  serviceNowDetails?: CcmServiceNowDetails;
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ccm-service-client",
3
- "version": "0.4.8",
3
+ "version": "0.4.9",
4
4
  "description": "Harness CCM Service APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",