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

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 (77) hide show
  1. package/dist/ccm-service/src/services/hooks/useCancelEvaluationExportJobMutation.d.ts +20 -0
  2. package/dist/ccm-service/src/services/hooks/useCancelEvaluationExportJobMutation.js +14 -0
  3. package/dist/ccm-service/src/services/hooks/useCloudCostK8sClusterSetupMutation.d.ts +22 -0
  4. package/dist/ccm-service/src/services/hooks/useCloudCostK8sClusterSetupMutation.js +15 -0
  5. package/dist/ccm-service/src/services/hooks/useCreateEvaluationExportJobMutation.d.ts +21 -0
  6. package/dist/ccm-service/src/services/hooks/useCreateEvaluationExportJobMutation.js +14 -0
  7. package/dist/ccm-service/src/services/hooks/useEcsRecommendationDetailQuery.d.ts +3 -3
  8. package/dist/ccm-service/src/services/hooks/useGetBusinessMappingListQuery.d.ts +1 -1
  9. package/dist/ccm-service/src/services/hooks/useGetBusinessMappingListQuery.js +1 -1
  10. package/dist/ccm-service/src/services/hooks/useGetEntityListQuery.d.ts +1 -1
  11. package/dist/ccm-service/src/services/hooks/useGetLatestEvaluationExportJobQuery.d.ts +20 -0
  12. package/dist/ccm-service/src/services/hooks/useGetLatestEvaluationExportJobQuery.js +14 -0
  13. package/dist/ccm-service/src/services/hooks/useGetRecommendationPresetsQuery.d.ts +1 -1
  14. package/dist/ccm-service/src/services/hooks/useListCloudAccountOverridesByResourceTypeQuery.d.ts +1 -1
  15. package/dist/ccm-service/src/services/hooks/useRecommendationSavingsTrendMutation.d.ts +26 -0
  16. package/dist/ccm-service/src/services/hooks/useRecommendationSavingsTrendMutation.js +14 -0
  17. package/dist/ccm-service/src/services/hooks/useWorkloadRecommendationDetailQuery.d.ts +2 -2
  18. package/dist/ccm-service/src/services/index.d.ts +16 -8
  19. package/dist/ccm-service/src/services/index.js +5 -1
  20. package/dist/ccm-service/src/services/schemas/AnomalyData.d.ts +1 -0
  21. package/dist/ccm-service/src/services/schemas/AnomalyFilterProperties.d.ts +4 -0
  22. package/dist/ccm-service/src/services/schemas/AppliedRecommendationResourceStatsDto.d.ts +1 -1
  23. package/dist/ccm-service/src/services/schemas/BaseRecommendationFilterProperties.d.ts +1 -1
  24. package/dist/ccm-service/src/services/schemas/BudgetSummary.d.ts +1 -0
  25. package/dist/ccm-service/src/services/schemas/BusinessMapping.d.ts +7 -1
  26. package/dist/ccm-service/src/services/schemas/CcmAggregation.d.ts +1 -1
  27. package/dist/ccm-service/src/services/schemas/CcmGroupBy.d.ts +1 -1
  28. package/dist/ccm-service/src/services/schemas/CcmJiraCreateDto.d.ts +1 -1
  29. package/dist/ccm-service/src/services/schemas/CcmJiraDetails.d.ts +0 -1
  30. package/dist/ccm-service/src/services/schemas/CcmServiceNowCreateDto.d.ts +1 -1
  31. package/dist/ccm-service/src/services/schemas/CcmServiceNowDetails.d.ts +0 -1
  32. package/dist/ccm-service/src/services/schemas/CcmSort.d.ts +1 -1
  33. package/dist/ccm-service/src/services/schemas/CeView.d.ts +2 -2
  34. package/dist/ccm-service/src/services/schemas/ChangeRecommendationInferenceStatusDto.d.ts +1 -1
  35. package/dist/ccm-service/src/services/schemas/CloudProviderPreferenceOverviewDto.d.ts +1 -1
  36. package/dist/ccm-service/src/services/schemas/CloudProviderRecommendationPreference.d.ts +2 -2
  37. package/dist/ccm-service/src/services/schemas/CloudProviderRecommendationPreferenceDto.d.ts +1 -1
  38. package/dist/ccm-service/src/services/schemas/ClusterCostDetailsQueryParams.d.ts +1 -1
  39. package/dist/ccm-service/src/services/schemas/CostDetailsQueryParams.d.ts +1 -1
  40. package/dist/ccm-service/src/services/schemas/CostTarget.d.ts +1 -1
  41. package/dist/ccm-service/src/services/schemas/EvaluationExportJobResponseDto.d.ts +31 -0
  42. package/dist/ccm-service/src/services/schemas/FieldFilter.d.ts +1 -1
  43. package/dist/ccm-service/src/services/schemas/IacmResourceCostPeriod.d.ts +1 -1
  44. package/dist/ccm-service/src/services/schemas/K8sClusterSetupRequest.d.ts +10 -0
  45. package/dist/ccm-service/src/services/schemas/K8sRecommendationFilterProperties.d.ts +1 -1
  46. package/dist/ccm-service/src/services/schemas/PerspectiveQueryDto.d.ts +2 -2
  47. package/dist/ccm-service/src/services/schemas/RecommendationCostSettings.d.ts +0 -2
  48. package/dist/ccm-service/src/services/schemas/RecommendationItem.d.ts +1 -3
  49. package/dist/ccm-service/src/services/schemas/RecommendationPreset.d.ts +1 -1
  50. package/dist/ccm-service/src/services/schemas/RecommendationResponse.d.ts +1 -1
  51. package/dist/ccm-service/src/services/schemas/RecommendationSavingsTrendDto.d.ts +4 -0
  52. package/dist/ccm-service/src/services/schemas/ResponseDtoEvaluationExportJobResponseDto.d.ts +9 -0
  53. package/dist/ccm-service/src/services/schemas/ResponseDtoRecommendationSavingsTrendDto.d.ts +9 -0
  54. package/dist/ccm-service/src/services/schemas/ResponseDtoRecommendationSavingsTrendDto.js +1 -0
  55. package/dist/ccm-service/src/services/schemas/ResponseMessage.d.ts +34 -0
  56. package/dist/ccm-service/src/services/schemas/RuleExecution.d.ts +1 -1
  57. package/dist/ccm-service/src/services/schemas/SavingsTrendPointDto.d.ts +14 -0
  58. package/dist/ccm-service/src/services/schemas/SharedCost.d.ts +2 -2
  59. package/dist/ccm-service/src/services/schemas/ViewParams.d.ts +1 -1
  60. package/dist/ccm-service/src/services/schemas/ViewRule.d.ts +1 -1
  61. package/dist/ccm-service/src/services/schemas/ViewTimeRange.d.ts +2 -2
  62. package/dist/ccm-service/src/services/schemas/ViewVisualization.d.ts +1 -1
  63. package/package.json +1 -1
  64. package/dist/ccm-service/src/services/hooks/useValidateOverlapInCostCategoryMutation.d.ts +0 -21
  65. package/dist/ccm-service/src/services/hooks/useValidateOverlapInCostCategoryMutation.js +0 -14
  66. package/dist/ccm-service/src/services/schemas/AwsNodepoolPreferences.d.ts +0 -3
  67. package/dist/ccm-service/src/services/schemas/AzureNodepoolPreferences.d.ts +0 -4
  68. package/dist/ccm-service/src/services/schemas/BusinessMappingValidationRequestDto.d.ts +0 -19
  69. package/dist/ccm-service/src/services/schemas/BusinessMappingValidationResponseDto.d.ts +0 -17
  70. package/dist/ccm-service/src/services/schemas/GcpNodepoolPreferences.d.ts +0 -12
  71. package/dist/ccm-service/src/services/schemas/GcpNodepoolPreferences.js +0 -4
  72. package/dist/ccm-service/src/services/schemas/NodepoolPreferences.d.ts +0 -9
  73. /package/dist/ccm-service/src/services/schemas/{AwsNodepoolPreferences.js → EvaluationExportJobResponseDto.js} +0 -0
  74. /package/dist/ccm-service/src/services/schemas/{AzureNodepoolPreferences.js → K8sClusterSetupRequest.js} +0 -0
  75. /package/dist/ccm-service/src/services/schemas/{BusinessMappingValidationResponseDto.js → RecommendationSavingsTrendDto.js} +0 -0
  76. /package/dist/ccm-service/src/services/schemas/{NodepoolPreferences.js → ResponseDtoEvaluationExportJobResponseDto.js} +0 -0
  77. /package/dist/ccm-service/src/services/schemas/{BusinessMappingValidationRequestDto.js → SavingsTrendPointDto.js} +0 -0
@@ -0,0 +1,20 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { Failure } from '../schemas/Failure';
3
+ import type { Error } from '../schemas/Error';
4
+ import type { ResponseDtoEvaluationExportJobResponseDto } from '../schemas/ResponseDtoEvaluationExportJobResponseDto';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface CancelEvaluationExportJobMutationQueryParams {
8
+ accountIdentifier: string;
9
+ ruleId: string;
10
+ }
11
+ export type CancelEvaluationExportJobOkResponse = ResponseWithPagination<unknown>;
12
+ export type CancelEvaluationExportJobErrorResponse = Failure | Error | ResponseDtoEvaluationExportJobResponseDto;
13
+ export interface CancelEvaluationExportJobProps extends Omit<FetcherOptions<CancelEvaluationExportJobMutationQueryParams, unknown>, 'url'> {
14
+ queryParams: CancelEvaluationExportJobMutationQueryParams;
15
+ }
16
+ export declare function cancelEvaluationExportJob(props: CancelEvaluationExportJobProps): Promise<CancelEvaluationExportJobOkResponse>;
17
+ /**
18
+ * Cancels the caller's in-progress evaluation export for a rule and discards any partial GCS artifact. A new export can be started afterwards.
19
+ */
20
+ export declare function useCancelEvaluationExportJobMutation(options?: Omit<UseMutationOptions<CancelEvaluationExportJobOkResponse, CancelEvaluationExportJobErrorResponse, CancelEvaluationExportJobProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CancelEvaluationExportJobOkResponse, CancelEvaluationExportJobErrorResponse, CancelEvaluationExportJobProps, unknown>;
@@ -0,0 +1,14 @@
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 cancelEvaluationExportJob(props) {
7
+ return fetcher(Object.assign({ url: `/governance/execution/export/job/cancel`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Cancels the caller's in-progress evaluation export for a rule and discards any partial GCS artifact. A new export can be started afterwards.
11
+ */
12
+ export function useCancelEvaluationExportJobMutation(options) {
13
+ return useMutation((mutateProps) => cancelEvaluationExportJob(mutateProps), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { Failure } from '../schemas/Failure';
3
+ import type { Error } from '../schemas/Error';
4
+ import type { K8sClusterSetupRequest } from '../schemas/K8sClusterSetupRequest';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface CloudCostK8sClusterSetupMutationQueryParams {
8
+ accountIdentifier: string;
9
+ }
10
+ export type CloudCostK8sClusterSetupRequestBody = K8sClusterSetupRequest;
11
+ export type CloudCostK8sClusterSetupOkResponse = ResponseWithPagination<unknown>;
12
+ export type CloudCostK8sClusterSetupErrorResponse = Failure | Error | unknown;
13
+ export interface CloudCostK8sClusterSetupProps extends Omit<FetcherOptions<CloudCostK8sClusterSetupMutationQueryParams, CloudCostK8sClusterSetupRequestBody>, 'url'> {
14
+ queryParams: CloudCostK8sClusterSetupMutationQueryParams;
15
+ body: CloudCostK8sClusterSetupRequestBody;
16
+ }
17
+ export declare function cloudCostK8sClusterSetup(props: CloudCostK8sClusterSetupProps): Promise<CloudCostK8sClusterSetupOkResponse>;
18
+ /**
19
+ * Download the Kubernetes cloud cost cluster setup YAML for the requested CCM features.
20
+ * @deprecated
21
+ */
22
+ export declare function useCloudCostK8sClusterSetupMutation(options?: Omit<UseMutationOptions<CloudCostK8sClusterSetupOkResponse, CloudCostK8sClusterSetupErrorResponse, CloudCostK8sClusterSetupProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CloudCostK8sClusterSetupOkResponse, unknown, CloudCostK8sClusterSetupProps, unknown>;
@@ -0,0 +1,15 @@
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 cloudCostK8sClusterSetup(props) {
7
+ return fetcher(Object.assign({ url: `/yaml/cloudCostK8sClusterSetup`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Download the Kubernetes cloud cost cluster setup YAML for the requested CCM features.
11
+ * @deprecated
12
+ */
13
+ export function useCloudCostK8sClusterSetupMutation(options) {
14
+ return useMutation((mutateProps) => cloudCostK8sClusterSetup(mutateProps), options);
15
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { Failure } from '../schemas/Failure';
3
+ import type { Error } from '../schemas/Error';
4
+ import type { EvaluationExportRequestDto } from '../schemas/EvaluationExportRequestDto';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface CreateEvaluationExportJobMutationQueryParams {
8
+ accountIdentifier: string;
9
+ }
10
+ export type CreateEvaluationExportJobRequestBody = EvaluationExportRequestDto;
11
+ export type CreateEvaluationExportJobOkResponse = ResponseWithPagination<unknown>;
12
+ export type CreateEvaluationExportJobErrorResponse = Failure | Error;
13
+ export interface CreateEvaluationExportJobProps extends Omit<FetcherOptions<CreateEvaluationExportJobMutationQueryParams, CreateEvaluationExportJobRequestBody>, 'url'> {
14
+ queryParams: CreateEvaluationExportJobMutationQueryParams;
15
+ body: CreateEvaluationExportJobRequestBody;
16
+ }
17
+ export declare function createEvaluationExportJob(props: CreateEvaluationExportJobProps): Promise<CreateEvaluationExportJobOkResponse>;
18
+ /**
19
+ * Create an asynchronous evaluation export job and return immediately with a job id
20
+ */
21
+ export declare function useCreateEvaluationExportJobMutation(options?: Omit<UseMutationOptions<CreateEvaluationExportJobOkResponse, CreateEvaluationExportJobErrorResponse, CreateEvaluationExportJobProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateEvaluationExportJobOkResponse, CreateEvaluationExportJobErrorResponse, CreateEvaluationExportJobProps, unknown>;
@@ -0,0 +1,14 @@
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 createEvaluationExportJob(props) {
7
+ return fetcher(Object.assign({ url: `/governance/execution/export/job`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Create an asynchronous evaluation export job and return immediately with a job id
11
+ */
12
+ export function useCreateEvaluationExportJobMutation(options) {
13
+ return useMutation((mutateProps) => createEvaluationExportJob(mutateProps), options);
14
+ }
@@ -7,12 +7,12 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface EcsRecommendationDetailQueryQueryParams {
8
8
  accountIdentifier: string;
9
9
  id: string;
10
- from?: string;
11
- to?: string;
10
+ from?: string | null;
11
+ to?: string | null;
12
12
  /**
13
13
  * @format int64
14
14
  */
15
- bufferPercentage?: number;
15
+ bufferPercentage?: number | null;
16
16
  }
17
17
  export type EcsRecommendationDetailOkResponse = ResponseWithPagination<unknown>;
18
18
  export type EcsRecommendationDetailErrorResponse = Failure | Error | ResponseDtoecsRecommendationDto;
@@ -25,6 +25,6 @@ export interface GetBusinessMappingListProps extends Omit<FetcherOptions<GetBusi
25
25
  }
26
26
  export declare function getBusinessMappingList(props: GetBusinessMappingListProps): Promise<GetBusinessMappingListOkResponse>;
27
27
  /**
28
- * List all Cost Categories for your account with support for search, sorting, and pagination. Use this endpoint to browse and discover existing Cost Categories and their configurations.
28
+ * List all Cost Categories for your account with support for search, sorting, and pagination. Use this endpoint to browse and discover existing Cost Categories and their configurations. Each item includes hasOverlap: true when the last completed validation found overlapping buckets, false when it found none, and absent until validation has completed.
29
29
  */
30
30
  export declare function useGetBusinessMappingListQuery(props: GetBusinessMappingListProps, options?: Omit<UseQueryOptions<GetBusinessMappingListOkResponse, GetBusinessMappingListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetBusinessMappingListOkResponse, GetBusinessMappingListErrorResponse>;
@@ -7,7 +7,7 @@ export function getBusinessMappingList(props) {
7
7
  return fetcher(Object.assign({ url: `/business-mapping`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
- * List all Cost Categories for your account with support for search, sorting, and pagination. Use this endpoint to browse and discover existing Cost Categories and their configurations.
10
+ * List all Cost Categories for your account with support for search, sorting, and pagination. Use this endpoint to browse and discover existing Cost Categories and their configurations. Each item includes hasOverlap: true when the last completed validation found overlapping buckets, false when it found none, and absent until validation has completed.
11
11
  */
12
12
  export function useGetBusinessMappingListQuery(props, options) {
13
13
  return useQuery(['getBusinessMappingList', props.queryParams], ({ signal }) => getBusinessMappingList(Object.assign(Object.assign({}, props), { signal })), options);
@@ -10,7 +10,7 @@ export interface GetEntityListQueryQueryParams {
10
10
  /**
11
11
  * List of all possible Fields
12
12
  */
13
- entity?: 'ACTUAL_AMOUNT' | 'ACTUAL_COST' | 'ALL' | 'ANOMALOUS_SPEND' | 'ANOMALOUS_SPEND_PERCENTAGE' | 'ANOMALY_ID' | 'ANOMALY_STATUS' | 'ANOMALY_TIME' | 'ANTHROPIC_MODEL' | 'ANTHROPIC_PROJECT_ID' | 'ANTHROPIC_USAGE_TYPE' | 'AWS_ACCOUNT' | 'AWS_BILLING_ENTITY' | 'AWS_INSTANCE_TYPE' | 'AWS_LINE_ITEM_TYPE' | 'AWS_RESOURCE_ID' | 'AWS_SERVICE' | 'AWS_USAGE_TYPE' | 'AZURE_BENEFIT_NAME' | 'AZURE_CHARGE_TYPE' | 'AZURE_FREQUENCY' | 'AZURE_INSTANCE_ID' | 'AZURE_METER_CATEGORY' | 'AZURE_METER_NAME' | 'AZURE_METER_SUBCATEGORY' | 'AZURE_PRICING_MODEL' | 'AZURE_PUBLISHER_NAME' | 'AZURE_PUBLISHER_TYPE' | 'AZURE_RESERVATION_ID' | 'AZURE_RESERVATION_NAME' | 'AZURE_RESOURCE' | 'AZURE_RESOURCE_GROUP_NAME' | 'AZURE_RESOURCE_ID' | 'AZURE_RESOURCE_NAME' | 'AZURE_RESOURCE_TYPE' | 'AZURE_SERVICE_NAME' | 'AZURE_SERVICE_TIER' | 'AZURE_SUBSCRIPTION_GUID' | 'AZURE_SUBSCRIPTION_NAME' | 'CLOUD_PROVIDER' | 'CLUSTER_APPLICATION' | 'CLUSTER_CLOUD_PROVIDER' | 'CLUSTER_ECS_LAUNCH_TYPE' | 'CLUSTER_ECS_LAUNCH_TYPE_ID' | 'CLUSTER_ECS_SERVICE' | 'CLUSTER_ECS_SERVICE_ID' | 'CLUSTER_ECS_TASK' | 'CLUSTER_ECS_TASK_ID' | 'CLUSTER_ENVIRONMENT' | 'CLUSTER_ID' | 'CLUSTER_NAME' | 'CLUSTER_NAMESPACE' | 'CLUSTER_NAMESPACE_ID' | 'CLUSTER_NODE' | 'CLUSTER_PARENT_INSTANCE_ID' | 'CLUSTER_POD' | 'CLUSTER_SERVICE' | 'CLUSTER_STORAGE' | 'CLUSTER_WORKLOAD' | 'CLUSTER_WORKLOAD_ID' | 'COMMON_NONE' | 'COMMON_PRODUCT' | 'COMMON_REGION' | 'COST_BUCKET_NAME' | 'COST_CATEGORY_NAME' | 'COST_IMPACT' | 'CRITICALITY' | 'DURATION' | 'EXPECTED_COST' | 'GCP_PRODUCT' | 'GCP_PROJECT' | 'GCP_RESOURCE_GLOBAL_NAME' | 'GCP_SKU_DESCRIPTION' | 'GCP_SKU_ID' | 'IDLE_COST' | 'LAST_EVALUATED_AT' | 'NAMESPACE' | 'OPENAI_MODEL' | 'OPENAI_PROJECT_ID' | 'OPENAI_USAGE_TYPE' | 'PERSPECTIVE_ID' | 'POTENTIAL_SAVINGS' | 'RECOMMENDATIONS_COUNT' | 'REGION' | 'REPORTED_BY' | 'RULE_NAME' | 'RULE_SET_NAME' | 'SERVICE' | 'SERVICE_NAME' | 'STATUS' | 'TOTAL_COST' | 'UNALLOCATED_COST' | 'UNIT_METRIC_NAME' | 'UPDATED_AT' | 'UPDATED_AT_RELATIVE' | 'UPDATED_BY' | 'WORKLOAD' | 'WORKLOAD_TYPE';
13
+ entity?: 'ACTUAL_AMOUNT' | 'ACTUAL_COST' | 'ALL' | 'ANOMALOUS_SPEND' | 'ANOMALOUS_SPEND_PERCENTAGE' | 'ANOMALY_ID' | 'ANOMALY_STATUS' | 'ANOMALY_TIME' | 'ANTHROPIC_MODEL' | 'ANTHROPIC_PROJECT_ID' | 'ANTHROPIC_USAGE_TYPE' | 'AWS_ACCOUNT' | 'AWS_BILLING_ENTITY' | 'AWS_INSTANCE_TYPE' | 'AWS_LINE_ITEM_TYPE' | 'AWS_RESOURCE_ID' | 'AWS_SERVICE' | 'AWS_USAGE_TYPE' | 'AZURE_BENEFIT_NAME' | 'AZURE_CHARGE_TYPE' | 'AZURE_FREQUENCY' | 'AZURE_INSTANCE_ID' | 'AZURE_METER_CATEGORY' | 'AZURE_METER_NAME' | 'AZURE_METER_SUBCATEGORY' | 'AZURE_PRICING_MODEL' | 'AZURE_PUBLISHER_NAME' | 'AZURE_PUBLISHER_TYPE' | 'AZURE_RESERVATION_ID' | 'AZURE_RESERVATION_NAME' | 'AZURE_RESOURCE' | 'AZURE_RESOURCE_GROUP_NAME' | 'AZURE_RESOURCE_ID' | 'AZURE_RESOURCE_NAME' | 'AZURE_RESOURCE_TYPE' | 'AZURE_SERVICE_NAME' | 'AZURE_SERVICE_TIER' | 'AZURE_SUBSCRIPTION_GUID' | 'AZURE_SUBSCRIPTION_NAME' | 'CLOUD_PROVIDER' | 'CLUSTER_APPLICATION' | 'CLUSTER_CLOUD_PROVIDER' | 'CLUSTER_ECS_LAUNCH_TYPE' | 'CLUSTER_ECS_LAUNCH_TYPE_ID' | 'CLUSTER_ECS_SERVICE' | 'CLUSTER_ECS_SERVICE_ID' | 'CLUSTER_ECS_TASK' | 'CLUSTER_ECS_TASK_ID' | 'CLUSTER_ENVIRONMENT' | 'CLUSTER_ID' | 'CLUSTER_NAME' | 'CLUSTER_NAMESPACE' | 'CLUSTER_NAMESPACE_ID' | 'CLUSTER_NODE' | 'CLUSTER_PARENT_INSTANCE_ID' | 'CLUSTER_POD' | 'CLUSTER_SERVICE' | 'CLUSTER_STORAGE' | 'CLUSTER_WORKLOAD' | 'CLUSTER_WORKLOAD_ID' | 'COMMON_NONE' | 'COMMON_PRODUCT' | 'COMMON_REGION' | 'COST_BUCKET_NAME' | 'COST_CATEGORY_NAME' | 'COST_IMPACT' | 'CRITICALITY' | 'DURATION' | 'EXPECTED_COST' | 'GCP_PRODUCT' | 'GCP_PROJECT' | 'GCP_RESOURCE_GLOBAL_NAME' | 'GCP_SKU_DESCRIPTION' | 'GCP_SKU_ID' | 'IDLE_COST' | 'LAST_EVALUATED_AT' | 'NAMESPACE' | 'OPENAI_MODEL' | 'OPENAI_PROJECT_ID' | 'OPENAI_USAGE_TYPE' | 'PAYER_ACCOUNT_ID' | 'PERSPECTIVE_ID' | 'POTENTIAL_SAVINGS' | 'RECOMMENDATIONS_COUNT' | 'REGION' | 'REPORTED_BY' | 'RULE_NAME' | 'RULE_SET_NAME' | 'SERVICE' | 'SERVICE_NAME' | 'STATUS' | 'TOTAL_COST' | 'UNALLOCATED_COST' | 'UNIT_METRIC_NAME' | 'UPDATED_AT' | 'UPDATED_AT_RELATIVE' | 'UPDATED_BY' | 'WORKLOAD' | 'WORKLOAD_TYPE';
14
14
  searchParam?: string;
15
15
  /**
16
16
  * @format int32
@@ -0,0 +1,20 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { Failure } from '../schemas/Failure';
3
+ import type { Error } from '../schemas/Error';
4
+ import type { ResponseDtoEvaluationExportJobResponseDto } from '../schemas/ResponseDtoEvaluationExportJobResponseDto';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface GetLatestEvaluationExportJobQueryQueryParams {
8
+ accountIdentifier: string;
9
+ ruleId: string;
10
+ }
11
+ export type GetLatestEvaluationExportJobOkResponse = ResponseWithPagination<unknown>;
12
+ export type GetLatestEvaluationExportJobErrorResponse = Failure | Error | ResponseDtoEvaluationExportJobResponseDto;
13
+ export interface GetLatestEvaluationExportJobProps extends Omit<FetcherOptions<GetLatestEvaluationExportJobQueryQueryParams, unknown>, 'url'> {
14
+ queryParams: GetLatestEvaluationExportJobQueryQueryParams;
15
+ }
16
+ export declare function getLatestEvaluationExportJob(props: GetLatestEvaluationExportJobProps): Promise<GetLatestEvaluationExportJobOkResponse>;
17
+ /**
18
+ * Returns the caller's latest evaluation export job for a rule (in-flight, failed, or still-downloadable completed). Use for polling and refresh recovery. Returns null when none exists or the latest job has expired.
19
+ */
20
+ export declare function useGetLatestEvaluationExportJobQuery(props: GetLatestEvaluationExportJobProps, options?: Omit<UseQueryOptions<GetLatestEvaluationExportJobOkResponse, GetLatestEvaluationExportJobErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetLatestEvaluationExportJobOkResponse, GetLatestEvaluationExportJobErrorResponse>;
@@ -0,0 +1,14 @@
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 getLatestEvaluationExportJob(props) {
7
+ return fetcher(Object.assign({ url: `/governance/execution/export/job`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns the caller's latest evaluation export job for a rule (in-flight, failed, or still-downloadable completed). Use for polling and refresh recovery. Returns null when none exists or the latest job has expired.
11
+ */
12
+ export function useGetLatestEvaluationExportJobQuery(props, options) {
13
+ return useQuery(['getLatestEvaluationExportJob', props.queryParams], ({ signal }) => getLatestEvaluationExportJob(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -6,7 +6,7 @@ import type { ResponseWithPagination } from '../helpers';
6
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface GetRecommendationPresetsQueryQueryParams {
8
8
  accountIdentifier: string;
9
- resourceType?: 'AZURE_APP_SERVICE' | 'AZURE_DATABASE' | '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';
9
+ 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';
10
10
  }
11
11
  export type GetRecommendationPresetsOkResponse = ResponseWithPagination<unknown>;
12
12
  export type GetRecommendationPresetsErrorResponse = Failure | Error | ResponseDtoListRecommendationPreset;
@@ -6,7 +6,7 @@ import type { ResponseWithPagination } from '../helpers';
6
6
  import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface ListCloudAccountOverridesByResourceTypeQueryQueryParams {
8
8
  accountIdentifier: string;
9
- resourceType: 'AZURE_APP_SERVICE' | 'AZURE_DATABASE' | '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';
9
+ 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';
10
10
  }
11
11
  export type ListCloudAccountOverridesByResourceTypeOkResponse = ResponseWithPagination<unknown>;
12
12
  export type ListCloudAccountOverridesByResourceTypeErrorResponse = Failure | Error | ResponseDtoListCloudProviderRecommendationPreferenceDto;
@@ -0,0 +1,26 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { Failure } from '../schemas/Failure';
3
+ import type { Error } from '../schemas/Error';
4
+ import type { ResponseDtoRecommendationSavingsTrendDto } from '../schemas/ResponseDtoRecommendationSavingsTrendDto';
5
+ import type { CcmRecommendationFilterProperties } from '../schemas/CcmRecommendationFilterProperties';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface RecommendationSavingsTrendMutationQueryParams {
9
+ accountIdentifier: string;
10
+ /**
11
+ * @format int32
12
+ */
13
+ months?: number;
14
+ }
15
+ export type RecommendationSavingsTrendRequestBody = CcmRecommendationFilterProperties;
16
+ export type RecommendationSavingsTrendOkResponse = ResponseWithPagination<unknown>;
17
+ export type RecommendationSavingsTrendErrorResponse = Failure | Error | ResponseDtoRecommendationSavingsTrendDto;
18
+ export interface RecommendationSavingsTrendProps extends Omit<FetcherOptions<RecommendationSavingsTrendMutationQueryParams, RecommendationSavingsTrendRequestBody>, 'url'> {
19
+ queryParams: RecommendationSavingsTrendMutationQueryParams;
20
+ body: RecommendationSavingsTrendRequestBody;
21
+ }
22
+ export declare function recommendationSavingsTrend(props: RecommendationSavingsTrendProps): Promise<RecommendationSavingsTrendOkResponse>;
23
+ /**
24
+ * Returns the month-over-month savings trend (potential open-backlog savings and realised applied savings) for the recommendations matching the specified filters, over a trailing window of months.
25
+ */
26
+ export declare function useRecommendationSavingsTrendMutation(options?: Omit<UseMutationOptions<RecommendationSavingsTrendOkResponse, RecommendationSavingsTrendErrorResponse, RecommendationSavingsTrendProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RecommendationSavingsTrendOkResponse, RecommendationSavingsTrendErrorResponse, RecommendationSavingsTrendProps, unknown>;
@@ -0,0 +1,14 @@
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 recommendationSavingsTrend(props) {
7
+ return fetcher(Object.assign({ url: `/recommendations/v2/savings-trend`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Returns the month-over-month savings trend (potential open-backlog savings and realised applied savings) for the recommendations matching the specified filters, over a trailing window of months.
11
+ */
12
+ export function useRecommendationSavingsTrendMutation(options) {
13
+ return useMutation((mutateProps) => recommendationSavingsTrend(mutateProps), options);
14
+ }
@@ -7,8 +7,8 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
7
7
  export interface WorkloadRecommendationDetailQueryQueryParams {
8
8
  accountIdentifier: string;
9
9
  id: string;
10
- from?: string;
11
- to?: string;
10
+ from?: string | null;
11
+ to?: string | null;
12
12
  }
13
13
  export type WorkloadRecommendationDetailOkResponse = ResponseWithPagination<unknown>;
14
14
  export type WorkloadRecommendationDetailErrorResponse = Failure | Error | ResponseDtoWorkloadRecommendationDto;
@@ -29,6 +29,8 @@ export type { BudgetFilterValuesErrorResponse, BudgetFilterValuesMutationQueryPa
29
29
  export { budgetFilterValues, useBudgetFilterValuesMutation, } from './hooks/useBudgetFilterValuesMutation';
30
30
  export type { BulkSyncCostCategoryJiraMappingsErrorResponse, BulkSyncCostCategoryJiraMappingsMutationQueryParams, BulkSyncCostCategoryJiraMappingsOkResponse, BulkSyncCostCategoryJiraMappingsProps, BulkSyncCostCategoryJiraMappingsRequestBody, } from './hooks/useBulkSyncCostCategoryJiraMappingsMutation';
31
31
  export { bulkSyncCostCategoryJiraMappings, useBulkSyncCostCategoryJiraMappingsMutation, } from './hooks/useBulkSyncCostCategoryJiraMappingsMutation';
32
+ export type { CancelEvaluationExportJobErrorResponse, CancelEvaluationExportJobMutationQueryParams, CancelEvaluationExportJobOkResponse, CancelEvaluationExportJobProps, } from './hooks/useCancelEvaluationExportJobMutation';
33
+ export { cancelEvaluationExportJob, useCancelEvaluationExportJobMutation, } from './hooks/useCancelEvaluationExportJobMutation';
32
34
  export type { CcmK8sMetaErrorResponse, CcmK8sMetaMutationQueryParams, CcmK8sMetaOkResponse, CcmK8sMetaProps, CcmK8sMetaRequestBody, } from './hooks/useCcmK8sMetaMutation';
33
35
  export { ccmK8sMeta, useCcmK8sMetaMutation } from './hooks/useCcmK8sMetaMutation';
34
36
  export type { ChangeInferenceStateErrorResponse, ChangeInferenceStateMutationQueryParams, ChangeInferenceStateOkResponse, ChangeInferenceStateProps, ChangeInferenceStateRequestBody, } from './hooks/useChangeInferenceStateMutation';
@@ -47,6 +49,8 @@ export type { ClonePerspectiveErrorResponse, ClonePerspectiveMutationPathParams,
47
49
  export { clonePerspective, useClonePerspectiveMutation } from './hooks/useClonePerspectiveMutation';
48
50
  export type { CloneRuleErrorResponse, CloneRuleMutationQueryParams, CloneRuleOkResponse, CloneRuleProps, CloneRuleRequestBody, } from './hooks/useCloneRuleMutation';
49
51
  export { cloneRule, useCloneRuleMutation } from './hooks/useCloneRuleMutation';
52
+ export type { CloudCostK8sClusterSetupErrorResponse, CloudCostK8sClusterSetupMutationQueryParams, CloudCostK8sClusterSetupOkResponse, CloudCostK8sClusterSetupProps, CloudCostK8sClusterSetupRequestBody, } from './hooks/useCloudCostK8sClusterSetupMutation';
53
+ export { cloudCostK8sClusterSetup, useCloudCostK8sClusterSetupMutation, } from './hooks/useCloudCostK8sClusterSetupMutation';
50
54
  export type { ClusterDataErrorResponse, ClusterDataMutationQueryParams, ClusterDataOkResponse, ClusterDataProps, ClusterDataRequestBody, } from './hooks/useClusterDataMutation';
51
55
  export { clusterData, useClusterDataMutation } from './hooks/useClusterDataMutation';
52
56
  export type { CostCoRelationSupportedResourcesErrorResponse, CostCoRelationSupportedResourcesOkResponse, CostCoRelationSupportedResourcesProps, CostCoRelationSupportedResourcesQueryQueryParams, } from './hooks/useCostCoRelationSupportedResourcesQuery';
@@ -69,6 +73,8 @@ export type { CreateCostBucketBudgetsBulkErrorResponse, CreateCostBucketBudgetsB
69
73
  export { createCostBucketBudgetsBulk, useCreateCostBucketBudgetsBulkMutation, } from './hooks/useCreateCostBucketBudgetsBulkMutation';
70
74
  export type { CreateCostCategoryJiraMappingErrorResponse, CreateCostCategoryJiraMappingMutationQueryParams, CreateCostCategoryJiraMappingOkResponse, CreateCostCategoryJiraMappingProps, CreateCostCategoryJiraMappingRequestBody, } from './hooks/useCreateCostCategoryJiraMappingMutation';
71
75
  export { createCostCategoryJiraMapping, useCreateCostCategoryJiraMappingMutation, } from './hooks/useCreateCostCategoryJiraMappingMutation';
76
+ export type { CreateEvaluationExportJobErrorResponse, CreateEvaluationExportJobMutationQueryParams, CreateEvaluationExportJobOkResponse, CreateEvaluationExportJobProps, CreateEvaluationExportJobRequestBody, } from './hooks/useCreateEvaluationExportJobMutation';
77
+ export { createEvaluationExportJob, useCreateEvaluationExportJobMutation, } from './hooks/useCreateEvaluationExportJobMutation';
72
78
  export type { CreateExternalDataProviderErrorResponse, CreateExternalDataProviderMutationQueryParams, CreateExternalDataProviderOkResponse, CreateExternalDataProviderProps, CreateExternalDataProviderRequestBody, } from './hooks/useCreateExternalDataProviderMutation';
73
79
  export { createExternalDataProvider, useCreateExternalDataProviderMutation, } from './hooks/useCreateExternalDataProviderMutation';
74
80
  export type { CreateManagedAccountErrorResponse, CreateManagedAccountMutationQueryParams, CreateManagedAccountOkResponse, CreateManagedAccountProps, } from './hooks/useCreateManagedAccountMutation';
@@ -261,6 +267,8 @@ export type { GetLastPeriodCost_1ErrorResponse, GetLastPeriodCost_1OkResponse, G
261
267
  export { getLastPeriodCost_1, useGetLastPeriodCost_1Query, } from './hooks/useGetLastPeriodCost_1Query';
262
268
  export type { GetLastYearMonthlyCostErrorResponse, GetLastYearMonthlyCostOkResponse, GetLastYearMonthlyCostProps, GetLastYearMonthlyCostQueryQueryParams, } from './hooks/useGetLastYearMonthlyCostQuery';
263
269
  export { getLastYearMonthlyCost, useGetLastYearMonthlyCostQuery, } from './hooks/useGetLastYearMonthlyCostQuery';
270
+ export type { GetLatestEvaluationExportJobErrorResponse, GetLatestEvaluationExportJobOkResponse, GetLatestEvaluationExportJobProps, GetLatestEvaluationExportJobQueryQueryParams, } from './hooks/useGetLatestEvaluationExportJobQuery';
271
+ export { getLatestEvaluationExportJob, useGetLatestEvaluationExportJobQuery, } from './hooks/useGetLatestEvaluationExportJobQuery';
264
272
  export type { GetLicenseUsageErrorResponse, GetLicenseUsageOkResponse, GetLicenseUsageProps, GetLicenseUsageQueryPathParams, GetLicenseUsageQueryQueryParams, } from './hooks/useGetLicenseUsageQuery';
265
273
  export { getLicenseUsage, useGetLicenseUsageQuery } from './hooks/useGetLicenseUsageQuery';
266
274
  export type { GetLinkedBusinessMappingErrorResponse, GetLinkedBusinessMappingMutationPathParams, GetLinkedBusinessMappingMutationQueryParams, GetLinkedBusinessMappingOkResponse, GetLinkedBusinessMappingProps, } from './hooks/useGetLinkedBusinessMappingMutation';
@@ -433,6 +441,8 @@ export type { RecommendationLifecycleStatsErrorResponse, RecommendationLifecycle
433
441
  export { recommendationLifecycleStats, useRecommendationLifecycleStatsMutation, } from './hooks/useRecommendationLifecycleStatsMutation';
434
442
  export type { RecommendationResourceTypeStatsErrorResponse, RecommendationResourceTypeStatsMutationQueryParams, RecommendationResourceTypeStatsOkResponse, RecommendationResourceTypeStatsProps, RecommendationResourceTypeStatsRequestBody, } from './hooks/useRecommendationResourceTypeStatsMutation';
435
443
  export { recommendationResourceTypeStats, useRecommendationResourceTypeStatsMutation, } from './hooks/useRecommendationResourceTypeStatsMutation';
444
+ export type { RecommendationSavingsTrendErrorResponse, RecommendationSavingsTrendMutationQueryParams, RecommendationSavingsTrendOkResponse, RecommendationSavingsTrendProps, RecommendationSavingsTrendRequestBody, } from './hooks/useRecommendationSavingsTrendMutation';
445
+ export { recommendationSavingsTrend, useRecommendationSavingsTrendMutation, } from './hooks/useRecommendationSavingsTrendMutation';
436
446
  export type { RecommendationStatsErrorResponse, RecommendationStatsMutationQueryParams, RecommendationStatsOkResponse, RecommendationStatsProps, RecommendationStatsRequestBody, } from './hooks/useRecommendationStatsMutation';
437
447
  export { recommendationStats, useRecommendationStatsMutation, } from './hooks/useRecommendationStatsMutation';
438
448
  export type { RecommendationsCountErrorResponse, RecommendationsCountMutationQueryParams, RecommendationsCountOkResponse, RecommendationsCountProps, RecommendationsCountRequestBody, } from './hooks/useRecommendationsCountMutation';
@@ -537,8 +547,6 @@ export type { UpsertJiraFieldMappingErrorResponse, UpsertJiraFieldMappingMutatio
537
547
  export { upsertJiraFieldMapping, useUpsertJiraFieldMappingMutation, } from './hooks/useUpsertJiraFieldMappingMutation';
538
548
  export type { ValidateGovernanceRuleErrorResponse, ValidateGovernanceRuleMutationQueryParams, ValidateGovernanceRuleOkResponse, ValidateGovernanceRuleProps, ValidateGovernanceRuleRequestBody, } from './hooks/useValidateGovernanceRuleMutation';
539
549
  export { useValidateGovernanceRuleMutation, validateGovernanceRule, } from './hooks/useValidateGovernanceRuleMutation';
540
- export type { ValidateOverlapInCostCategoryErrorResponse, ValidateOverlapInCostCategoryMutationQueryParams, ValidateOverlapInCostCategoryOkResponse, ValidateOverlapInCostCategoryProps, ValidateOverlapInCostCategoryRequestBody, } from './hooks/useValidateOverlapInCostCategoryMutation';
541
- export { useValidateOverlapInCostCategoryMutation, validateOverlapInCostCategory, } from './hooks/useValidateOverlapInCostCategoryMutation';
542
550
  export type { WorkloadRecommendationDetailErrorResponse, WorkloadRecommendationDetailOkResponse, WorkloadRecommendationDetailProps, WorkloadRecommendationDetailQueryQueryParams, } from './hooks/useWorkloadRecommendationDetailQuery';
543
551
  export { useWorkloadRecommendationDetailQuery, workloadRecommendationDetail, } from './hooks/useWorkloadRecommendationDetailQuery';
544
552
  export type { AccountScopedPreference } from './schemas/AccountScopedPreference';
@@ -564,12 +572,10 @@ export type { AnomalySummary } from './schemas/AnomalySummary';
564
572
  export type { AppliedRecommendationResourceStatsDto } from './schemas/AppliedRecommendationResourceStatsDto';
565
573
  export type { AwsAccountConnectionDetail } from './schemas/AwsAccountConnectionDetail';
566
574
  export type { AwsAccountPreference } from './schemas/AwsAccountPreference';
567
- export type { AwsNodepoolPreferences } from './schemas/AwsNodepoolPreferences';
568
575
  export type { AwsPreferences } from './schemas/AwsPreferences';
569
576
  export type { AwsRecommendationFilterProperties } from './schemas/AwsRecommendationFilterProperties';
570
577
  export type { AwsViewPreferences } from './schemas/AwsViewPreferences';
571
578
  export type { AwsWorkloadPreferences } from './schemas/AwsWorkloadPreferences';
572
- export type { AzureNodepoolPreferences } from './schemas/AzureNodepoolPreferences';
573
579
  export type { AzurePreferences } from './schemas/AzurePreferences';
574
580
  export type { AzureRecommendationFilterProperties } from './schemas/AzureRecommendationFilterProperties';
575
581
  export type { AzureViewPreferences } from './schemas/AzureViewPreferences';
@@ -590,8 +596,6 @@ export type { BudgetScope } from './schemas/BudgetScope';
590
596
  export type { BudgetSummary } from './schemas/BudgetSummary';
591
597
  export type { BusinessMapping } from './schemas/BusinessMapping';
592
598
  export type { BusinessMappingListDto } from './schemas/BusinessMappingListDto';
593
- export type { BusinessMappingValidationRequestDto } from './schemas/BusinessMappingValidationRequestDto';
594
- export type { BusinessMappingValidationResponseDto } from './schemas/BusinessMappingValidationResponseDto';
595
599
  export type { CcmAggregation } from './schemas/CcmAggregation';
596
600
  export type { CcmBudgetFilterProperties } from './schemas/CcmBudgetFilterProperties';
597
601
  export type { CcmCloudAccount } from './schemas/CcmCloudAccount';
@@ -675,6 +679,7 @@ export type { EnforcementDetails } from './schemas/EnforcementDetails';
675
679
  export type { EntityInfo } from './schemas/EntityInfo';
676
680
  export type { Error } from './schemas/Error';
677
681
  export type { ErrorMetadata } from './schemas/ErrorMetadata';
682
+ export type { EvaluationExportJobResponseDto } from './schemas/EvaluationExportJobResponseDto';
678
683
  export type { EvaluationExportRequestDto } from './schemas/EvaluationExportRequestDto';
679
684
  export type { EvaluationExportResponseDto } from './schemas/EvaluationExportResponseDto';
680
685
  export type { ExternalDataFiles } from './schemas/ExternalDataFiles';
@@ -687,7 +692,6 @@ export type { Filter } from './schemas/Filter';
687
692
  export type { FilterProperties } from './schemas/FilterProperties';
688
693
  export type { FilterStats } from './schemas/FilterStats';
689
694
  export type { FilterValues } from './schemas/FilterValues';
690
- export type { GcpNodepoolPreferences } from './schemas/GcpNodepoolPreferences';
691
695
  export type { GcpViewPreferences } from './schemas/GcpViewPreferences';
692
696
  export type { GcpWorkloadPreferences } from './schemas/GcpWorkloadPreferences';
693
697
  export type { GovernanceAdhocEnqueueDtov2 } from './schemas/GovernanceAdhocEnqueueDtov2';
@@ -719,6 +723,7 @@ export type { JiraStatusCategoryNg } from './schemas/JiraStatusCategoryNg';
719
723
  export type { JiraStatusNg } from './schemas/JiraStatusNg';
720
724
  export type { JobBreakdownDto } from './schemas/JobBreakdownDto';
721
725
  export type { JobState } from './schemas/JobState';
726
+ export type { K8sClusterSetupRequest } from './schemas/K8sClusterSetupRequest';
722
727
  export type { K8sLabel } from './schemas/K8sLabel';
723
728
  export type { K8sRecommendationFilterProperties } from './schemas/K8sRecommendationFilterProperties';
724
729
  export type { LicenseUsage } from './schemas/LicenseUsage';
@@ -738,7 +743,6 @@ export type { MovePerspectiveDto } from './schemas/MovePerspectiveDto';
738
743
  export type { NodePool } from './schemas/NodePool';
739
744
  export type { NodePoolId } from './schemas/NodePoolId';
740
745
  export type { NodeRecommendationDto } from './schemas/NodeRecommendationDto';
741
- export type { NodepoolPreferences } from './schemas/NodepoolPreferences';
742
746
  export type { NotificationChannel } from './schemas/NotificationChannel';
743
747
  export type { NotificationSetting } from './schemas/NotificationSetting';
744
748
  export type { OidcAuthParams } from './schemas/OidcAuthParams';
@@ -783,6 +787,7 @@ export type { RecommendationPreset } from './schemas/RecommendationPreset';
783
787
  export type { RecommendationRealizedSavingStatsDto } from './schemas/RecommendationRealizedSavingStatsDto';
784
788
  export type { RecommendationResourceTypeStats } from './schemas/RecommendationResourceTypeStats';
785
789
  export type { RecommendationResponse } from './schemas/RecommendationResponse';
790
+ export type { RecommendationSavingsTrendDto } from './schemas/RecommendationSavingsTrendDto';
786
791
  export type { RecommendationSnapshot } from './schemas/RecommendationSnapshot';
787
792
  export type { RecommendationTagDto } from './schemas/RecommendationTagDto';
788
793
  export type { RecommendationWorkloadId } from './schemas/RecommendationWorkloadId';
@@ -814,6 +819,7 @@ export type { ResponseDtoDataJobStatusResponseDto } from './schemas/ResponseDtoD
814
819
  export type { ResponseDtoDouble } from './schemas/ResponseDtoDouble';
815
820
  export type { ResponseDtoEnforcementCount } from './schemas/ResponseDtoEnforcementCount';
816
821
  export type { ResponseDtoEnforcementDetails } from './schemas/ResponseDtoEnforcementDetails';
822
+ export type { ResponseDtoEvaluationExportJobResponseDto } from './schemas/ResponseDtoEvaluationExportJobResponseDto';
817
823
  export type { ResponseDtoEvaluationExportResponseDto } from './schemas/ResponseDtoEvaluationExportResponseDto';
818
824
  export type { ResponseDtoExternalDataFiles } from './schemas/ResponseDtoExternalDataFiles';
819
825
  export type { ResponseDtoExternalDataProvider } from './schemas/ResponseDtoExternalDataProvider';
@@ -892,6 +898,7 @@ export type { ResponseDtoRecommendationGroupByStatsDto } from './schemas/Respons
892
898
  export type { ResponseDtoRecommendationLifecycleStatsDto } from './schemas/ResponseDtoRecommendationLifecycleStatsDto';
893
899
  export type { ResponseDtoRecommendationOverviewStats } from './schemas/ResponseDtoRecommendationOverviewStats';
894
900
  export type { ResponseDtoRecommendationPreferenceDto } from './schemas/ResponseDtoRecommendationPreferenceDto';
901
+ export type { ResponseDtoRecommendationSavingsTrendDto } from './schemas/ResponseDtoRecommendationSavingsTrendDto';
895
902
  export type { ResponseDtoRecommendationTagDto } from './schemas/ResponseDtoRecommendationTagDto';
896
903
  export type { ResponseDtoRecommendations } from './schemas/ResponseDtoRecommendations';
897
904
  export type { ResponseDtoRecommendationsIgnoreList } from './schemas/ResponseDtoRecommendationsIgnoreList';
@@ -955,6 +962,7 @@ export type { RuleRequest } from './schemas/RuleRequest';
955
962
  export type { RuleSet } from './schemas/RuleSet';
956
963
  export type { RuleSetList } from './schemas/RuleSetList';
957
964
  export type { RuleSetRequest } from './schemas/RuleSetRequest';
965
+ export type { SavingsTrendPointDto } from './schemas/SavingsTrendPointDto';
958
966
  export type { SendMailRequestDto } from './schemas/SendMailRequestDto';
959
967
  export type { ServiceNowFieldValueNg } from './schemas/ServiceNowFieldValueNg';
960
968
  export type { ServiceNowTicketNg } from './schemas/ServiceNowTicketNg';
@@ -13,6 +13,7 @@ export { azureVmRecommendationDetail, useAzureVmRecommendationDetailQuery, } fro
13
13
  export { azureappclientid, useAzureappclientidQuery } from './hooks/useAzureappclientidQuery';
14
14
  export { budgetFilterValues, useBudgetFilterValuesMutation, } from './hooks/useBudgetFilterValuesMutation';
15
15
  export { bulkSyncCostCategoryJiraMappings, useBulkSyncCostCategoryJiraMappingsMutation, } from './hooks/useBulkSyncCostCategoryJiraMappingsMutation';
16
+ export { cancelEvaluationExportJob, useCancelEvaluationExportJobMutation, } from './hooks/useCancelEvaluationExportJobMutation';
16
17
  export { ccmK8sMeta, useCcmK8sMetaMutation } from './hooks/useCcmK8sMetaMutation';
17
18
  export { changeInferenceState, useChangeInferenceStateMutation, } from './hooks/useChangeInferenceStateMutation';
18
19
  export { changeRecommendationState, useChangeRecommendationStateMutation, } from './hooks/useChangeRecommendationStateMutation';
@@ -22,6 +23,7 @@ export { cloneBudgetsBulkOperation, useCloneBudgetsBulkOperationMutation, } from
22
23
  export { cloneGovernanceAlertRule, useCloneGovernanceAlertRuleMutation, } from './hooks/useCloneGovernanceAlertRuleMutation';
23
24
  export { clonePerspective, useClonePerspectiveMutation } from './hooks/useClonePerspectiveMutation';
24
25
  export { cloneRule, useCloneRuleMutation } from './hooks/useCloneRuleMutation';
26
+ export { cloudCostK8sClusterSetup, useCloudCostK8sClusterSetupMutation, } from './hooks/useCloudCostK8sClusterSetupMutation';
25
27
  export { clusterData, useClusterDataMutation } from './hooks/useClusterDataMutation';
26
28
  export { costCoRelationSupportedResources, useCostCoRelationSupportedResourcesQuery, } from './hooks/useCostCoRelationSupportedResourcesQuery';
27
29
  export { costdetailoverview, useCostdetailoverviewMutation, } from './hooks/useCostdetailoverviewMutation';
@@ -33,6 +35,7 @@ export { createBusinessMapping, useCreateBusinessMappingMutation, } from './hook
33
35
  export { createCloudAccountOverride, useCreateCloudAccountOverrideMutation, } from './hooks/useCreateCloudAccountOverrideMutation';
34
36
  export { createCostBucketBudgetsBulk, useCreateCostBucketBudgetsBulkMutation, } from './hooks/useCreateCostBucketBudgetsBulkMutation';
35
37
  export { createCostCategoryJiraMapping, useCreateCostCategoryJiraMappingMutation, } from './hooks/useCreateCostCategoryJiraMappingMutation';
38
+ export { createEvaluationExportJob, useCreateEvaluationExportJobMutation, } from './hooks/useCreateEvaluationExportJobMutation';
36
39
  export { createExternalDataProvider, useCreateExternalDataProviderMutation, } from './hooks/useCreateExternalDataProviderMutation';
37
40
  export { createManagedAccount, useCreateManagedAccountMutation, } from './hooks/useCreateManagedAccountMutation';
38
41
  export { createMarginDetails, useCreateMarginDetailsMutation, } from './hooks/useCreateMarginDetailsMutation';
@@ -129,6 +132,7 @@ export { getJiraStatuses, useGetJiraStatusesQuery } from './hooks/useGetJiraStat
129
132
  export { getLastPeriodCost, useGetLastPeriodCostMutation, } from './hooks/useGetLastPeriodCostMutation';
130
133
  export { getLastPeriodCost_1, useGetLastPeriodCost_1Query, } from './hooks/useGetLastPeriodCost_1Query';
131
134
  export { getLastYearMonthlyCost, useGetLastYearMonthlyCostQuery, } from './hooks/useGetLastYearMonthlyCostQuery';
135
+ export { getLatestEvaluationExportJob, useGetLatestEvaluationExportJobQuery, } from './hooks/useGetLatestEvaluationExportJobQuery';
132
136
  export { getLicenseUsage, useGetLicenseUsageQuery } from './hooks/useGetLicenseUsageQuery';
133
137
  export { getLinkedBusinessMapping, useGetLinkedBusinessMappingMutation, } from './hooks/useGetLinkedBusinessMappingMutation';
134
138
  export { getManagedAccount, useGetManagedAccountQuery } from './hooks/useGetManagedAccountQuery';
@@ -215,6 +219,7 @@ export { recommendationGroupByStats, useRecommendationGroupByStatsMutation, } fr
215
219
  export { recommendationHealth, useRecommendationHealthQuery, } from './hooks/useRecommendationHealthQuery';
216
220
  export { recommendationLifecycleStats, useRecommendationLifecycleStatsMutation, } from './hooks/useRecommendationLifecycleStatsMutation';
217
221
  export { recommendationResourceTypeStats, useRecommendationResourceTypeStatsMutation, } from './hooks/useRecommendationResourceTypeStatsMutation';
222
+ export { recommendationSavingsTrend, useRecommendationSavingsTrendMutation, } from './hooks/useRecommendationSavingsTrendMutation';
218
223
  export { recommendationStats, useRecommendationStatsMutation, } from './hooks/useRecommendationStatsMutation';
219
224
  export { recommendationsCount, useRecommendationsCountMutation, } from './hooks/useRecommendationsCountMutation';
220
225
  export { refreshCostForRuleExecution, useRefreshCostForRuleExecutionQuery, } from './hooks/useRefreshCostForRuleExecutionQuery';
@@ -267,5 +272,4 @@ export { updateRuleSet, useUpdateRuleSetMutation } from './hooks/useUpdateRuleSe
267
272
  export { updateUnitMetric, useUpdateUnitMetricMutation } from './hooks/useUpdateUnitMetricMutation';
268
273
  export { upsertJiraFieldMapping, useUpsertJiraFieldMappingMutation, } from './hooks/useUpsertJiraFieldMappingMutation';
269
274
  export { useValidateGovernanceRuleMutation, validateGovernanceRule, } from './hooks/useValidateGovernanceRuleMutation';
270
- export { useValidateOverlapInCostCategoryMutation, validateOverlapInCostCategory, } from './hooks/useValidateOverlapInCostCategoryMutation';
271
275
  export { useWorkloadRecommendationDetailQuery, workloadRecommendationDetail, } from './hooks/useWorkloadRecommendationDetailQuery';
@@ -55,6 +55,7 @@ export interface AnomalyData {
55
55
  id?: string;
56
56
  isOngoingAnomaly?: boolean;
57
57
  ongoingAnomaly?: boolean;
58
+ payerAccountId?: string;
58
59
  perspectiveId?: string;
59
60
  perspectiveName?: string;
60
61
  resourceInfo?: string;
@@ -129,6 +129,10 @@ export interface AnomalyFilterProperties {
129
129
  * The order by condition for anomaly query
130
130
  */
131
131
  orderBy?: CcmSort[];
132
+ /**
133
+ * This is the list of Payer Account IDs on which filter will be applied.
134
+ */
135
+ payerAccountIds?: string[];
132
136
  /**
133
137
  * List of Perspective IDs to filter anomalies by. Anomalies matching ANY perspective will be returned.
134
138
  */
@@ -3,7 +3,7 @@ export interface AppliedRecommendationResourceStatsDto {
3
3
  * @format int32
4
4
  */
5
5
  count?: number;
6
- resourceType: 'AZURE_APP_SERVICE' | 'AZURE_DATABASE' | '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';
6
+ 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';
7
7
  /**
8
8
  * @format double
9
9
  */
@@ -55,7 +55,7 @@ export interface BaseRecommendationFilterProperties {
55
55
  /**
56
56
  * List of resourceTypes which will be applied as filter for Recommendations
57
57
  */
58
- resourceType?: Array<'AZURE_APP_SERVICE' | 'AZURE_DATABASE' | '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'>;
58
+ resourceType?: Array<'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'>;
59
59
  /**
60
60
  * List of verification statuses which will be applied as filter for applied recommendations
61
61
  */
@@ -16,6 +16,7 @@ export interface BudgetSummary {
16
16
  budgetGroup?: boolean;
17
17
  budgetMonthlyBreakdown?: BudgetMonthlyBreakdown;
18
18
  cascadeType?: 'EQUAL' | 'NO_CASCADE' | 'PROPORTIONAL';
19
+ childEntities?: BudgetSummary[];
19
20
  childEntityProportions?: BudgetGroupChildEntityDto[];
20
21
  costBucketId?: string;
21
22
  costBucketName?: string;
@@ -14,13 +14,19 @@ export interface BusinessMapping {
14
14
  createdAt?: number;
15
15
  createdBy?: EmbeddedUser;
16
16
  dataSources?: Array<'AI' | 'AI_TRACE' | 'ANTHROPIC' | 'AWS' | 'AZURE' | 'BUSINESS_MAPPING' | 'CLUSTER' | 'COMMON' | 'CUSTOM' | 'EXTERNAL_DATA' | 'GCP' | 'LABEL' | 'LABEL_V2' | 'OPENAI'>;
17
+ hasOverlap?: boolean;
17
18
  /**
18
19
  * @format int64
19
20
  */
20
21
  lastUpdatedAt?: number;
21
22
  lastUpdatedBy?: EmbeddedUser;
22
23
  name: string;
23
- overlapValidationState?: 'COMPLETE' | 'FAILED' | 'NOT_VALIDATED';
24
+ overlapValidationInProgress?: boolean;
25
+ /**
26
+ * @format int64
27
+ */
28
+ overlapValidationStartedAt?: number;
29
+ overlapValidationState?: 'COMPLETE' | 'FAILED' | 'NOT_VALIDATED' | 'VALIDATING';
24
30
  sharedCosts?: SharedCost[];
25
31
  sharedCostsWithUUID?: SharedCost[];
26
32
  supportsTagNormalization?: boolean;
@@ -5,6 +5,6 @@ export interface CcmAggregation {
5
5
  /**
6
6
  * List of all possible Fields
7
7
  */
8
- field?: 'ACTUAL_AMOUNT' | 'ACTUAL_COST' | 'ALL' | 'ANOMALOUS_SPEND' | 'ANOMALOUS_SPEND_PERCENTAGE' | 'ANOMALY_ID' | 'ANOMALY_STATUS' | 'ANOMALY_TIME' | 'ANTHROPIC_MODEL' | 'ANTHROPIC_PROJECT_ID' | 'ANTHROPIC_USAGE_TYPE' | 'AWS_ACCOUNT' | 'AWS_BILLING_ENTITY' | 'AWS_INSTANCE_TYPE' | 'AWS_LINE_ITEM_TYPE' | 'AWS_RESOURCE_ID' | 'AWS_SERVICE' | 'AWS_USAGE_TYPE' | 'AZURE_BENEFIT_NAME' | 'AZURE_CHARGE_TYPE' | 'AZURE_FREQUENCY' | 'AZURE_INSTANCE_ID' | 'AZURE_METER_CATEGORY' | 'AZURE_METER_NAME' | 'AZURE_METER_SUBCATEGORY' | 'AZURE_PRICING_MODEL' | 'AZURE_PUBLISHER_NAME' | 'AZURE_PUBLISHER_TYPE' | 'AZURE_RESERVATION_ID' | 'AZURE_RESERVATION_NAME' | 'AZURE_RESOURCE' | 'AZURE_RESOURCE_GROUP_NAME' | 'AZURE_RESOURCE_ID' | 'AZURE_RESOURCE_NAME' | 'AZURE_RESOURCE_TYPE' | 'AZURE_SERVICE_NAME' | 'AZURE_SERVICE_TIER' | 'AZURE_SUBSCRIPTION_GUID' | 'AZURE_SUBSCRIPTION_NAME' | 'CLOUD_PROVIDER' | 'CLUSTER_APPLICATION' | 'CLUSTER_CLOUD_PROVIDER' | 'CLUSTER_ECS_LAUNCH_TYPE' | 'CLUSTER_ECS_LAUNCH_TYPE_ID' | 'CLUSTER_ECS_SERVICE' | 'CLUSTER_ECS_SERVICE_ID' | 'CLUSTER_ECS_TASK' | 'CLUSTER_ECS_TASK_ID' | 'CLUSTER_ENVIRONMENT' | 'CLUSTER_ID' | 'CLUSTER_NAME' | 'CLUSTER_NAMESPACE' | 'CLUSTER_NAMESPACE_ID' | 'CLUSTER_NODE' | 'CLUSTER_PARENT_INSTANCE_ID' | 'CLUSTER_POD' | 'CLUSTER_SERVICE' | 'CLUSTER_STORAGE' | 'CLUSTER_WORKLOAD' | 'CLUSTER_WORKLOAD_ID' | 'COMMON_NONE' | 'COMMON_PRODUCT' | 'COMMON_REGION' | 'COST_BUCKET_NAME' | 'COST_CATEGORY_NAME' | 'COST_IMPACT' | 'CRITICALITY' | 'DURATION' | 'EXPECTED_COST' | 'GCP_PRODUCT' | 'GCP_PROJECT' | 'GCP_RESOURCE_GLOBAL_NAME' | 'GCP_SKU_DESCRIPTION' | 'GCP_SKU_ID' | 'IDLE_COST' | 'LAST_EVALUATED_AT' | 'NAMESPACE' | 'OPENAI_MODEL' | 'OPENAI_PROJECT_ID' | 'OPENAI_USAGE_TYPE' | 'PERSPECTIVE_ID' | 'POTENTIAL_SAVINGS' | 'RECOMMENDATIONS_COUNT' | 'REGION' | 'REPORTED_BY' | 'RULE_NAME' | 'RULE_SET_NAME' | 'SERVICE' | 'SERVICE_NAME' | 'STATUS' | 'TOTAL_COST' | 'UNALLOCATED_COST' | 'UNIT_METRIC_NAME' | 'UPDATED_AT' | 'UPDATED_AT_RELATIVE' | 'UPDATED_BY' | 'WORKLOAD' | 'WORKLOAD_TYPE';
8
+ field?: 'ACTUAL_AMOUNT' | 'ACTUAL_COST' | 'ALL' | 'ANOMALOUS_SPEND' | 'ANOMALOUS_SPEND_PERCENTAGE' | 'ANOMALY_ID' | 'ANOMALY_STATUS' | 'ANOMALY_TIME' | 'ANTHROPIC_MODEL' | 'ANTHROPIC_PROJECT_ID' | 'ANTHROPIC_USAGE_TYPE' | 'AWS_ACCOUNT' | 'AWS_BILLING_ENTITY' | 'AWS_INSTANCE_TYPE' | 'AWS_LINE_ITEM_TYPE' | 'AWS_RESOURCE_ID' | 'AWS_SERVICE' | 'AWS_USAGE_TYPE' | 'AZURE_BENEFIT_NAME' | 'AZURE_CHARGE_TYPE' | 'AZURE_FREQUENCY' | 'AZURE_INSTANCE_ID' | 'AZURE_METER_CATEGORY' | 'AZURE_METER_NAME' | 'AZURE_METER_SUBCATEGORY' | 'AZURE_PRICING_MODEL' | 'AZURE_PUBLISHER_NAME' | 'AZURE_PUBLISHER_TYPE' | 'AZURE_RESERVATION_ID' | 'AZURE_RESERVATION_NAME' | 'AZURE_RESOURCE' | 'AZURE_RESOURCE_GROUP_NAME' | 'AZURE_RESOURCE_ID' | 'AZURE_RESOURCE_NAME' | 'AZURE_RESOURCE_TYPE' | 'AZURE_SERVICE_NAME' | 'AZURE_SERVICE_TIER' | 'AZURE_SUBSCRIPTION_GUID' | 'AZURE_SUBSCRIPTION_NAME' | 'CLOUD_PROVIDER' | 'CLUSTER_APPLICATION' | 'CLUSTER_CLOUD_PROVIDER' | 'CLUSTER_ECS_LAUNCH_TYPE' | 'CLUSTER_ECS_LAUNCH_TYPE_ID' | 'CLUSTER_ECS_SERVICE' | 'CLUSTER_ECS_SERVICE_ID' | 'CLUSTER_ECS_TASK' | 'CLUSTER_ECS_TASK_ID' | 'CLUSTER_ENVIRONMENT' | 'CLUSTER_ID' | 'CLUSTER_NAME' | 'CLUSTER_NAMESPACE' | 'CLUSTER_NAMESPACE_ID' | 'CLUSTER_NODE' | 'CLUSTER_PARENT_INSTANCE_ID' | 'CLUSTER_POD' | 'CLUSTER_SERVICE' | 'CLUSTER_STORAGE' | 'CLUSTER_WORKLOAD' | 'CLUSTER_WORKLOAD_ID' | 'COMMON_NONE' | 'COMMON_PRODUCT' | 'COMMON_REGION' | 'COST_BUCKET_NAME' | 'COST_CATEGORY_NAME' | 'COST_IMPACT' | 'CRITICALITY' | 'DURATION' | 'EXPECTED_COST' | 'GCP_PRODUCT' | 'GCP_PROJECT' | 'GCP_RESOURCE_GLOBAL_NAME' | 'GCP_SKU_DESCRIPTION' | 'GCP_SKU_ID' | 'IDLE_COST' | 'LAST_EVALUATED_AT' | 'NAMESPACE' | 'OPENAI_MODEL' | 'OPENAI_PROJECT_ID' | 'OPENAI_USAGE_TYPE' | 'PAYER_ACCOUNT_ID' | 'PERSPECTIVE_ID' | 'POTENTIAL_SAVINGS' | 'RECOMMENDATIONS_COUNT' | 'REGION' | 'REPORTED_BY' | 'RULE_NAME' | 'RULE_SET_NAME' | 'SERVICE' | 'SERVICE_NAME' | 'STATUS' | 'TOTAL_COST' | 'UNALLOCATED_COST' | 'UNIT_METRIC_NAME' | 'UPDATED_AT' | 'UPDATED_AT_RELATIVE' | 'UPDATED_BY' | 'WORKLOAD' | 'WORKLOAD_TYPE';
9
9
  operationType?: 'AVG' | 'COUNT' | 'MAX' | 'MIN' | 'SUM';
10
10
  }