@harnessio/react-ccm-service-client 0.4.0 → 0.4.2

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 (83) hide show
  1. package/dist/ccm-service/src/services/hooks/useGetCcmOverviewQuery.d.ts +3 -0
  2. package/dist/ccm-service/src/services/hooks/useRecommendationLifecycleStatsMutation.d.ts +22 -0
  3. package/dist/ccm-service/src/services/hooks/useRecommendationLifecycleStatsMutation.js +14 -0
  4. package/dist/ccm-service/src/services/hooks/useTopCloudAccountGovernanceSavingsMutation.d.ts +23 -0
  5. package/dist/ccm-service/src/services/hooks/useTopCloudAccountGovernanceSavingsMutation.js +14 -0
  6. package/dist/ccm-service/src/services/hooks/useTotalRealisedSavingsTimeSeriesMutation.d.ts +23 -0
  7. package/dist/ccm-service/src/services/hooks/useTotalRealisedSavingsTimeSeriesMutation.js +14 -0
  8. package/dist/ccm-service/src/services/index.d.ts +20 -12
  9. package/dist/ccm-service/src/services/index.js +3 -3
  10. package/dist/ccm-service/src/services/schemas/AnomalyFilterProperties.d.ts +29 -1
  11. package/dist/ccm-service/src/services/schemas/AwsWorkloadPreferences.d.ts +3 -0
  12. package/dist/ccm-service/src/services/schemas/AzurePreferences.d.ts +1 -1
  13. package/dist/ccm-service/src/services/schemas/AzureWorkloadPreferences.d.ts +3 -0
  14. package/dist/ccm-service/src/services/schemas/AzureWorkloadPreferences.js +4 -0
  15. package/dist/ccm-service/src/services/schemas/BudgetFilterPropertiesDto.d.ts +5 -0
  16. package/dist/ccm-service/src/services/schemas/BudgetFilterPropertiesDto.js +0 -3
  17. package/dist/ccm-service/src/services/schemas/BusinessMapping.d.ts +2 -1
  18. package/dist/ccm-service/src/services/schemas/CcmAggregation.d.ts +1 -1
  19. package/dist/ccm-service/src/services/schemas/CcmBudgetFilterProperties.d.ts +5 -0
  20. package/dist/ccm-service/src/services/schemas/CcmBudgetFilterProperties.js +0 -3
  21. package/dist/ccm-service/src/services/schemas/CcmGroupBy.d.ts +1 -1
  22. package/dist/ccm-service/src/services/schemas/CcmJiraCreateDto.d.ts +2 -2
  23. package/dist/ccm-service/src/services/schemas/CcmServiceNowCreateDto.d.ts +1 -1
  24. package/dist/ccm-service/src/services/schemas/CcmSort.d.ts +1 -1
  25. package/dist/ccm-service/src/services/schemas/CloudAccountGovernanceSavingsDto.d.ts +28 -0
  26. package/dist/ccm-service/src/services/schemas/CloudAccountGovernanceSavingsDto.js +4 -0
  27. package/dist/ccm-service/src/services/schemas/ClusterCostDetailsQueryParams.d.ts +1 -1
  28. package/dist/ccm-service/src/services/schemas/CostDetailsQueryParams.d.ts +1 -1
  29. package/dist/ccm-service/src/services/schemas/EntityInfo.d.ts +9 -0
  30. package/dist/ccm-service/src/services/schemas/FieldFilter.d.ts +1 -1
  31. package/dist/ccm-service/src/services/schemas/GcpWorkloadPreferences.d.ts +3 -0
  32. package/dist/ccm-service/src/services/schemas/GcpWorkloadPreferences.js +4 -0
  33. package/dist/ccm-service/src/services/schemas/GovernanceAwsSettings.d.ts +1 -1
  34. package/dist/ccm-service/src/services/schemas/GovernanceAzureSettings.d.ts +1 -1
  35. package/dist/ccm-service/src/services/schemas/GovernanceGcpSettings.d.ts +1 -0
  36. package/dist/ccm-service/src/services/schemas/GovernanceJobEnqueueDto.d.ts +1 -0
  37. package/dist/ccm-service/src/services/schemas/GovernanceSavingsTimeSeriesDto.d.ts +14 -0
  38. package/dist/ccm-service/src/services/schemas/LifecycleBucketStats.d.ts +10 -0
  39. package/dist/ccm-service/src/services/schemas/LifecycleBucketStats.js +4 -0
  40. package/dist/ccm-service/src/services/schemas/NodeRecommendationDto.d.ts +4 -0
  41. package/dist/ccm-service/src/services/schemas/PerspectiveAnomalyResponse.d.ts +5 -0
  42. package/dist/ccm-service/src/services/schemas/QlceViewEntityStatsDataPoint.d.ts +1 -0
  43. package/dist/ccm-service/src/services/schemas/RecommendationCostSettings.d.ts +2 -0
  44. package/dist/ccm-service/src/services/schemas/RecommendationLifecycleStatsDto.d.ts +11 -0
  45. package/dist/ccm-service/src/services/schemas/ResponseDtoGovernanceSavingsTimeSeriesDto.d.ts +9 -0
  46. package/dist/ccm-service/src/services/schemas/ResponseDtoRecommendationLifecycleStatsDto.d.ts +9 -0
  47. package/dist/ccm-service/src/services/schemas/ResponseDtoTopCloudAccountGovernanceSavingsDto.d.ts +9 -0
  48. package/dist/ccm-service/src/services/schemas/RuleEnforcementRecommendation.d.ts +4 -0
  49. package/dist/ccm-service/src/services/schemas/RuleExecution.d.ts +1 -1
  50. package/dist/ccm-service/src/services/schemas/RuleRecommendationSummary.d.ts +2 -0
  51. package/dist/ccm-service/src/services/schemas/TimeBucketSavingsDto.d.ts +15 -0
  52. package/dist/ccm-service/src/services/schemas/TimeBucketSavingsDto.js +4 -0
  53. package/dist/ccm-service/src/services/schemas/ToggleForRecommendationRequest.d.ts +1 -0
  54. package/dist/ccm-service/src/services/schemas/TopCloudAccountGovernanceSavingsDto.d.ts +10 -0
  55. package/dist/ccm-service/src/services/schemas/TopCloudAccountGovernanceSavingsDto.js +1 -0
  56. package/dist/ccm-service/src/services/schemas/UnitCostAnomalyData.d.ts +46 -0
  57. package/dist/ccm-service/src/services/schemas/UnitCostAnomalyData.js +4 -0
  58. package/dist/ccm-service/src/services/schemas/UnitMetricListDto.d.ts +2 -2
  59. package/dist/ccm-service/src/services/schemas/UnitMetricRequestDto.d.ts +2 -2
  60. package/dist/ccm-service/src/services/schemas/UnitMetricResponseDto.d.ts +2 -2
  61. package/dist/ccm-service/src/services/schemas/ViewParams.d.ts +4 -0
  62. package/dist/ccm-service/src/services/schemas/ViewRule.d.ts +3 -0
  63. package/dist/ccm-service/src/services/schemas/WorkloadPreferences.d.ts +8 -0
  64. package/dist/ccm-service/src/services/schemas/WorkloadPreferences.js +1 -0
  65. package/package.json +1 -1
  66. package/dist/ccm-service/src/services/hooks/useDownloadActiveServiceCsvReportQuery.d.ts +0 -23
  67. package/dist/ccm-service/src/services/hooks/useDownloadActiveServiceCsvReportQuery.js +0 -14
  68. package/dist/ccm-service/src/services/hooks/useGetCdLicenseUsageForServiceInstancesQuery.d.ts +0 -23
  69. package/dist/ccm-service/src/services/hooks/useGetCdLicenseUsageForServiceInstancesQuery.js +0 -14
  70. package/dist/ccm-service/src/services/hooks/useGetCdLicenseUsageForServicesQuery.d.ts +0 -23
  71. package/dist/ccm-service/src/services/hooks/useGetCdLicenseUsageForServicesQuery.js +0 -14
  72. package/dist/ccm-service/src/services/schemas/ReferenceDto.d.ts +0 -12
  73. package/dist/ccm-service/src/services/schemas/ResponseDtoServiceInstanceUsageDto.d.ts +0 -9
  74. package/dist/ccm-service/src/services/schemas/ResponseDtoServiceUsageDto.d.ts +0 -9
  75. package/dist/ccm-service/src/services/schemas/ServiceInstanceUsageDto.d.ts +0 -12
  76. package/dist/ccm-service/src/services/schemas/ServiceUsageDto.d.ts +0 -13
  77. package/dist/ccm-service/src/services/schemas/UsageDataDto.d.ts +0 -9
  78. /package/dist/ccm-service/src/services/schemas/{ReferenceDto.js → AwsWorkloadPreferences.js} +0 -0
  79. /package/dist/ccm-service/src/services/schemas/{ResponseDtoServiceInstanceUsageDto.js → GovernanceSavingsTimeSeriesDto.js} +0 -0
  80. /package/dist/ccm-service/src/services/schemas/{ResponseDtoServiceUsageDto.js → RecommendationLifecycleStatsDto.js} +0 -0
  81. /package/dist/ccm-service/src/services/schemas/{ServiceInstanceUsageDto.js → ResponseDtoGovernanceSavingsTimeSeriesDto.js} +0 -0
  82. /package/dist/ccm-service/src/services/schemas/{ServiceUsageDto.js → ResponseDtoRecommendationLifecycleStatsDto.js} +0 -0
  83. /package/dist/ccm-service/src/services/schemas/{UsageDataDto.js → ResponseDtoTopCloudAccountGovernanceSavingsDto.js} +0 -0
@@ -14,6 +14,9 @@ export interface GetCcmOverviewQueryQueryParams {
14
14
  * @format int64
15
15
  */
16
16
  endTime: number;
17
+ /**
18
+ * @default "DAY"
19
+ */
17
20
  groupBy: 'DAY' | 'HOUR' | 'MONTH' | 'QUARTER' | 'WEEK' | 'YEAR';
18
21
  }
19
22
  export type GetCcmOverviewOkResponse = ResponseWithPagination<unknown>;
@@ -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 { ResponseDtoRecommendationLifecycleStatsDto } from '../schemas/ResponseDtoRecommendationLifecycleStatsDto';
5
+ import type { CcmRecommendationFilterProperties } from '../schemas/CcmRecommendationFilterProperties';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface RecommendationLifecycleStatsMutationQueryParams {
9
+ accountIdentifier: string;
10
+ }
11
+ export type RecommendationLifecycleStatsRequestBody = CcmRecommendationFilterProperties;
12
+ export type RecommendationLifecycleStatsOkResponse = ResponseWithPagination<unknown>;
13
+ export type RecommendationLifecycleStatsErrorResponse = Failure | Error | ResponseDtoRecommendationLifecycleStatsDto;
14
+ export interface RecommendationLifecycleStatsProps extends Omit<FetcherOptions<RecommendationLifecycleStatsMutationQueryParams, RecommendationLifecycleStatsRequestBody>, 'url'> {
15
+ queryParams: RecommendationLifecycleStatsMutationQueryParams;
16
+ body: RecommendationLifecycleStatsRequestBody;
17
+ }
18
+ export declare function recommendationLifecycleStats(props: RecommendationLifecycleStatsProps): Promise<RecommendationLifecycleStatsOkResponse>;
19
+ /**
20
+ * Returns lifecycle & adoption statistics (generated, applied, inferred and ignored buckets plus conversion rate) for the recommendations matching the specified filters.
21
+ */
22
+ export declare function useRecommendationLifecycleStatsMutation(options?: Omit<UseMutationOptions<RecommendationLifecycleStatsOkResponse, RecommendationLifecycleStatsErrorResponse, RecommendationLifecycleStatsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RecommendationLifecycleStatsOkResponse, RecommendationLifecycleStatsErrorResponse, RecommendationLifecycleStatsProps, 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 recommendationLifecycleStats(props) {
7
+ return fetcher(Object.assign({ url: `/recommendations/v2/lifecycle-stats`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Returns lifecycle & adoption statistics (generated, applied, inferred and ignored buckets plus conversion rate) for the recommendations matching the specified filters.
11
+ */
12
+ export function useRecommendationLifecycleStatsMutation(options) {
13
+ return useMutation((mutateProps) => recommendationLifecycleStats(mutateProps), options);
14
+ }
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { Failure } from '../schemas/Failure';
3
+ import type { Error } from '../schemas/Error';
4
+ import type { ResponseDtoTopCloudAccountGovernanceSavingsDto } from '../schemas/ResponseDtoTopCloudAccountGovernanceSavingsDto';
5
+ import type { CcmTimeFilter } from '../schemas/CcmTimeFilter';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface TopCloudAccountGovernanceSavingsMutationQueryParams {
9
+ accountIdentifier: string;
10
+ cloudProvider?: Array<'AWS' | 'AZURE' | 'GCP'>;
11
+ }
12
+ export type TopCloudAccountGovernanceSavingsRequestBody = CcmTimeFilter[];
13
+ export type TopCloudAccountGovernanceSavingsOkResponse = ResponseWithPagination<unknown>;
14
+ export type TopCloudAccountGovernanceSavingsErrorResponse = Failure | Error | ResponseDtoTopCloudAccountGovernanceSavingsDto;
15
+ export interface TopCloudAccountGovernanceSavingsProps extends Omit<FetcherOptions<TopCloudAccountGovernanceSavingsMutationQueryParams, TopCloudAccountGovernanceSavingsRequestBody>, 'url'> {
16
+ queryParams: TopCloudAccountGovernanceSavingsMutationQueryParams;
17
+ body: TopCloudAccountGovernanceSavingsRequestBody;
18
+ }
19
+ export declare function topCloudAccountGovernanceSavings(props: TopCloudAccountGovernanceSavingsProps): Promise<TopCloudAccountGovernanceSavingsOkResponse>;
20
+ /**
21
+ * Return top cloud accounts by combined governance recommendation savings.
22
+ */
23
+ export declare function useTopCloudAccountGovernanceSavingsMutation(options?: Omit<UseMutationOptions<TopCloudAccountGovernanceSavingsOkResponse, TopCloudAccountGovernanceSavingsErrorResponse, TopCloudAccountGovernanceSavingsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TopCloudAccountGovernanceSavingsOkResponse, TopCloudAccountGovernanceSavingsErrorResponse, TopCloudAccountGovernanceSavingsProps, 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 topCloudAccountGovernanceSavings(props) {
7
+ return fetcher(Object.assign({ url: `/governance/overview/topCloudAccountGovernanceSavings`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Return top cloud accounts by combined governance recommendation savings.
11
+ */
12
+ export function useTopCloudAccountGovernanceSavingsMutation(options) {
13
+ return useMutation((mutateProps) => topCloudAccountGovernanceSavings(mutateProps), options);
14
+ }
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { Failure } from '../schemas/Failure';
3
+ import type { Error } from '../schemas/Error';
4
+ import type { ResponseDtoGovernanceSavingsTimeSeriesDto } from '../schemas/ResponseDtoGovernanceSavingsTimeSeriesDto';
5
+ import type { CcmTimeFilter } from '../schemas/CcmTimeFilter';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface TotalRealisedSavingsTimeSeriesMutationQueryParams {
9
+ accountIdentifier: string;
10
+ cloudProvider?: Array<'AWS' | 'AZURE' | 'GCP'>;
11
+ }
12
+ export type TotalRealisedSavingsTimeSeriesRequestBody = CcmTimeFilter[];
13
+ export type TotalRealisedSavingsTimeSeriesOkResponse = ResponseWithPagination<unknown>;
14
+ export type TotalRealisedSavingsTimeSeriesErrorResponse = Failure | Error | ResponseDtoGovernanceSavingsTimeSeriesDto;
15
+ export interface TotalRealisedSavingsTimeSeriesProps extends Omit<FetcherOptions<TotalRealisedSavingsTimeSeriesMutationQueryParams, TotalRealisedSavingsTimeSeriesRequestBody>, 'url'> {
16
+ queryParams: TotalRealisedSavingsTimeSeriesMutationQueryParams;
17
+ body: TotalRealisedSavingsTimeSeriesRequestBody;
18
+ }
19
+ export declare function totalRealisedSavingsTimeSeries(props: TotalRealisedSavingsTimeSeriesProps): Promise<TotalRealisedSavingsTimeSeriesOkResponse>;
20
+ /**
21
+ * Return total realised savings time series, bucketed by day/week/month.
22
+ */
23
+ export declare function useTotalRealisedSavingsTimeSeriesMutation(options?: Omit<UseMutationOptions<TotalRealisedSavingsTimeSeriesOkResponse, TotalRealisedSavingsTimeSeriesErrorResponse, TotalRealisedSavingsTimeSeriesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TotalRealisedSavingsTimeSeriesOkResponse, TotalRealisedSavingsTimeSeriesErrorResponse, TotalRealisedSavingsTimeSeriesProps, 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 totalRealisedSavingsTimeSeries(props) {
7
+ return fetcher(Object.assign({ url: `/governance/overview/totalRealisedSavingsTimeSeries`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Return total realised savings time series, bucketed by day/week/month.
11
+ */
12
+ export function useTotalRealisedSavingsTimeSeriesMutation(options) {
13
+ return useMutation((mutateProps) => totalRealisedSavingsTimeSeries(mutateProps), options);
14
+ }
@@ -131,8 +131,6 @@ export type { DeleteUnitMetricErrorResponse, DeleteUnitMetricMutationQueryParams
131
131
  export { deleteUnitMetric, useDeleteUnitMetricMutation } from './hooks/useDeleteUnitMetricMutation';
132
132
  export type { DismissEnforcementRecommendationsErrorResponse, DismissEnforcementRecommendationsMutationQueryParams, DismissEnforcementRecommendationsOkResponse, DismissEnforcementRecommendationsProps, } from './hooks/useDismissEnforcementRecommendationsMutation';
133
133
  export { dismissEnforcementRecommendations, useDismissEnforcementRecommendationsMutation, } from './hooks/useDismissEnforcementRecommendationsMutation';
134
- export type { DownloadActiveServiceCsvReportErrorResponse, DownloadActiveServiceCsvReportOkResponse, DownloadActiveServiceCsvReportProps, DownloadActiveServiceCsvReportQueryQueryParams, } from './hooks/useDownloadActiveServiceCsvReportQuery';
135
- export { downloadActiveServiceCsvReport, useDownloadActiveServiceCsvReportQuery, } from './hooks/useDownloadActiveServiceCsvReportQuery';
136
134
  export type { Ec2RecommendationDetailErrorResponse, Ec2RecommendationDetailOkResponse, Ec2RecommendationDetailProps, Ec2RecommendationDetailQueryQueryParams, } from './hooks/useEc2RecommendationDetailQuery';
137
135
  export { ec2RecommendationDetail, useEc2RecommendationDetailQuery, } from './hooks/useEc2RecommendationDetailQuery';
138
136
  export type { EcsRecommendationDetailErrorResponse, EcsRecommendationDetailOkResponse, EcsRecommendationDetailProps, EcsRecommendationDetailQueryQueryParams, } from './hooks/useEcsRecommendationDetailQuery';
@@ -195,10 +193,6 @@ export type { GetBusinessMappingErrorResponse, GetBusinessMappingOkResponse, Get
195
193
  export { getBusinessMapping, useGetBusinessMappingQuery } from './hooks/useGetBusinessMappingQuery';
196
194
  export type { GetCcmOverviewErrorResponse, GetCcmOverviewOkResponse, GetCcmOverviewProps, GetCcmOverviewQueryQueryParams, } from './hooks/useGetCcmOverviewQuery';
197
195
  export { getCcmOverview, useGetCcmOverviewQuery } from './hooks/useGetCcmOverviewQuery';
198
- export type { GetCdLicenseUsageForServiceInstancesErrorResponse, GetCdLicenseUsageForServiceInstancesOkResponse, GetCdLicenseUsageForServiceInstancesProps, GetCdLicenseUsageForServiceInstancesQueryQueryParams, } from './hooks/useGetCdLicenseUsageForServiceInstancesQuery';
199
- export { getCdLicenseUsageForServiceInstances, useGetCdLicenseUsageForServiceInstancesQuery, } from './hooks/useGetCdLicenseUsageForServiceInstancesQuery';
200
- export type { GetCdLicenseUsageForServicesErrorResponse, GetCdLicenseUsageForServicesOkResponse, GetCdLicenseUsageForServicesProps, GetCdLicenseUsageForServicesQueryQueryParams, } from './hooks/useGetCdLicenseUsageForServicesQuery';
201
- export { getCdLicenseUsageForServices, useGetCdLicenseUsageForServicesQuery, } from './hooks/useGetCdLicenseUsageForServicesQuery';
202
196
  export type { GetCloudAccountOverrideOverviewErrorResponse, GetCloudAccountOverrideOverviewOkResponse, GetCloudAccountOverrideOverviewProps, GetCloudAccountOverrideOverviewQueryQueryParams, } from './hooks/useGetCloudAccountOverrideOverviewQuery';
203
197
  export { getCloudAccountOverrideOverview, useGetCloudAccountOverrideOverviewQuery, } from './hooks/useGetCloudAccountOverrideOverviewQuery';
204
198
  export type { GetColumnUnitMetricForPerspectiveErrorResponse, GetColumnUnitMetricForPerspectiveMutationPathParams, GetColumnUnitMetricForPerspectiveMutationQueryParams, GetColumnUnitMetricForPerspectiveOkResponse, GetColumnUnitMetricForPerspectiveProps, GetColumnUnitMetricForPerspectiveRequestBody, } from './hooks/useGetColumnUnitMetricForPerspectiveMutation';
@@ -397,6 +391,8 @@ export type { RecommendationFilterValuesErrorResponse, RecommendationFilterValue
397
391
  export { recommendationFilterValues, useRecommendationFilterValuesMutation, } from './hooks/useRecommendationFilterValuesMutation';
398
392
  export type { RecommendationHealthErrorResponse, RecommendationHealthOkResponse, RecommendationHealthProps, RecommendationHealthQueryQueryParams, } from './hooks/useRecommendationHealthQuery';
399
393
  export { recommendationHealth, useRecommendationHealthQuery, } from './hooks/useRecommendationHealthQuery';
394
+ export type { RecommendationLifecycleStatsErrorResponse, RecommendationLifecycleStatsMutationQueryParams, RecommendationLifecycleStatsOkResponse, RecommendationLifecycleStatsProps, RecommendationLifecycleStatsRequestBody, } from './hooks/useRecommendationLifecycleStatsMutation';
395
+ export { recommendationLifecycleStats, useRecommendationLifecycleStatsMutation, } from './hooks/useRecommendationLifecycleStatsMutation';
400
396
  export type { RecommendationResourceTypeStatsErrorResponse, RecommendationResourceTypeStatsMutationQueryParams, RecommendationResourceTypeStatsOkResponse, RecommendationResourceTypeStatsProps, RecommendationResourceTypeStatsRequestBody, } from './hooks/useRecommendationResourceTypeStatsMutation';
401
397
  export { recommendationResourceTypeStats, useRecommendationResourceTypeStatsMutation, } from './hooks/useRecommendationResourceTypeStatsMutation';
402
398
  export type { RecommendationStatsErrorResponse, RecommendationStatsMutationQueryParams, RecommendationStatsOkResponse, RecommendationStatsProps, RecommendationStatsRequestBody, } from './hooks/useRecommendationStatsMutation';
@@ -427,6 +423,8 @@ export type { ToggleForRecommendationErrorResponse, ToggleForRecommendationMutat
427
423
  export { toggleForRecommendation, useToggleForRecommendationMutation, } from './hooks/useToggleForRecommendationMutation';
428
424
  export type { ToggleGovernanceAlertRuleErrorResponse, ToggleGovernanceAlertRuleMutationQueryParams, ToggleGovernanceAlertRuleOkResponse, ToggleGovernanceAlertRuleProps, } from './hooks/useToggleGovernanceAlertRuleMutation';
429
425
  export { toggleGovernanceAlertRule, useToggleGovernanceAlertRuleMutation, } from './hooks/useToggleGovernanceAlertRuleMutation';
426
+ export type { TopCloudAccountGovernanceSavingsErrorResponse, TopCloudAccountGovernanceSavingsMutationQueryParams, TopCloudAccountGovernanceSavingsOkResponse, TopCloudAccountGovernanceSavingsProps, TopCloudAccountGovernanceSavingsRequestBody, } from './hooks/useTopCloudAccountGovernanceSavingsMutation';
427
+ export { topCloudAccountGovernanceSavings, useTopCloudAccountGovernanceSavingsMutation, } from './hooks/useTopCloudAccountGovernanceSavingsMutation';
430
428
  export type { TotalActiveEnforcementsErrorResponse, TotalActiveEnforcementsOkResponse, TotalActiveEnforcementsProps, TotalActiveEnforcementsQueryQueryParams, } from './hooks/useTotalActiveEnforcementsQuery';
431
429
  export { totalActiveEnforcements, useTotalActiveEnforcementsQuery, } from './hooks/useTotalActiveEnforcementsQuery';
432
430
  export type { TotalEvaluationsErrorResponse, TotalEvaluationsOkResponse, TotalEvaluationsProps, TotalEvaluationsQueryQueryParams, } from './hooks/useTotalEvaluationsQuery';
@@ -435,6 +433,8 @@ export type { TotalNewEnforcementRecommendationsErrorResponse, TotalNewEnforceme
435
433
  export { totalNewEnforcementRecommendations, useTotalNewEnforcementRecommendationsQuery, } from './hooks/useTotalNewEnforcementRecommendationsQuery';
436
434
  export type { TotalRealisedSavingsGroupedErrorResponse, TotalRealisedSavingsGroupedOkResponse, TotalRealisedSavingsGroupedProps, TotalRealisedSavingsGroupedQueryQueryParams, } from './hooks/useTotalRealisedSavingsGroupedQuery';
437
435
  export { totalRealisedSavingsGrouped, useTotalRealisedSavingsGroupedQuery, } from './hooks/useTotalRealisedSavingsGroupedQuery';
436
+ export type { TotalRealisedSavingsTimeSeriesErrorResponse, TotalRealisedSavingsTimeSeriesMutationQueryParams, TotalRealisedSavingsTimeSeriesOkResponse, TotalRealisedSavingsTimeSeriesProps, TotalRealisedSavingsTimeSeriesRequestBody, } from './hooks/useTotalRealisedSavingsTimeSeriesMutation';
437
+ export { totalRealisedSavingsTimeSeries, useTotalRealisedSavingsTimeSeriesMutation, } from './hooks/useTotalRealisedSavingsTimeSeriesMutation';
438
438
  export type { TotalRealisedSavingsV2ErrorResponse, TotalRealisedSavingsV2MutationQueryParams, TotalRealisedSavingsV2OkResponse, TotalRealisedSavingsV2Props, TotalRealisedSavingsV2RequestBody, } from './hooks/useTotalRealisedSavingsV2Mutation';
439
439
  export { totalRealisedSavingsV2, useTotalRealisedSavingsV2Mutation, } from './hooks/useTotalRealisedSavingsV2Mutation';
440
440
  export type { TriggerDataIngestionErrorResponse, TriggerDataIngestionMutationQueryParams, TriggerDataIngestionOkResponse, TriggerDataIngestionProps, TriggerDataIngestionRequestBody, } from './hooks/useTriggerDataIngestionMutation';
@@ -521,12 +521,14 @@ export type { AwsNodepoolPreferences } from './schemas/AwsNodepoolPreferences';
521
521
  export type { AwsPreferences } from './schemas/AwsPreferences';
522
522
  export type { AwsRecommendationFilterProperties } from './schemas/AwsRecommendationFilterProperties';
523
523
  export type { AwsViewPreferences } from './schemas/AwsViewPreferences';
524
+ export type { AwsWorkloadPreferences } from './schemas/AwsWorkloadPreferences';
524
525
  export type { AzureNodepoolPreferences } from './schemas/AzureNodepoolPreferences';
525
526
  export type { AzurePreferences } from './schemas/AzurePreferences';
526
527
  export type { AzureRecommendationFilterProperties } from './schemas/AzureRecommendationFilterProperties';
527
528
  export type { AzureViewPreferences } from './schemas/AzureViewPreferences';
528
529
  export type { AzureVmDto } from './schemas/AzureVmDto';
529
530
  export type { AzureVmRecommendation } from './schemas/AzureVmRecommendation';
531
+ export type { AzureWorkloadPreferences } from './schemas/AzureWorkloadPreferences';
530
532
  export type { BaseRecommendationFilterProperties } from './schemas/BaseRecommendationFilterProperties';
531
533
  export type { BiDashboardSummary } from './schemas/BiDashboardSummary';
532
534
  export type { Budget } from './schemas/Budget';
@@ -572,6 +574,7 @@ export type { CeViewFolder } from './schemas/CeViewFolder';
572
574
  export type { ChangeRecommendationInferenceStatusDto } from './schemas/ChangeRecommendationInferenceStatusDto';
573
575
  export type { CloneBudgetRequest } from './schemas/CloneBudgetRequest';
574
576
  export type { CloneRuleDto } from './schemas/CloneRuleDto';
577
+ export type { CloudAccountGovernanceSavingsDto } from './schemas/CloudAccountGovernanceSavingsDto';
575
578
  export type { CloudProviderPreferenceOverviewDto } from './schemas/CloudProviderPreferenceOverviewDto';
576
579
  export type { CloudProviderRecommendationPreference } from './schemas/CloudProviderRecommendationPreference';
577
580
  export type { CloudProviderRecommendationPreferenceDto } from './schemas/CloudProviderRecommendationPreferenceDto';
@@ -631,6 +634,7 @@ export type { FilterStats } from './schemas/FilterStats';
631
634
  export type { FilterValues } from './schemas/FilterValues';
632
635
  export type { GcpNodepoolPreferences } from './schemas/GcpNodepoolPreferences';
633
636
  export type { GcpViewPreferences } from './schemas/GcpViewPreferences';
637
+ export type { GcpWorkloadPreferences } from './schemas/GcpWorkloadPreferences';
634
638
  export type { GenAiServiceDto } from './schemas/GenAiServiceDto';
635
639
  export type { GenAiTraceFilter } from './schemas/GenAiTraceFilter';
636
640
  export type { GenAiTraceFilterRequest } from './schemas/GenAiTraceFilterRequest';
@@ -650,6 +654,7 @@ export type { GovernanceJobEnqueueDto } from './schemas/GovernanceJobEnqueueDto'
650
654
  export type { GovernanceNotification } from './schemas/GovernanceNotification';
651
655
  export type { GovernancePromptRule } from './schemas/GovernancePromptRule';
652
656
  export type { GovernanceRecommendationFilterProperties } from './schemas/GovernanceRecommendationFilterProperties';
657
+ export type { GovernanceSavingsTimeSeriesDto } from './schemas/GovernanceSavingsTimeSeriesDto';
653
658
  export type { HistogramExp } from './schemas/HistogramExp';
654
659
  export type { IacmCostResource } from './schemas/IacmCostResource';
655
660
  export type { IacmResource } from './schemas/IacmResource';
@@ -672,6 +677,7 @@ export type { JobState } from './schemas/JobState';
672
677
  export type { K8sLabel } from './schemas/K8sLabel';
673
678
  export type { K8sRecommendationFilterProperties } from './schemas/K8sRecommendationFilterProperties';
674
679
  export type { LicenseUsage } from './schemas/LicenseUsage';
680
+ export type { LifecycleBucketStats } from './schemas/LifecycleBucketStats';
675
681
  export type { LinkedEnforcements } from './schemas/LinkedEnforcements';
676
682
  export type { ListDto } from './schemas/ListDto';
677
683
  export type { LookBackPeriod } from './schemas/LookBackPeriod';
@@ -714,6 +720,7 @@ export type { RecommendationEc2InstanceId } from './schemas/RecommendationEc2Ins
714
720
  export type { RecommendationEcsServiceId } from './schemas/RecommendationEcsServiceId';
715
721
  export type { RecommendationGovernanceRuleId } from './schemas/RecommendationGovernanceRuleId';
716
722
  export type { RecommendationItem } from './schemas/RecommendationItem';
723
+ export type { RecommendationLifecycleStatsDto } from './schemas/RecommendationLifecycleStatsDto';
717
724
  export type { RecommendationNodepoolId } from './schemas/RecommendationNodepoolId';
718
725
  export type { RecommendationOverviewStats } from './schemas/RecommendationOverviewStats';
719
726
  export type { RecommendationPreference } from './schemas/RecommendationPreference';
@@ -729,7 +736,6 @@ export type { Recommendations } from './schemas/Recommendations';
729
736
  export type { RecommendationsIgnoreList } from './schemas/RecommendationsIgnoreList';
730
737
  export type { RecommendationsIgnoreResourcesDto } from './schemas/RecommendationsIgnoreResourcesDto';
731
738
  export type { Reference } from './schemas/Reference';
732
- export type { ReferenceDto } from './schemas/ReferenceDto';
733
739
  export type { RequiresAttentionDto } from './schemas/RequiresAttentionDto';
734
740
  export type { ResourceBreakdown } from './schemas/ResourceBreakdown';
735
741
  export type { ResourceRequirement } from './schemas/ResourceRequirement';
@@ -762,6 +768,7 @@ export type { ResponseDtoGenAiTraceListResponse } from './schemas/ResponseDtoGen
762
768
  export type { ResponseDtoGovernanceCostSettings } from './schemas/ResponseDtoGovernanceCostSettings';
763
769
  export type { ResponseDtoGovernanceEnqueueResponseDto } from './schemas/ResponseDtoGovernanceEnqueueResponseDto';
764
770
  export type { ResponseDtoGovernanceNotification } from './schemas/ResponseDtoGovernanceNotification';
771
+ export type { ResponseDtoGovernanceSavingsTimeSeriesDto } from './schemas/ResponseDtoGovernanceSavingsTimeSeriesDto';
765
772
  export type { ResponseDtoIacmResourceCosts } from './schemas/ResponseDtoIacmResourceCosts';
766
773
  export type { ResponseDtoIacmResourceRecommendations } from './schemas/ResponseDtoIacmResourceRecommendations';
767
774
  export type { ResponseDtoInteger } from './schemas/ResponseDtoInteger';
@@ -822,6 +829,7 @@ export type { ResponseDtoPerspectiveEntityStatsData } from './schemas/ResponseDt
822
829
  export type { ResponseDtoPerspectiveTimeSeriesData } from './schemas/ResponseDtoPerspectiveTimeSeriesData';
823
830
  export type { ResponseDtoRecommendationCostSettings } from './schemas/ResponseDtoRecommendationCostSettings';
824
831
  export type { ResponseDtoRecommendationDetailsDto } from './schemas/ResponseDtoRecommendationDetailsDto';
832
+ export type { ResponseDtoRecommendationLifecycleStatsDto } from './schemas/ResponseDtoRecommendationLifecycleStatsDto';
825
833
  export type { ResponseDtoRecommendationOverviewStats } from './schemas/ResponseDtoRecommendationOverviewStats';
826
834
  export type { ResponseDtoRecommendationPreferenceDto } from './schemas/ResponseDtoRecommendationPreferenceDto';
827
835
  export type { ResponseDtoRecommendationTagDto } from './schemas/ResponseDtoRecommendationTagDto';
@@ -840,10 +848,9 @@ export type { ResponseDtoRuleRecommendationSummary } from './schemas/ResponseDto
840
848
  export type { ResponseDtoRuleRecommendationSummaryList } from './schemas/ResponseDtoRuleRecommendationSummaryList';
841
849
  export type { ResponseDtoRuleSet } from './schemas/ResponseDtoRuleSet';
842
850
  export type { ResponseDtoRuleSetList } from './schemas/ResponseDtoRuleSetList';
843
- export type { ResponseDtoServiceInstanceUsageDto } from './schemas/ResponseDtoServiceInstanceUsageDto';
844
- export type { ResponseDtoServiceUsageDto } from './schemas/ResponseDtoServiceUsageDto';
845
851
  export type { ResponseDtoSetString } from './schemas/ResponseDtoSetString';
846
852
  export type { ResponseDtoString } from './schemas/ResponseDtoString';
853
+ export type { ResponseDtoTopCloudAccountGovernanceSavingsDto } from './schemas/ResponseDtoTopCloudAccountGovernanceSavingsDto';
847
854
  export type { ResponseDtoTreeMapLongAnomalyOverview } from './schemas/ResponseDtoTreeMapLongAnomalyOverview';
848
855
  export type { ResponseDtoUnitMetricListResponseDto } from './schemas/ResponseDtoUnitMetricListResponseDto';
849
856
  export type { ResponseDtoUnitMetricResponseDto } from './schemas/ResponseDtoUnitMetricResponseDto';
@@ -886,19 +893,20 @@ export type { RuleSet } from './schemas/RuleSet';
886
893
  export type { RuleSetList } from './schemas/RuleSetList';
887
894
  export type { RuleSetRequest } from './schemas/RuleSetRequest';
888
895
  export type { SendMailRequestDto } from './schemas/SendMailRequestDto';
889
- export type { ServiceInstanceUsageDto } from './schemas/ServiceInstanceUsageDto';
890
896
  export type { ServiceNowFieldValueNg } from './schemas/ServiceNowFieldValueNg';
891
897
  export type { ServiceNowTicketNg } from './schemas/ServiceNowTicketNg';
892
- export type { ServiceUsageDto } from './schemas/ServiceUsageDto';
893
898
  export type { SharedCost } from './schemas/SharedCost';
894
899
  export type { SharedCostSplit } from './schemas/SharedCostSplit';
895
900
  export type { SubRuleExecutionDetails } from './schemas/SubRuleExecutionDetails';
896
901
  export type { SubRulePolicyDetails } from './schemas/SubRulePolicyDetails';
897
902
  export type { SubRuleResponseDetails } from './schemas/SubRuleResponseDetails';
903
+ export type { TimeBucketSavingsDto } from './schemas/TimeBucketSavingsDto';
898
904
  export type { TimeSeriesDataPoints } from './schemas/TimeSeriesDataPoints';
899
905
  export type { ToggleForRecommendationRequest } from './schemas/ToggleForRecommendationRequest';
906
+ export type { TopCloudAccountGovernanceSavingsDto } from './schemas/TopCloudAccountGovernanceSavingsDto';
900
907
  export type { TotalResourceUsage } from './schemas/TotalResourceUsage';
901
908
  export type { UnallocatedCost } from './schemas/UnallocatedCost';
909
+ export type { UnitCostAnomalyData } from './schemas/UnitCostAnomalyData';
902
910
  export type { UnitCostMetricRecord } from './schemas/UnitCostMetricRecord';
903
911
  export type { UnitMetricExpression } from './schemas/UnitMetricExpression';
904
912
  export type { UnitMetricInfo } from './schemas/UnitMetricInfo';
@@ -907,7 +915,6 @@ export type { UnitMetricListResponseDto } from './schemas/UnitMetricListResponse
907
915
  export type { UnitMetricOperand } from './schemas/UnitMetricOperand';
908
916
  export type { UnitMetricRequestDto } from './schemas/UnitMetricRequestDto';
909
917
  export type { UnitMetricResponseDto } from './schemas/UnitMetricResponseDto';
910
- export type { UsageDataDto } from './schemas/UsageDataDto';
911
918
  export type { ValidationError } from './schemas/ValidationError';
912
919
  export type { ValueDataPoint } from './schemas/ValueDataPoint';
913
920
  export type { ViewCondition } from './schemas/ViewCondition';
@@ -918,4 +925,5 @@ export type { ViewRule } from './schemas/ViewRule';
918
925
  export type { ViewTimeRange } from './schemas/ViewTimeRange';
919
926
  export type { ViewVisualization } from './schemas/ViewVisualization';
920
927
  export type { VirtualMachine } from './schemas/VirtualMachine';
928
+ export type { WorkloadPreferences } from './schemas/WorkloadPreferences';
921
929
  export type { WorkloadRecommendationDto } from './schemas/WorkloadRecommendationDto';
@@ -64,7 +64,6 @@ export { deleteRule, useDeleteRuleMutation } from './hooks/useDeleteRuleMutation
64
64
  export { deleteRuleSet, useDeleteRuleSetMutation } from './hooks/useDeleteRuleSetMutation';
65
65
  export { deleteUnitMetric, useDeleteUnitMetricMutation } from './hooks/useDeleteUnitMetricMutation';
66
66
  export { dismissEnforcementRecommendations, useDismissEnforcementRecommendationsMutation, } from './hooks/useDismissEnforcementRecommendationsMutation';
67
- export { downloadActiveServiceCsvReport, useDownloadActiveServiceCsvReportQuery, } from './hooks/useDownloadActiveServiceCsvReportQuery';
68
67
  export { ec2RecommendationDetail, useEc2RecommendationDetailQuery, } from './hooks/useEc2RecommendationDetailQuery';
69
68
  export { ecsRecommendationDetail, useEcsRecommendationDetailQuery, } from './hooks/useEcsRecommendationDetailQuery';
70
69
  export { enforcementDetails, useEnforcementDetailsQuery } from './hooks/useEnforcementDetailsQuery';
@@ -96,8 +95,6 @@ export { getBusinessMappingForFilterPanel, useGetBusinessMappingForFilterPanelQu
96
95
  export { getBusinessMappingList, useGetBusinessMappingListQuery, } from './hooks/useGetBusinessMappingListQuery';
97
96
  export { getBusinessMapping, useGetBusinessMappingQuery } from './hooks/useGetBusinessMappingQuery';
98
97
  export { getCcmOverview, useGetCcmOverviewQuery } from './hooks/useGetCcmOverviewQuery';
99
- export { getCdLicenseUsageForServiceInstances, useGetCdLicenseUsageForServiceInstancesQuery, } from './hooks/useGetCdLicenseUsageForServiceInstancesQuery';
100
- export { getCdLicenseUsageForServices, useGetCdLicenseUsageForServicesQuery, } from './hooks/useGetCdLicenseUsageForServicesQuery';
101
98
  export { getCloudAccountOverrideOverview, useGetCloudAccountOverrideOverviewQuery, } from './hooks/useGetCloudAccountOverrideOverviewQuery';
102
99
  export { getColumnUnitMetricForPerspective, useGetColumnUnitMetricForPerspectiveMutation, } from './hooks/useGetColumnUnitMetricForPerspectiveMutation';
103
100
  export { getCommonJiraFields, useGetCommonJiraFieldsMutation, } from './hooks/useGetCommonJiraFieldsMutation';
@@ -197,6 +194,7 @@ export { postFilter, usePostFilterMutation } from './hooks/usePostFilterMutation
197
194
  export { realizedSavingsTimeSeries, useRealizedSavingsTimeSeriesMutation, } from './hooks/useRealizedSavingsTimeSeriesMutation';
198
195
  export { recommendationFilterValues, useRecommendationFilterValuesMutation, } from './hooks/useRecommendationFilterValuesMutation';
199
196
  export { recommendationHealth, useRecommendationHealthQuery, } from './hooks/useRecommendationHealthQuery';
197
+ export { recommendationLifecycleStats, useRecommendationLifecycleStatsMutation, } from './hooks/useRecommendationLifecycleStatsMutation';
200
198
  export { recommendationResourceTypeStats, useRecommendationResourceTypeStatsMutation, } from './hooks/useRecommendationResourceTypeStatsMutation';
201
199
  export { recommendationStats, useRecommendationStatsMutation, } from './hooks/useRecommendationStatsMutation';
202
200
  export { recommendationsCount, useRecommendationsCountMutation, } from './hooks/useRecommendationsCountMutation';
@@ -212,10 +210,12 @@ export { toggleAnomaliesIgnorelistRule, useToggleAnomaliesIgnorelistRuleMutation
212
210
  export { toggleEnforcement, useToggleEnforcementMutation, } from './hooks/useToggleEnforcementMutation';
213
211
  export { toggleForRecommendation, useToggleForRecommendationMutation, } from './hooks/useToggleForRecommendationMutation';
214
212
  export { toggleGovernanceAlertRule, useToggleGovernanceAlertRuleMutation, } from './hooks/useToggleGovernanceAlertRuleMutation';
213
+ export { topCloudAccountGovernanceSavings, useTopCloudAccountGovernanceSavingsMutation, } from './hooks/useTopCloudAccountGovernanceSavingsMutation';
215
214
  export { totalActiveEnforcements, useTotalActiveEnforcementsQuery, } from './hooks/useTotalActiveEnforcementsQuery';
216
215
  export { totalEvaluations, useTotalEvaluationsQuery } from './hooks/useTotalEvaluationsQuery';
217
216
  export { totalNewEnforcementRecommendations, useTotalNewEnforcementRecommendationsQuery, } from './hooks/useTotalNewEnforcementRecommendationsQuery';
218
217
  export { totalRealisedSavingsGrouped, useTotalRealisedSavingsGroupedQuery, } from './hooks/useTotalRealisedSavingsGroupedQuery';
218
+ export { totalRealisedSavingsTimeSeries, useTotalRealisedSavingsTimeSeriesMutation, } from './hooks/useTotalRealisedSavingsTimeSeriesMutation';
219
219
  export { totalRealisedSavingsV2, useTotalRealisedSavingsV2Mutation, } from './hooks/useTotalRealisedSavingsV2Mutation';
220
220
  export { triggerDataIngestion, useTriggerDataIngestionMutation, } from './hooks/useTriggerDataIngestionMutation';
221
221
  export { updateAnomaliesIgnorelistRule, useUpdateAnomaliesIgnorelistRuleMutation, } from './hooks/useUpdateAnomaliesIgnorelistRuleMutation';
@@ -15,7 +15,19 @@ export interface AnomalyFilterProperties {
15
15
  * This is the list of anomaly IDs on which filter will be applied.
16
16
  */
17
17
  anomalyIds?: string[];
18
- anomalyView?: 'COST_BUCKET' | 'RESOURCE';
18
+ anomalyView?: 'COST_BUCKET' | 'RESOURCE' | 'UNIT_COST';
19
+ /**
20
+ * This is the list of Anthropic Models on which filter will be applied.
21
+ */
22
+ anthropicModels?: string[];
23
+ /**
24
+ * This is the list of Anthropic Project IDs on which filter will be applied.
25
+ */
26
+ anthropicProjectIds?: string[];
27
+ /**
28
+ * This is the list of Anthropic Usage Types on which filter will be applied.
29
+ */
30
+ anthropicUsageTypes?: string[];
19
31
  /**
20
32
  * This is the list of AWS Accounts on which filter will be applied.
21
33
  */
@@ -101,6 +113,18 @@ export interface AnomalyFilterProperties {
101
113
  * @format int32
102
114
  */
103
115
  offset?: number;
116
+ /**
117
+ * This is the list of OpenAI Models on which filter will be applied.
118
+ */
119
+ openaiModels?: string[];
120
+ /**
121
+ * This is the list of OpenAI Project IDs on which filter will be applied.
122
+ */
123
+ openaiProjectIds?: string[];
124
+ /**
125
+ * This is the list of OpenAI Usage Types on which filter will be applied.
126
+ */
127
+ openaiUsageTypes?: string[];
104
128
  /**
105
129
  * The order by condition for anomaly query
106
130
  */
@@ -127,4 +151,8 @@ export interface AnomalyFilterProperties {
127
151
  * List of filters to be applied on Anomaly Time
128
152
  */
129
153
  timeFilters?: CcmTimeFilter[];
154
+ /**
155
+ * This is the list of Unit Metric Names on which filter will be applied.
156
+ */
157
+ unitMetricNames?: string[];
130
158
  }
@@ -0,0 +1,3 @@
1
+ export interface AwsWorkloadPreferences {
2
+ costType?: 'AMORTISED' | 'LIST_PRICE' | 'NET_AMORTISED';
3
+ }
@@ -1,3 +1,3 @@
1
1
  export interface AzurePreferences {
2
- costType?: 'AMORTIZED' | 'LIST_PRICE';
2
+ costType?: 'ACTUAL' | 'AMORTIZED' | 'LIST_PRICE';
3
3
  }
@@ -0,0 +1,3 @@
1
+ export interface AzureWorkloadPreferences {
2
+ costType?: 'ACTUAL' | 'AMORTIZED';
3
+ }
@@ -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 {};
@@ -1,3 +1,4 @@
1
+ import type { CcmCostCategoryDto } from '../schemas/CcmCostCategoryDto';
1
2
  /**
2
3
  * Filter properties for budget listing
3
4
  */
@@ -10,6 +11,10 @@ export interface BudgetFilterPropertiesDto {
10
11
  * Filter by cost bucket names
11
12
  */
12
13
  costBucketNames?: string[];
14
+ /**
15
+ * Filter by nested cost category and cost bucket pairs. Each entry matches budgets scoped to the given cost category and cost bucket; entries are OR-ed together so only requested combinations match. Takes precedence over costCategoryNames/costBucketNames when provided.
16
+ */
17
+ costCategoryDTOs?: CcmCostCategoryDto[];
13
18
  /**
14
19
  * Filter by cost category names
15
20
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -3,7 +3,7 @@ import type { EmbeddedUser } from '../schemas/EmbeddedUser';
3
3
  import type { SharedCost } from '../schemas/SharedCost';
4
4
  import type { UnallocatedCost } from '../schemas/UnallocatedCost';
5
5
  export interface BusinessMapping {
6
- accountId?: string;
6
+ accountId: string;
7
7
  costTargets?: CostTarget[];
8
8
  costTargetsWithUUID?: CostTarget[];
9
9
  /**
@@ -19,6 +19,7 @@ export interface BusinessMapping {
19
19
  lastUpdatedBy?: EmbeddedUser;
20
20
  name: string;
21
21
  sharedCosts?: SharedCost[];
22
+ supportsTagNormalization?: boolean;
22
23
  unallocatedCost?: UnallocatedCost;
23
24
  uuid?: string;
24
25
  }
@@ -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' | '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' | 'PERSPECTIVE_ID' | 'POTENTIAL_SAVINGS' | 'RECOMMENDATIONS_COUNT' | 'REGION' | 'REPORTED_BY' | 'RULE_NAME' | 'RULE_SET_NAME' | 'SERVICE' | 'SERVICE_NAME' | 'STATUS' | 'TOTAL_COST' | 'UNALLOCATED_COST' | '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' | '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
  }
@@ -1,3 +1,4 @@
1
+ import type { CcmCostCategoryDto } from '../schemas/CcmCostCategoryDto';
1
2
  /**
2
3
  * Properties of the Budget Filter defined in Harness
3
4
  */
@@ -10,6 +11,10 @@ export interface CcmBudgetFilterProperties {
10
11
  * Filter by cost bucket names
11
12
  */
12
13
  costBucketNames?: string[];
14
+ /**
15
+ * Filter by nested cost category and cost bucket pairs. Each entry matches budgets scoped to the given cost category and cost bucket; entries are OR-ed together. Takes precedence over costCategoryNames/costBucketNames when provided.
16
+ */
17
+ costCategoryDTOs?: CcmCostCategoryDto[];
13
18
  /**
14
19
  * Filter by cost category names
15
20
  */
@@ -1,4 +1 @@
1
- /* eslint-disable */
2
- // This code is autogenerated using @harnessio/oats-cli.
3
- // Please do not modify this code directly.
4
1
  export {};
@@ -5,5 +5,5 @@ export interface CcmGroupBy {
5
5
  /**
6
6
  * List of all possible Fields
7
7
  */
8
- groupByField?: 'ACTUAL_AMOUNT' | 'ACTUAL_COST' | 'ALL' | 'ANOMALOUS_SPEND' | 'ANOMALOUS_SPEND_PERCENTAGE' | 'ANOMALY_ID' | 'ANOMALY_STATUS' | 'ANOMALY_TIME' | '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' | 'PERSPECTIVE_ID' | 'POTENTIAL_SAVINGS' | 'RECOMMENDATIONS_COUNT' | 'REGION' | 'REPORTED_BY' | 'RULE_NAME' | 'RULE_SET_NAME' | 'SERVICE' | 'SERVICE_NAME' | 'STATUS' | 'TOTAL_COST' | 'UNALLOCATED_COST' | 'UPDATED_AT' | 'UPDATED_AT_RELATIVE' | 'UPDATED_BY' | 'WORKLOAD' | 'WORKLOAD_TYPE';
8
+ groupByField?: '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';
9
9
  }
@@ -5,6 +5,6 @@ export interface CcmJiraCreateDto {
5
5
  };
6
6
  issueType?: string;
7
7
  projectKey?: string;
8
- recommendationId?: 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';
8
+ recommendationId: 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';
10
10
  }
@@ -3,7 +3,7 @@ export interface CcmServiceNowCreateDto {
3
3
  fields?: {
4
4
  [key: string]: string;
5
5
  };
6
- recommendationId?: string;
6
+ recommendationId: string;
7
7
  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';
8
8
  ticketType?: string;
9
9
  }
@@ -5,6 +5,6 @@ export interface CcmSort {
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' | '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' | 'PERSPECTIVE_ID' | 'POTENTIAL_SAVINGS' | 'RECOMMENDATIONS_COUNT' | 'REGION' | 'REPORTED_BY' | 'RULE_NAME' | 'RULE_SET_NAME' | 'SERVICE' | 'SERVICE_NAME' | 'STATUS' | 'TOTAL_COST' | 'UNALLOCATED_COST' | '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' | '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
  order?: 'ASCENDING' | 'DESCENDING';
10
10
  }
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Governance recommendation savings for a single cloud account, with comparison
3
+ */
4
+ export interface CloudAccountGovernanceSavingsDto {
5
+ /**
6
+ * Cloud account ID
7
+ */
8
+ cloudAccountId?: string;
9
+ /**
10
+ * Cloud account name
11
+ */
12
+ cloudAccountName?: string;
13
+ /**
14
+ * Governance recommendation savings as of the current time filter
15
+ * @format double
16
+ */
17
+ currentSavings?: number;
18
+ /**
19
+ * Percentage change in savings, current vs previous. Null means the change is undefined because previous savings were zero (e.g. a new account) while current savings are positive
20
+ * @format double
21
+ */
22
+ percentageChange?: number;
23
+ /**
24
+ * Governance recommendation savings as of the comparison time filter
25
+ * @format double
26
+ */
27
+ previousSavings?: number;
28
+ }
@@ -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 {};