@harnessio/react-sei-panorama-service-client 0.31.13 → 0.31.15

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 (54) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetWorkItemLinkedPrsQuery.d.ts +5 -5
  2. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetWorkItemLinkedPrsQuery.js +1 -1
  3. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUpsertDeveloperIdentitiesMutation.d.ts +1 -1
  4. package/dist/sei-panorama-service/src/services/hooks/useInternalAiEngineeringControllerGetSpendSeriesMutation.d.ts +21 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useInternalAiEngineeringControllerGetSpendSeriesMutation.js +14 -0
  6. package/dist/sei-panorama-service/src/services/hooks/useInternalAiEngineeringControllerGetSpendTotalMutation.d.ts +21 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useInternalAiEngineeringControllerGetSpendTotalMutation.js +14 -0
  8. package/dist/sei-panorama-service/src/services/index.d.ts +22 -1
  9. package/dist/sei-panorama-service/src/services/index.js +2 -0
  10. package/dist/sei-panorama-service/src/services/schemas/AiImpactExplainability.d.ts +17 -0
  11. package/dist/sei-panorama-service/src/services/schemas/{ApiResponseListWorkItemLinkedPrDto.d.ts → ApiResponseWorkItemLinkedPrsResponse.d.ts} +3 -3
  12. package/dist/sei-panorama-service/src/services/schemas/ApiResponseWorkItemLinkedPrsResponse.js +1 -0
  13. package/dist/sei-panorama-service/src/services/schemas/DeveloperToolSeries.d.ts +15 -0
  14. package/dist/sei-panorama-service/src/services/schemas/DeveloperToolSeries.js +1 -0
  15. package/dist/sei-panorama-service/src/services/schemas/DeveloperToolSpend.d.ts +15 -0
  16. package/dist/sei-panorama-service/src/services/schemas/DeveloperToolSpend.js +4 -0
  17. package/dist/sei-panorama-service/src/services/schemas/DrilldownData.d.ts +1 -1
  18. package/dist/sei-panorama-service/src/services/schemas/DrilldownDataV3.d.ts +1 -1
  19. package/dist/sei-panorama-service/src/services/schemas/EfficiencyRequest.d.ts +1 -1
  20. package/dist/sei-panorama-service/src/services/schemas/EntityDto.d.ts +2 -2
  21. package/dist/sei-panorama-service/src/services/schemas/EntityRequestDto.d.ts +2 -2
  22. package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownData.d.ts +1 -1
  23. package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownDataV3.d.ts +1 -1
  24. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendCollisionGroup.d.ts +15 -0
  25. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendCollisionGroup.js +4 -0
  26. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendDeveloperRow.d.ts +25 -0
  27. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendDeveloperRow.js +1 -0
  28. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendMetadata.d.ts +14 -0
  29. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendMetadata.js +1 -0
  30. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendRequest.d.ts +33 -0
  31. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendRequest.js +4 -0
  32. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendSeriesPoint.d.ts +16 -0
  33. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendSeriesPoint.js +4 -0
  34. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendSeriesRequest.d.ts +28 -0
  35. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendSeriesRequest.js +4 -0
  36. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendSeriesResponse.d.ts +20 -0
  37. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendSeriesResponse.js +1 -0
  38. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendToolBreakdown.d.ts +21 -0
  39. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendToolBreakdown.js +1 -0
  40. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendToolSeriesRow.d.ts +21 -0
  41. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendToolSeriesRow.js +1 -0
  42. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendTotalResponse.d.ts +20 -0
  43. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendTotalResponse.js +1 -0
  44. package/dist/sei-panorama-service/src/services/schemas/ItsmCustomFieldDto.d.ts +4 -0
  45. package/dist/sei-panorama-service/src/services/schemas/PrCostEntry.d.ts +11 -0
  46. package/dist/sei-panorama-service/src/services/schemas/PrCostEntry.js +4 -0
  47. package/dist/sei-panorama-service/src/services/schemas/PrRef.d.ts +7 -0
  48. package/dist/sei-panorama-service/src/services/schemas/PrRef.js +4 -0
  49. package/dist/sei-panorama-service/src/services/schemas/SharedCommitEntry.d.ts +13 -0
  50. package/dist/sei-panorama-service/src/services/schemas/SharedCommitEntry.js +1 -0
  51. package/dist/sei-panorama-service/src/services/schemas/WorkItemLinkedPrsResponse.d.ts +11 -0
  52. package/dist/sei-panorama-service/src/services/schemas/WorkItemLinkedPrsResponse.js +1 -0
  53. package/package.json +1 -1
  54. /package/dist/sei-panorama-service/src/services/schemas/{ApiResponseListWorkItemLinkedPrDto.js → AiImpactExplainability.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ApiResponseListWorkItemLinkedPrDto } from '../schemas/ApiResponseListWorkItemLinkedPrDto';
2
+ import type { ApiResponseWorkItemLinkedPrsResponse } from '../schemas/ApiResponseWorkItemLinkedPrsResponse';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface AiEngineeringControllerGetWorkItemLinkedPrsQueryPathParams {
@@ -8,8 +8,8 @@ export interface AiEngineeringControllerGetWorkItemLinkedPrsQueryPathParams {
8
8
  export interface AiEngineeringControllerGetWorkItemLinkedPrsQueryQueryParams {
9
9
  account: string;
10
10
  schema: string;
11
- start_date: string;
12
- end_date: string;
11
+ start_date?: string;
12
+ end_date?: string;
13
13
  /**
14
14
  * @example "default"
15
15
  */
@@ -47,13 +47,13 @@ export interface AiEngineeringControllerGetWorkItemLinkedPrsQueryQueryParams {
47
47
  */
48
48
  role?: string;
49
49
  }
50
- export type AiEngineeringControllerGetWorkItemLinkedPrsOkResponse = ResponseWithPagination<ApiResponseListWorkItemLinkedPrDto>;
50
+ export type AiEngineeringControllerGetWorkItemLinkedPrsOkResponse = ResponseWithPagination<ApiResponseWorkItemLinkedPrsResponse>;
51
51
  export type AiEngineeringControllerGetWorkItemLinkedPrsErrorResponse = unknown;
52
52
  export interface AiEngineeringControllerGetWorkItemLinkedPrsProps extends AiEngineeringControllerGetWorkItemLinkedPrsQueryPathParams, Omit<FetcherOptions<AiEngineeringControllerGetWorkItemLinkedPrsQueryQueryParams, unknown>, 'url'> {
53
53
  queryParams: AiEngineeringControllerGetWorkItemLinkedPrsQueryQueryParams;
54
54
  }
55
55
  export declare function aiEngineeringControllerGetWorkItemLinkedPrs(props: AiEngineeringControllerGetWorkItemLinkedPrsProps): Promise<AiEngineeringControllerGetWorkItemLinkedPrsOkResponse>;
56
56
  /**
57
- * Get PRs linked to a work item with fractional cost attribution
57
+ * Get PRs linked to a work item with cost attribution and explainability
58
58
  */
59
59
  export declare function useAiEngineeringControllerGetWorkItemLinkedPrsQuery(props: AiEngineeringControllerGetWorkItemLinkedPrsProps, options?: Omit<UseQueryOptions<AiEngineeringControllerGetWorkItemLinkedPrsOkResponse, AiEngineeringControllerGetWorkItemLinkedPrsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiEngineeringControllerGetWorkItemLinkedPrsOkResponse, unknown>;
@@ -7,7 +7,7 @@ export function aiEngineeringControllerGetWorkItemLinkedPrs(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/ai-engineering/insights/impact/work-items/${props.workItemId}/pull-requests`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
- * Get PRs linked to a work item with fractional cost attribution
10
+ * Get PRs linked to a work item with cost attribution and explainability
11
11
  */
12
12
  export function useAiEngineeringControllerGetWorkItemLinkedPrsQuery(props, options) {
13
13
  return useQuery(['AiEngineeringControllerGetWorkItemLinkedPrs', props.workItemId, props.queryParams], ({ signal }) => aiEngineeringControllerGetWorkItemLinkedPrs(Object.assign(Object.assign({}, props), { signal })), options);
@@ -7,7 +7,7 @@ import type { ResponseWithPagination } from '../helpers';
7
7
  import { FetcherOptions } from '../../../../fetcher/index.js';
8
8
  export type DeveloperControllerUpsertDeveloperIdentitiesRequestBody = DeveloperIdentity[];
9
9
  export type DeveloperControllerUpsertDeveloperIdentitiesOkResponse = ResponseWithPagination<DeveloperIdentityUpsertResponse>;
10
- export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = (DeveloperIdentityUpsertFailureResponse | ErrorResponse) | ErrorResponse;
10
+ export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = DeveloperIdentityUpsertFailureResponse | ErrorResponse;
11
11
  export interface DeveloperControllerUpsertDeveloperIdentitiesProps extends Omit<FetcherOptions<unknown, DeveloperControllerUpsertDeveloperIdentitiesRequestBody>, 'url'> {
12
12
  body: DeveloperControllerUpsertDeveloperIdentitiesRequestBody;
13
13
  }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { InternalAiSpendSeriesResponse } from '../schemas/InternalAiSpendSeriesResponse';
3
+ import type { InternalAiSpendSeriesRequest } from '../schemas/InternalAiSpendSeriesRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface InternalAiEngineeringControllerGetSpendSeriesMutationQueryParams {
7
+ accountId: string;
8
+ tenantId: string;
9
+ }
10
+ export type InternalAiEngineeringControllerGetSpendSeriesRequestBody = InternalAiSpendSeriesRequest;
11
+ export type InternalAiEngineeringControllerGetSpendSeriesOkResponse = ResponseWithPagination<InternalAiSpendSeriesResponse>;
12
+ export type InternalAiEngineeringControllerGetSpendSeriesErrorResponse = unknown;
13
+ export interface InternalAiEngineeringControllerGetSpendSeriesProps extends Omit<FetcherOptions<InternalAiEngineeringControllerGetSpendSeriesMutationQueryParams, InternalAiEngineeringControllerGetSpendSeriesRequestBody>, 'url'> {
14
+ queryParams: InternalAiEngineeringControllerGetSpendSeriesMutationQueryParams;
15
+ body: InternalAiEngineeringControllerGetSpendSeriesRequestBody;
16
+ }
17
+ export declare function internalAiEngineeringControllerGetSpendSeries(props: InternalAiEngineeringControllerGetSpendSeriesProps): Promise<InternalAiEngineeringControllerGetSpendSeriesOkResponse>;
18
+ /**
19
+ * Returns time series spend data per developer for the specified granularity
20
+ */
21
+ export declare function useInternalAiEngineeringControllerGetSpendSeriesMutation(options?: Omit<UseMutationOptions<InternalAiEngineeringControllerGetSpendSeriesOkResponse, InternalAiEngineeringControllerGetSpendSeriesErrorResponse, InternalAiEngineeringControllerGetSpendSeriesProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<InternalAiEngineeringControllerGetSpendSeriesOkResponse, unknown, InternalAiEngineeringControllerGetSpendSeriesProps, 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 internalAiEngineeringControllerGetSpendSeries(props) {
7
+ return fetcher(Object.assign({ url: `/v2/internal/ai-engineering/spend/series`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Returns time series spend data per developer for the specified granularity
11
+ */
12
+ export function useInternalAiEngineeringControllerGetSpendSeriesMutation(options) {
13
+ return useMutation((mutateProps) => internalAiEngineeringControllerGetSpendSeries(mutateProps), options);
14
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { InternalAiSpendTotalResponse } from '../schemas/InternalAiSpendTotalResponse';
3
+ import type { InternalAiSpendRequest } from '../schemas/InternalAiSpendRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface InternalAiEngineeringControllerGetSpendTotalMutationQueryParams {
7
+ accountId: string;
8
+ tenantId: string;
9
+ }
10
+ export type InternalAiEngineeringControllerGetSpendTotalRequestBody = InternalAiSpendRequest;
11
+ export type InternalAiEngineeringControllerGetSpendTotalOkResponse = ResponseWithPagination<InternalAiSpendTotalResponse>;
12
+ export type InternalAiEngineeringControllerGetSpendTotalErrorResponse = unknown;
13
+ export interface InternalAiEngineeringControllerGetSpendTotalProps extends Omit<FetcherOptions<InternalAiEngineeringControllerGetSpendTotalMutationQueryParams, InternalAiEngineeringControllerGetSpendTotalRequestBody>, 'url'> {
14
+ queryParams: InternalAiEngineeringControllerGetSpendTotalMutationQueryParams;
15
+ body: InternalAiEngineeringControllerGetSpendTotalRequestBody;
16
+ }
17
+ export declare function internalAiEngineeringControllerGetSpendTotal(props: InternalAiEngineeringControllerGetSpendTotalProps): Promise<InternalAiEngineeringControllerGetSpendTotalOkResponse>;
18
+ /**
19
+ * Returns total spend across the specified date range grouped by email
20
+ */
21
+ export declare function useInternalAiEngineeringControllerGetSpendTotalMutation(options?: Omit<UseMutationOptions<InternalAiEngineeringControllerGetSpendTotalOkResponse, InternalAiEngineeringControllerGetSpendTotalErrorResponse, InternalAiEngineeringControllerGetSpendTotalProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<InternalAiEngineeringControllerGetSpendTotalOkResponse, unknown, InternalAiEngineeringControllerGetSpendTotalProps, 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 internalAiEngineeringControllerGetSpendTotal(props) {
7
+ return fetcher(Object.assign({ url: `/v2/internal/ai-engineering/spend/total`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Returns total spend across the specified date range grouped by email
11
+ */
12
+ export function useInternalAiEngineeringControllerGetSpendTotalMutation(options) {
13
+ return useMutation((mutateProps) => internalAiEngineeringControllerGetSpendTotal(mutateProps), options);
14
+ }
@@ -423,6 +423,10 @@ export type { IntegrationStatsControllerGetWindsurfUsersCountErrorResponse, Inte
423
423
  export { integrationStatsControllerGetWindsurfUsersCount, useIntegrationStatsControllerGetWindsurfUsersCountQuery, } from './hooks/useIntegrationStatsControllerGetWindsurfUsersCountQuery';
424
424
  export type { IntegrationStatsControllerGetWindsurfUsersCountWithDateRangeErrorResponse, IntegrationStatsControllerGetWindsurfUsersCountWithDateRangeMutationQueryParams, IntegrationStatsControllerGetWindsurfUsersCountWithDateRangeOkResponse, IntegrationStatsControllerGetWindsurfUsersCountWithDateRangeProps, IntegrationStatsControllerGetWindsurfUsersCountWithDateRangeRequestBody, } from './hooks/useIntegrationStatsControllerGetWindsurfUsersCountWithDateRangeMutation';
425
425
  export { integrationStatsControllerGetWindsurfUsersCountWithDateRange, useIntegrationStatsControllerGetWindsurfUsersCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetWindsurfUsersCountWithDateRangeMutation';
426
+ export type { InternalAiEngineeringControllerGetSpendSeriesErrorResponse, InternalAiEngineeringControllerGetSpendSeriesMutationQueryParams, InternalAiEngineeringControllerGetSpendSeriesOkResponse, InternalAiEngineeringControllerGetSpendSeriesProps, InternalAiEngineeringControllerGetSpendSeriesRequestBody, } from './hooks/useInternalAiEngineeringControllerGetSpendSeriesMutation';
427
+ export { internalAiEngineeringControllerGetSpendSeries, useInternalAiEngineeringControllerGetSpendSeriesMutation, } from './hooks/useInternalAiEngineeringControllerGetSpendSeriesMutation';
428
+ export type { InternalAiEngineeringControllerGetSpendTotalErrorResponse, InternalAiEngineeringControllerGetSpendTotalMutationQueryParams, InternalAiEngineeringControllerGetSpendTotalOkResponse, InternalAiEngineeringControllerGetSpendTotalProps, InternalAiEngineeringControllerGetSpendTotalRequestBody, } from './hooks/useInternalAiEngineeringControllerGetSpendTotalMutation';
429
+ export { internalAiEngineeringControllerGetSpendTotal, useInternalAiEngineeringControllerGetSpendTotalMutation, } from './hooks/useInternalAiEngineeringControllerGetSpendTotalMutation';
426
430
  export type { IssueTimeInStatusExportControllerCreateExportErrorResponse, IssueTimeInStatusExportControllerCreateExportMutationQueryParams, IssueTimeInStatusExportControllerCreateExportOkResponse, IssueTimeInStatusExportControllerCreateExportProps, IssueTimeInStatusExportControllerCreateExportRequestBody, } from './hooks/useIssueTimeInStatusExportControllerCreateExportMutation';
427
431
  export { issueTimeInStatusExportControllerCreateExport, useIssueTimeInStatusExportControllerCreateExportMutation, } from './hooks/useIssueTimeInStatusExportControllerCreateExportMutation';
428
432
  export type { IssueTimeInStatusExportControllerDownloadExportErrorResponse, IssueTimeInStatusExportControllerDownloadExportOkResponse, IssueTimeInStatusExportControllerDownloadExportProps, IssueTimeInStatusExportControllerDownloadExportQueryPathParams, } from './hooks/useIssueTimeInStatusExportControllerDownloadExportQuery';
@@ -695,6 +699,7 @@ export type { AiEngineeringImpactBreakdownData } from './schemas/AiEngineeringIm
695
699
  export type { AiEngineeringImpactBreakdownItem } from './schemas/AiEngineeringImpactBreakdownItem';
696
700
  export type { AiEngineeringImpactDrilldownResponseObject } from './schemas/AiEngineeringImpactDrilldownResponseObject';
697
701
  export type { AiEngineeringImpactSummaryData } from './schemas/AiEngineeringImpactSummaryData';
702
+ export type { AiImpactExplainability } from './schemas/AiImpactExplainability';
698
703
  export type { AiMetrics } from './schemas/AiMetrics';
699
704
  export type { AiRawMetricsRequestDto } from './schemas/AiRawMetricsRequestDto';
700
705
  export type { AiRawMetricsResponseDto } from './schemas/AiRawMetricsResponseDto';
@@ -724,13 +729,13 @@ export type { ApiResponseCorrelationData } from './schemas/ApiResponseCorrelatio
724
729
  export type { ApiResponseEntityListData } from './schemas/ApiResponseEntityListData';
725
730
  export type { ApiResponseEntityListTemplate } from './schemas/ApiResponseEntityListTemplate';
726
731
  export type { ApiResponseLeaderboardSegmentsSummaryData } from './schemas/ApiResponseLeaderboardSegmentsSummaryData';
727
- export type { ApiResponseListWorkItemLinkedPrDto } from './schemas/ApiResponseListWorkItemLinkedPrDto';
728
732
  export type { ApiResponseMetricAggregateTemplate } from './schemas/ApiResponseMetricAggregateTemplate';
729
733
  export type { ApiResponseMetricBreakdownData } from './schemas/ApiResponseMetricBreakdownData';
730
734
  export type { ApiResponseOptimizationItem } from './schemas/ApiResponseOptimizationItem';
731
735
  export type { ApiResponseOptimizationListData } from './schemas/ApiResponseOptimizationListData';
732
736
  export type { ApiResponseScorecardData } from './schemas/ApiResponseScorecardData';
733
737
  export type { ApiResponseTimeSeriesTemplate } from './schemas/ApiResponseTimeSeriesTemplate';
738
+ export type { ApiResponseWorkItemLinkedPrsResponse } from './schemas/ApiResponseWorkItemLinkedPrsResponse';
734
739
  export type { ApiResponseWrapper } from './schemas/ApiResponseWrapper';
735
740
  export type { ArmorCodeFindingStatsRequest } from './schemas/ArmorCodeFindingStatsRequest';
736
741
  export type { ArmorCodeFindingStatsResponse } from './schemas/ArmorCodeFindingStatsResponse';
@@ -829,6 +834,8 @@ export type { DeveloperReuploadResponseDto } from './schemas/DeveloperReuploadRe
829
834
  export type { DeveloperSaveResponseDto } from './schemas/DeveloperSaveResponseDto';
830
835
  export type { DeveloperSchemaDto } from './schemas/DeveloperSchemaDto';
831
836
  export type { DeveloperSearchParams } from './schemas/DeveloperSearchParams';
837
+ export type { DeveloperToolSeries } from './schemas/DeveloperToolSeries';
838
+ export type { DeveloperToolSpend } from './schemas/DeveloperToolSpend';
832
839
  export type { DeveloperUpsertResponseDto } from './schemas/DeveloperUpsertResponseDto';
833
840
  export type { DeveloperValidationErrorDto } from './schemas/DeveloperValidationErrorDto';
834
841
  export type { DeveloperVersionActivationDto } from './schemas/DeveloperVersionActivationDto';
@@ -941,6 +948,16 @@ export type { IntegrationSummary } from './schemas/IntegrationSummary';
941
948
  export type { IntegrationUser } from './schemas/IntegrationUser';
942
949
  export type { IntegrationUserInfo } from './schemas/IntegrationUserInfo';
943
950
  export type { IntegrationWithValuesDto } from './schemas/IntegrationWithValuesDto';
951
+ export type { InternalAiSpendCollisionGroup } from './schemas/InternalAiSpendCollisionGroup';
952
+ export type { InternalAiSpendDeveloperRow } from './schemas/InternalAiSpendDeveloperRow';
953
+ export type { InternalAiSpendMetadata } from './schemas/InternalAiSpendMetadata';
954
+ export type { InternalAiSpendRequest } from './schemas/InternalAiSpendRequest';
955
+ export type { InternalAiSpendSeriesPoint } from './schemas/InternalAiSpendSeriesPoint';
956
+ export type { InternalAiSpendSeriesRequest } from './schemas/InternalAiSpendSeriesRequest';
957
+ export type { InternalAiSpendSeriesResponse } from './schemas/InternalAiSpendSeriesResponse';
958
+ export type { InternalAiSpendToolBreakdown } from './schemas/InternalAiSpendToolBreakdown';
959
+ export type { InternalAiSpendToolSeriesRow } from './schemas/InternalAiSpendToolSeriesRow';
960
+ export type { InternalAiSpendTotalResponse } from './schemas/InternalAiSpendTotalResponse';
944
961
  export type { IssueRequest } from './schemas/IssueRequest';
945
962
  export type { IssueTimeInStatusExportRequestDto } from './schemas/IssueTimeInStatusExportRequestDto';
946
963
  export type { IssueTimeInStatusExportResponseDto } from './schemas/IssueTimeInStatusExportResponseDto';
@@ -1031,9 +1048,11 @@ export type { PaginationRequest } from './schemas/PaginationRequest';
1031
1048
  export type { PrCommitsRequest } from './schemas/PrCommitsRequest';
1032
1049
  export type { PrCommitsResponse } from './schemas/PrCommitsResponse';
1033
1050
  export type { PrCommitsResponseWrapper } from './schemas/PrCommitsResponseWrapper';
1051
+ export type { PrCostEntry } from './schemas/PrCostEntry';
1034
1052
  export type { PrCycleTimeDrilldownResponseDataPoint } from './schemas/PrCycleTimeDrilldownResponseDataPoint';
1035
1053
  export type { PrCycleTimeDrilldownResponseDataPointV3 } from './schemas/PrCycleTimeDrilldownResponseDataPointV3';
1036
1054
  export type { PrInfo } from './schemas/PrInfo';
1055
+ export type { PrRef } from './schemas/PrRef';
1037
1056
  export type { PrRequest } from './schemas/PrRequest';
1038
1057
  export type { PrSize } from './schemas/PrSize';
1039
1058
  export type { PrVelocityDrilldownResponseDataPoint } from './schemas/PrVelocityDrilldownResponseDataPoint';
@@ -1094,6 +1113,7 @@ export type { SegmentSummary } from './schemas/SegmentSummary';
1094
1113
  export type { SeverityCounts } from './schemas/SeverityCounts';
1095
1114
  export type { SeverityData } from './schemas/SeverityData';
1096
1115
  export type { SeveritySummaryData } from './schemas/SeveritySummaryData';
1116
+ export type { SharedCommitEntry } from './schemas/SharedCommitEntry';
1097
1117
  export type { SimpleFilter } from './schemas/SimpleFilter';
1098
1118
  export type { SimpleFilterExpression } from './schemas/SimpleFilterExpression';
1099
1119
  export type { SimpleMetric } from './schemas/SimpleMetric';
@@ -1198,4 +1218,5 @@ export type { WorkCompletedDrilldownResponseDataPointV3 } from './schemas/WorkCo
1198
1218
  export type { WorkCompletedIndividualDrilldownResponseDataPoint } from './schemas/WorkCompletedIndividualDrilldownResponseDataPoint';
1199
1219
  export type { WorkCompletedIndividualDrilldownResponseDataPointV3 } from './schemas/WorkCompletedIndividualDrilldownResponseDataPointV3';
1200
1220
  export type { WorkItemLinkedPrDto } from './schemas/WorkItemLinkedPrDto';
1221
+ export type { WorkItemLinkedPrsResponse } from './schemas/WorkItemLinkedPrsResponse';
1201
1222
  export type { WorkType } from './schemas/WorkType';
@@ -210,6 +210,8 @@ export { integrationStatsControllerGetWindsurfEventsCount, useIntegrationStatsCo
210
210
  export { integrationStatsControllerGetWindsurfEventsCountWithDateRange, useIntegrationStatsControllerGetWindsurfEventsCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetWindsurfEventsCountWithDateRangeMutation';
211
211
  export { integrationStatsControllerGetWindsurfUsersCount, useIntegrationStatsControllerGetWindsurfUsersCountQuery, } from './hooks/useIntegrationStatsControllerGetWindsurfUsersCountQuery';
212
212
  export { integrationStatsControllerGetWindsurfUsersCountWithDateRange, useIntegrationStatsControllerGetWindsurfUsersCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetWindsurfUsersCountWithDateRangeMutation';
213
+ export { internalAiEngineeringControllerGetSpendSeries, useInternalAiEngineeringControllerGetSpendSeriesMutation, } from './hooks/useInternalAiEngineeringControllerGetSpendSeriesMutation';
214
+ export { internalAiEngineeringControllerGetSpendTotal, useInternalAiEngineeringControllerGetSpendTotalMutation, } from './hooks/useInternalAiEngineeringControllerGetSpendTotalMutation';
213
215
  export { issueTimeInStatusExportControllerCreateExport, useIssueTimeInStatusExportControllerCreateExportMutation, } from './hooks/useIssueTimeInStatusExportControllerCreateExportMutation';
214
216
  export { issueTimeInStatusExportControllerDownloadExport, useIssueTimeInStatusExportControllerDownloadExportQuery, } from './hooks/useIssueTimeInStatusExportControllerDownloadExportQuery';
215
217
  export { issueTimeInStatusExportControllerGetExportStatus, useIssueTimeInStatusExportControllerGetExportStatusQuery, } from './hooks/useIssueTimeInStatusExportControllerGetExportStatusQuery';
@@ -0,0 +1,17 @@
1
+ import type { PrCostEntry } from '../schemas/PrCostEntry';
2
+ import type { SharedCommitEntry } from '../schemas/SharedCommitEntry';
3
+ export interface AiImpactExplainability {
4
+ /**
5
+ * @format double
6
+ */
7
+ contextCostDollars?: number;
8
+ explainabilityType?: string;
9
+ hasSharedCommits?: boolean;
10
+ prCosts?: PrCostEntry[];
11
+ sharedCommits?: SharedCommitEntry[];
12
+ /**
13
+ * @format double
14
+ */
15
+ sharedDeductionDollars?: number;
16
+ summary?: string;
17
+ }
@@ -1,9 +1,9 @@
1
- import type { WorkItemLinkedPrDto } from '../schemas/WorkItemLinkedPrDto';
2
- export interface ApiResponseListWorkItemLinkedPrDto {
1
+ import type { WorkItemLinkedPrsResponse } from '../schemas/WorkItemLinkedPrsResponse';
2
+ export interface ApiResponseWorkItemLinkedPrsResponse {
3
3
  /**
4
4
  * Endpoint-specific payload (template DTOs, lists, aggregates, etc.)
5
5
  */
6
- data?: WorkItemLinkedPrDto[];
6
+ data?: WorkItemLinkedPrsResponse;
7
7
  /**
8
8
  * HATEOAS links for resource navigation (self, next, prev, etc.)
9
9
  */
@@ -0,0 +1,15 @@
1
+ import type { InternalAiSpendSeriesPoint } from '../schemas/InternalAiSpendSeriesPoint';
2
+ /**
3
+ * Developer's time series spend on a specific tool
4
+ */
5
+ export interface DeveloperToolSeries {
6
+ /**
7
+ * Developer email
8
+ * @example "alice@company.com"
9
+ */
10
+ email?: string;
11
+ /**
12
+ * Time series data points for this developer's spend on this tool
13
+ */
14
+ points?: InternalAiSpendSeriesPoint[];
15
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Developer's spend on a specific tool
3
+ */
4
+ export interface DeveloperToolSpend {
5
+ /**
6
+ * Developer email
7
+ * @example "alice@company.com"
8
+ */
9
+ email?: string;
10
+ /**
11
+ * This developer's spend on this tool in USD
12
+ * @example 80
13
+ */
14
+ spendDollars?: number;
15
+ }
@@ -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 {};
@@ -2,6 +2,6 @@ import type { PrCycleTimeDrilldownResponseDataPoint } from '../schemas/PrCycleTi
2
2
  import type { PrVelocityDrilldownResponseDataPoint } from '../schemas/PrVelocityDrilldownResponseDataPoint';
3
3
  import type { WorkCompletedDrilldownResponseDataPoint } from '../schemas/WorkCompletedDrilldownResponseDataPoint';
4
4
  export interface DrilldownData {
5
- drilldownDataPoints?: Array<PrCycleTimeDrilldownResponseDataPoint | PrVelocityDrilldownResponseDataPoint | WorkCompletedDrilldownResponseDataPoint>;
5
+ drilldownDataPoints?: Array<PrCycleTimeDrilldownResponseDataPoint & PrVelocityDrilldownResponseDataPoint & WorkCompletedDrilldownResponseDataPoint>;
6
6
  metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
7
7
  }
@@ -4,6 +4,6 @@ import type { PrCycleTimeDrilldownResponseDataPointV3 } from '../schemas/PrCycle
4
4
  import type { PrVelocityDrilldownResponseDataPointV3 } from '../schemas/PrVelocityDrilldownResponseDataPointV3';
5
5
  import type { WorkCompletedDrilldownResponseDataPointV3 } from '../schemas/WorkCompletedDrilldownResponseDataPointV3';
6
6
  export interface DrilldownDataV3 {
7
- drilldownDataPoints?: Array<CodeReworkDevelopersDrilldownResponseDataPointV3 | CodingDaysDrilldownResponseDataPointV3 | PrCycleTimeDrilldownResponseDataPointV3 | PrVelocityDrilldownResponseDataPointV3 | WorkCompletedDrilldownResponseDataPointV3>;
7
+ drilldownDataPoints?: Array<CodeReworkDevelopersDrilldownResponseDataPointV3 & CodingDaysDrilldownResponseDataPointV3 & PrCycleTimeDrilldownResponseDataPointV3 & PrVelocityDrilldownResponseDataPointV3 & WorkCompletedDrilldownResponseDataPointV3>;
8
8
  metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
9
9
  }
@@ -25,5 +25,5 @@ export interface EfficiencyRequest {
25
25
  */
26
26
  pageSize?: number;
27
27
  teamRefId: string;
28
- workCategoryFilter?: 'ALL' | 'BUGS' | 'FEATURES';
28
+ workCategoryFilters?: Array<'ALL' | 'BUGS' | 'FEATURES'>;
29
29
  }
@@ -8,12 +8,12 @@ export interface EntityDto {
8
8
  applicableInsights?: Array<'AI_INSIGHTS' | 'BA' | 'DORA' | 'PRODUCTIVITY' | 'SECURITY' | 'SPRINT_INSIGHTS'>;
9
9
  applicableMetrics?: Array<'AI_INSIGHTS' | 'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODE_REWORK' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'TOTAL_OPEN_VULNERABILITIES' | 'WORK_COMPLETED'>;
10
10
  baCategoryColor?: string;
11
- config?: ActiveWorkStatusConfig | BugPriorityConfig | CompletedWorkStatusConfig | NewFeaturesConfig;
11
+ config?: ActiveWorkStatusConfig & BugPriorityConfig & CompletedWorkStatusConfig & NewFeaturesConfig;
12
12
  entityKey?: string;
13
13
  entityName?: string;
14
14
  entityType?: 'cd_production_failure' | 'cd_services_pipelines' | 'cd_successful_deployment' | 'im_active_work_status' | 'im_ba_category' | 'im_bug_start_trigger_status' | 'im_bugs' | 'im_completed_work_status' | 'im_default_start_trigger_status' | 'im_feature_start_trigger_status' | 'im_general' | 'im_incident_detection' | 'im_new_features' | 'itsm_change_requests' | 'itsm_incident_detection' | 'scm_code_driven_deployments' | 'scm_code_driven_hot_fixes' | 'scm_destination_branch' | 'scm_repositories' | 'security_aspm';
15
15
  integrationFilters?: {
16
- [key: string]: CompositeFilterExpression | SimpleFilterExpression;
16
+ [key: string]: CompositeFilterExpression & SimpleFilterExpression;
17
17
  };
18
18
  integrationType?: 'AI' | 'CD' | 'CI' | 'CUSTOM_INGESTION' | 'IM' | 'ITSM' | 'SCM' | 'SECURITY' | 'TEST_MANAGEMENT';
19
19
  useDefaults?: boolean;
@@ -5,11 +5,11 @@ import type { NewFeaturesConfig } from '../schemas/NewFeaturesConfig';
5
5
  import type { CompositeFilterExpression } from '../schemas/CompositeFilterExpression';
6
6
  import type { SimpleFilterExpression } from '../schemas/SimpleFilterExpression';
7
7
  export interface EntityRequestDto {
8
- config?: ActiveWorkStatusConfig | BugPriorityConfig | CompletedWorkStatusConfig | NewFeaturesConfig;
8
+ config?: ActiveWorkStatusConfig & BugPriorityConfig & CompletedWorkStatusConfig & NewFeaturesConfig;
9
9
  entityKey?: string;
10
10
  entityType?: 'cd_production_failure' | 'cd_services_pipelines' | 'cd_successful_deployment' | 'im_active_work_status' | 'im_ba_category' | 'im_bug_start_trigger_status' | 'im_bugs' | 'im_completed_work_status' | 'im_default_start_trigger_status' | 'im_feature_start_trigger_status' | 'im_general' | 'im_incident_detection' | 'im_new_features' | 'itsm_change_requests' | 'itsm_incident_detection' | 'scm_code_driven_deployments' | 'scm_code_driven_hot_fixes' | 'scm_destination_branch' | 'scm_repositories' | 'security_aspm';
11
11
  integrationFilters?: {
12
- [key: string]: CompositeFilterExpression | SimpleFilterExpression;
12
+ [key: string]: CompositeFilterExpression & SimpleFilterExpression;
13
13
  };
14
14
  useDefaults?: boolean;
15
15
  }
@@ -1,6 +1,6 @@
1
1
  import type { PrVelocityIndividualDrilldownResponseDataPoint } from '../schemas/PrVelocityIndividualDrilldownResponseDataPoint';
2
2
  import type { WorkCompletedIndividualDrilldownResponseDataPoint } from '../schemas/WorkCompletedIndividualDrilldownResponseDataPoint';
3
3
  export interface IndividualDrilldownData {
4
- individualDrilldownDataPoints?: Array<PrVelocityIndividualDrilldownResponseDataPoint | WorkCompletedIndividualDrilldownResponseDataPoint>;
4
+ individualDrilldownDataPoints?: Array<PrVelocityIndividualDrilldownResponseDataPoint & WorkCompletedIndividualDrilldownResponseDataPoint>;
5
5
  metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
6
6
  }
@@ -2,6 +2,6 @@ import type { CodingDaysIndividualDrilldownResponseDataPointV3 } from '../schema
2
2
  import type { PrVelocityIndividualDrilldownResponseDataPointV3 } from '../schemas/PrVelocityIndividualDrilldownResponseDataPointV3';
3
3
  import type { WorkCompletedIndividualDrilldownResponseDataPointV3 } from '../schemas/WorkCompletedIndividualDrilldownResponseDataPointV3';
4
4
  export interface IndividualDrilldownDataV3 {
5
- individualDrilldownDataPoints?: Array<CodingDaysIndividualDrilldownResponseDataPointV3 | PrVelocityIndividualDrilldownResponseDataPointV3 | WorkCompletedIndividualDrilldownResponseDataPointV3>;
5
+ individualDrilldownDataPoints?: Array<CodingDaysIndividualDrilldownResponseDataPointV3 & PrVelocityIndividualDrilldownResponseDataPointV3 & WorkCompletedIndividualDrilldownResponseDataPointV3>;
6
6
  metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
7
7
  }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Group of normalized emails that resolve to the same canonical email
3
+ */
4
+ export interface InternalAiSpendCollisionGroup {
5
+ /**
6
+ * List of input emails that resolved to this canonical email
7
+ * @example ["Alice@harness.io","alice@HARNESS.io"]
8
+ */
9
+ normalizedEmails?: string[];
10
+ /**
11
+ * Canonical resolved email address
12
+ * @example "alice@company.com"
13
+ */
14
+ resolvedEmail?: string;
15
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,25 @@
1
+ import type { InternalAiSpendSeriesPoint } from '../schemas/InternalAiSpendSeriesPoint';
2
+ /**
3
+ * Developer spend row for both total and series responses (groupable by email or tool)
4
+ */
5
+ export interface InternalAiSpendDeveloperRow {
6
+ /**
7
+ * Developer email (when grouped by email; null if grouped by tool)
8
+ * @example "Alice@harness.io"
9
+ */
10
+ email?: string;
11
+ /**
12
+ * Time series data points for this developer/tool (series response only)
13
+ */
14
+ points?: InternalAiSpendSeriesPoint[];
15
+ /**
16
+ * Tool/agent name (when grouped by tool; null if grouped by email)
17
+ * @example "claude"
18
+ */
19
+ tool?: string;
20
+ /**
21
+ * Total spend in dollars for this developer/tool (total response only)
22
+ * @example 123.45
23
+ */
24
+ totalSpendDollars?: number;
25
+ }
@@ -0,0 +1,14 @@
1
+ import type { InternalAiSpendCollisionGroup } from '../schemas/InternalAiSpendCollisionGroup';
2
+ /**
3
+ * Metadata about email resolution and collisions
4
+ */
5
+ export interface InternalAiSpendMetadata {
6
+ /**
7
+ * Groups of emails that collided (resolved to the same canonical email)
8
+ */
9
+ collisionGroups?: InternalAiSpendCollisionGroup[];
10
+ /**
11
+ * List of emails that could not be resolved
12
+ */
13
+ unresolvedEmails?: string[];
14
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Request for internal AI spend by email or tool - total aggregate
3
+ */
4
+ export interface InternalAiSpendRequest {
5
+ dateRangeValid?: boolean;
6
+ /**
7
+ * List of developer emails (optional if tool is provided). If null or empty, defaults to account-wide aggregation when tool is also provided
8
+ * @example ["alice@company.com","bob@company.com"]
9
+ */
10
+ emails?: string[];
11
+ /**
12
+ * End date (inclusive)
13
+ * @format date
14
+ * @example "2026-01-31"
15
+ */
16
+ endDate: string;
17
+ /**
18
+ * Tool/agent ID (optional). If provided, filters the spendByTool breakdown to return only this tool. Note: Different from 'tool' parameter - this filters breakdown results, not the main grouping mode
19
+ * @example "claude"
20
+ */
21
+ filterByTool?: string;
22
+ /**
23
+ * Start date (inclusive)
24
+ * @format date
25
+ * @example "2026-01-01"
26
+ */
27
+ startDate: string;
28
+ /**
29
+ * Tool/agent ID (optional). If provided, spend is grouped by tool instead of developer email
30
+ * @example "claude"
31
+ */
32
+ tool?: string;
33
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Time series point for spend
3
+ */
4
+ export interface InternalAiSpendSeriesPoint {
5
+ /**
6
+ * Date for this point
7
+ * @format date
8
+ * @example "2026-01-01"
9
+ */
10
+ date?: string;
11
+ /**
12
+ * Spend in dollars for this date
13
+ * @example 12.34
14
+ */
15
+ spendDollars?: number;
16
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Request for internal AI spend by email or tool - time series
3
+ */
4
+ export interface InternalAiSpendSeriesRequest {
5
+ dateRangeValid?: boolean;
6
+ /**
7
+ * List of developer emails (optional if tool is provided). If null or empty, defaults to account-wide aggregation when tool is also provided
8
+ * @example ["alice@company.com","bob@company.com"]
9
+ */
10
+ emails?: string[];
11
+ /**
12
+ * End date (inclusive)
13
+ * @format date
14
+ * @example "2026-01-31"
15
+ */
16
+ endDate: string;
17
+ /**
18
+ * Time series granularity
19
+ * @example "DAILY"
20
+ */
21
+ granularity: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
22
+ /**
23
+ * Start date (inclusive)
24
+ * @format date
25
+ * @example "2026-01-01"
26
+ */
27
+ startDate: string;
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 {};
@@ -0,0 +1,20 @@
1
+ import type { InternalAiSpendDeveloperRow } from '../schemas/InternalAiSpendDeveloperRow';
2
+ import type { InternalAiSpendMetadata } from '../schemas/InternalAiSpendMetadata';
3
+ import type { InternalAiSpendToolSeriesRow } from '../schemas/InternalAiSpendToolSeriesRow';
4
+ /**
5
+ * Response for time series spend by email
6
+ */
7
+ export interface InternalAiSpendSeriesResponse {
8
+ /**
9
+ * List of developers with their time series data
10
+ */
11
+ developers?: InternalAiSpendDeveloperRow[];
12
+ /**
13
+ * Metadata about email resolution
14
+ */
15
+ metadata?: InternalAiSpendMetadata;
16
+ /**
17
+ * Breakdown of spend time series by tool/agent
18
+ */
19
+ seriesByTool?: InternalAiSpendToolSeriesRow[];
20
+ }
@@ -0,0 +1,21 @@
1
+ import type { DeveloperToolSpend } from '../schemas/DeveloperToolSpend';
2
+ /**
3
+ * Tool/agent spend breakdown with optional per-developer details
4
+ */
5
+ export interface InternalAiSpendToolBreakdown {
6
+ /**
7
+ * Per-developer spend breakdown for this tool (when filtering by specific developers)
8
+ * @example [{"email":"alice@company.com","spend":80},{"email":"bob@company.com","spend":43.45}]
9
+ */
10
+ developersSpend?: DeveloperToolSpend[];
11
+ /**
12
+ * Total spend for this tool in USD
13
+ * @example 123.45
14
+ */
15
+ spendDollars?: number;
16
+ /**
17
+ * Tool/agent name
18
+ * @example "claude"
19
+ */
20
+ tool?: string;
21
+ }
@@ -0,0 +1,21 @@
1
+ import type { DeveloperToolSeries } from '../schemas/DeveloperToolSeries';
2
+ import type { InternalAiSpendSeriesPoint } from '../schemas/InternalAiSpendSeriesPoint';
3
+ /**
4
+ * Tool row with time series spend points and optional per-developer series
5
+ */
6
+ export interface InternalAiSpendToolSeriesRow {
7
+ /**
8
+ * Per-developer time series breakdown for this tool (when filtering by specific developers)
9
+ * @example "[{\"email\":\"alice@company.com\",\"points\":[...]},{\"email\":\"bob@company.com\",\"points\":[...]}]"
10
+ */
11
+ developersSeries?: DeveloperToolSeries[];
12
+ /**
13
+ * Total time series data points for this tool
14
+ */
15
+ points?: InternalAiSpendSeriesPoint[];
16
+ /**
17
+ * Tool/agent name
18
+ * @example "claude"
19
+ */
20
+ tool?: string;
21
+ }
@@ -0,0 +1,20 @@
1
+ import type { InternalAiSpendDeveloperRow } from '../schemas/InternalAiSpendDeveloperRow';
2
+ import type { InternalAiSpendMetadata } from '../schemas/InternalAiSpendMetadata';
3
+ import type { InternalAiSpendToolBreakdown } from '../schemas/InternalAiSpendToolBreakdown';
4
+ /**
5
+ * Response for total spend by email
6
+ */
7
+ export interface InternalAiSpendTotalResponse {
8
+ /**
9
+ * List of developers with their total spend
10
+ */
11
+ developers?: InternalAiSpendDeveloperRow[];
12
+ /**
13
+ * Metadata about email resolution
14
+ */
15
+ metadata?: InternalAiSpendMetadata;
16
+ /**
17
+ * Breakdown of spend by tool/agent
18
+ */
19
+ spendByTool?: InternalAiSpendToolBreakdown[];
20
+ }
@@ -18,4 +18,8 @@ export interface ItsmCustomFieldDto {
18
18
  * Record type indicating whether this field belongs to an Incident or Change Request
19
19
  */
20
20
  recordType?: 'CHANGE_REQUEST' | 'INCIDENT';
21
+ /**
22
+ * Source of the field in incident_field_value: 'attribute' (lives in the attributes JSON map) or 'custom_field' (lives in the custom_fields JSON map). Null when unknown.
23
+ */
24
+ source?: string;
21
25
  }
@@ -0,0 +1,11 @@
1
+ export interface PrCostEntry {
2
+ /**
3
+ * @format double
4
+ */
5
+ costDollars?: number;
6
+ /**
7
+ * @format int32
8
+ */
9
+ prNumber?: number;
10
+ repoId?: string;
11
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,7 @@
1
+ export interface PrRef {
2
+ /**
3
+ * @format int32
4
+ */
5
+ prNumber?: number;
6
+ repoId?: string;
7
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,13 @@
1
+ import type { PrRef } from '../schemas/PrRef';
2
+ export interface SharedCommitEntry {
3
+ commitSha?: string;
4
+ /**
5
+ * @format double
6
+ */
7
+ costDollars?: number;
8
+ /**
9
+ * @format int32
10
+ */
11
+ issueCount?: number;
12
+ presentInPrs?: PrRef[];
13
+ }
@@ -0,0 +1,11 @@
1
+ import type { AiImpactExplainability } from '../schemas/AiImpactExplainability';
2
+ import type { WorkItemLinkedPrDto } from '../schemas/WorkItemLinkedPrDto';
3
+ export interface WorkItemLinkedPrsResponse {
4
+ explainability?: AiImpactExplainability;
5
+ pullRequests?: WorkItemLinkedPrDto[];
6
+ /**
7
+ * @format double
8
+ */
9
+ workItemCostDollars?: number;
10
+ workItemId?: string;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.31.13",
3
+ "version": "0.31.15",
4
4
  "description": "Harness React sei panorama service client - SEI Panorama APIs integrated with react hooks for Panorama project",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",