@harnessio/react-sei-panorama-service-client 0.31.14 → 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 (35) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useAiEngineeringControllerGetWorkItemLinkedPrsQuery.d.ts +2 -2
  2. package/dist/sei-panorama-service/src/services/hooks/useInternalAiEngineeringControllerGetSpendSeriesMutation.d.ts +21 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useInternalAiEngineeringControllerGetSpendSeriesMutation.js +14 -0
  4. package/dist/sei-panorama-service/src/services/hooks/useInternalAiEngineeringControllerGetSpendTotalMutation.d.ts +21 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useInternalAiEngineeringControllerGetSpendTotalMutation.js +14 -0
  6. package/dist/sei-panorama-service/src/services/index.d.ts +16 -0
  7. package/dist/sei-panorama-service/src/services/index.js +2 -0
  8. package/dist/sei-panorama-service/src/services/schemas/DeveloperToolSeries.d.ts +15 -0
  9. package/dist/sei-panorama-service/src/services/schemas/DeveloperToolSeries.js +1 -0
  10. package/dist/sei-panorama-service/src/services/schemas/DeveloperToolSpend.d.ts +15 -0
  11. package/dist/sei-panorama-service/src/services/schemas/DeveloperToolSpend.js +4 -0
  12. package/dist/sei-panorama-service/src/services/schemas/EfficiencyRequest.d.ts +1 -1
  13. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendCollisionGroup.d.ts +15 -0
  14. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendCollisionGroup.js +4 -0
  15. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendDeveloperRow.d.ts +25 -0
  16. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendDeveloperRow.js +1 -0
  17. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendMetadata.d.ts +14 -0
  18. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendMetadata.js +1 -0
  19. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendRequest.d.ts +33 -0
  20. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendRequest.js +4 -0
  21. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendSeriesPoint.d.ts +16 -0
  22. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendSeriesPoint.js +4 -0
  23. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendSeriesRequest.d.ts +28 -0
  24. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendSeriesRequest.js +4 -0
  25. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendSeriesResponse.d.ts +20 -0
  26. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendSeriesResponse.js +1 -0
  27. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendToolBreakdown.d.ts +21 -0
  28. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendToolBreakdown.js +1 -0
  29. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendToolSeriesRow.d.ts +21 -0
  30. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendToolSeriesRow.js +1 -0
  31. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendTotalResponse.d.ts +20 -0
  32. package/dist/sei-panorama-service/src/services/schemas/InternalAiSpendTotalResponse.js +1 -0
  33. package/dist/sei-panorama-service/src/services/schemas/ItsmCustomFieldDto.d.ts +4 -0
  34. package/dist/sei-panorama-service/src/services/schemas/SharedCommitEntry.d.ts +4 -0
  35. package/package.json +1 -1
@@ -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
  */
@@ -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';
@@ -830,6 +834,8 @@ export type { DeveloperReuploadResponseDto } from './schemas/DeveloperReuploadRe
830
834
  export type { DeveloperSaveResponseDto } from './schemas/DeveloperSaveResponseDto';
831
835
  export type { DeveloperSchemaDto } from './schemas/DeveloperSchemaDto';
832
836
  export type { DeveloperSearchParams } from './schemas/DeveloperSearchParams';
837
+ export type { DeveloperToolSeries } from './schemas/DeveloperToolSeries';
838
+ export type { DeveloperToolSpend } from './schemas/DeveloperToolSpend';
833
839
  export type { DeveloperUpsertResponseDto } from './schemas/DeveloperUpsertResponseDto';
834
840
  export type { DeveloperValidationErrorDto } from './schemas/DeveloperValidationErrorDto';
835
841
  export type { DeveloperVersionActivationDto } from './schemas/DeveloperVersionActivationDto';
@@ -942,6 +948,16 @@ export type { IntegrationSummary } from './schemas/IntegrationSummary';
942
948
  export type { IntegrationUser } from './schemas/IntegrationUser';
943
949
  export type { IntegrationUserInfo } from './schemas/IntegrationUserInfo';
944
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';
945
961
  export type { IssueRequest } from './schemas/IssueRequest';
946
962
  export type { IssueTimeInStatusExportRequestDto } from './schemas/IssueTimeInStatusExportRequestDto';
947
963
  export type { IssueTimeInStatusExportResponseDto } from './schemas/IssueTimeInStatusExportResponseDto';
@@ -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,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 {};
@@ -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
  }
@@ -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
  }
@@ -5,5 +5,9 @@ export interface SharedCommitEntry {
5
5
  * @format double
6
6
  */
7
7
  costDollars?: number;
8
+ /**
9
+ * @format int32
10
+ */
11
+ issueCount?: number;
8
12
  presentInPrs?: PrRef[];
9
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.31.14",
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",