@harnessio/react-sei-panorama-service-client 0.24.2 → 0.24.4

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 (38) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetFeatureMetricsQuery.d.ts +22 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetFeatureMetricsQuery.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTeamAdoptionQuery.d.ts +22 -0
  4. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTeamAdoptionQuery.js +14 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTopLanguagesQuery.d.ts +22 -0
  6. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTopLanguagesQuery.js +14 -0
  7. package/dist/sei-panorama-service/src/services/index.d.ts +13 -0
  8. package/dist/sei-panorama-service/src/services/index.js +3 -0
  9. package/dist/sei-panorama-service/src/services/schemas/AiFeatureDataPoint.d.ts +14 -0
  10. package/dist/sei-panorama-service/src/services/schemas/AiFeatureDataPoint.js +4 -0
  11. package/dist/sei-panorama-service/src/services/schemas/AiFeatureDataResponseDto.d.ts +22 -0
  12. package/dist/sei-panorama-service/src/services/schemas/AiFeatureDataResponseDto.js +1 -0
  13. package/dist/sei-panorama-service/src/services/schemas/AiInsightsRequestDto.d.ts +16 -0
  14. package/dist/sei-panorama-service/src/services/schemas/AiInsightsRequestDto.js +4 -0
  15. package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionResponseDto.d.ts +20 -0
  16. package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionResponseDto.js +1 -0
  17. package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionUserDto.d.ts +29 -0
  18. package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionUserDto.js +4 -0
  19. package/dist/sei-panorama-service/src/services/schemas/AiTopLanguagesResponseDto.d.ts +12 -0
  20. package/dist/sei-panorama-service/src/services/schemas/AiTopLanguagesResponseDto.js +1 -0
  21. package/dist/sei-panorama-service/src/services/schemas/DoraLeadTimePrDrilldownRequest.d.ts +1 -1
  22. package/dist/sei-panorama-service/src/services/schemas/DoraMetricDrilldownRequest.d.ts +1 -1
  23. package/dist/sei-panorama-service/src/services/schemas/DrilldownData.d.ts +1 -1
  24. package/dist/sei-panorama-service/src/services/schemas/DrilldownDataPoint.d.ts +1 -1
  25. package/dist/sei-panorama-service/src/services/schemas/DrilldownDataPointV3.d.ts +1 -1
  26. package/dist/sei-panorama-service/src/services/schemas/DrilldownDataV3.d.ts +1 -1
  27. package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownData.d.ts +1 -1
  28. package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownDataPoint.d.ts +1 -1
  29. package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownDataPointV3.d.ts +1 -1
  30. package/dist/sei-panorama-service/src/services/schemas/IndividualDrilldownDataV3.d.ts +1 -1
  31. package/dist/sei-panorama-service/src/services/schemas/LanguageCount.d.ts +7 -0
  32. package/dist/sei-panorama-service/src/services/schemas/LanguageCount.js +4 -0
  33. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureRequestDto.d.ts +2 -2
  34. package/dist/sei-panorama-service/src/services/schemas/ProductivityFeatureResponseDto.d.ts +1 -1
  35. package/dist/sei-panorama-service/src/services/schemas/ProductivityV3FeatureRequestDto.d.ts +2 -2
  36. package/dist/sei-panorama-service/src/services/schemas/TeamFilter.d.ts +1 -1
  37. package/dist/sei-panorama-service/src/services/schemas/TeamInsightConfigDto.d.ts +1 -1
  38. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { AiFeatureDataResponseDto } from '../schemas/AiFeatureDataResponseDto';
3
+ import type { AiInsightsRequestDto } from '../schemas/AiInsightsRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface AiInsightsControllerGetFeatureMetricsQueryQueryParams {
7
+ account: string;
8
+ projectIdentifier: string;
9
+ orgIdentifier: string;
10
+ }
11
+ export type AiInsightsControllerGetFeatureMetricsRequestBody = AiInsightsRequestDto;
12
+ export type AiInsightsControllerGetFeatureMetricsOkResponse = ResponseWithPagination<AiFeatureDataResponseDto>;
13
+ export type AiInsightsControllerGetFeatureMetricsErrorResponse = string;
14
+ export interface AiInsightsControllerGetFeatureMetricsProps extends Omit<FetcherOptions<AiInsightsControllerGetFeatureMetricsQueryQueryParams, AiInsightsControllerGetFeatureMetricsRequestBody>, 'url'> {
15
+ queryParams: AiInsightsControllerGetFeatureMetricsQueryQueryParams;
16
+ body: AiInsightsControllerGetFeatureMetricsRequestBody;
17
+ }
18
+ export declare function aiInsightsControllerGetFeatureMetrics(props: AiInsightsControllerGetFeatureMetricsProps): Promise<AiInsightsControllerGetFeatureMetricsOkResponse>;
19
+ /**
20
+ * Retrieves feature metrics for various AI insights with current and previous period comparisons.
21
+ */
22
+ export declare function useAiInsightsControllerGetFeatureMetricsQuery(props: AiInsightsControllerGetFeatureMetricsProps, options?: Omit<UseQueryOptions<AiInsightsControllerGetFeatureMetricsOkResponse, AiInsightsControllerGetFeatureMetricsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiInsightsControllerGetFeatureMetricsOkResponse, string>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiInsightsControllerGetFeatureMetrics(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ai/feature_metrics`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Retrieves feature metrics for various AI insights with current and previous period comparisons.
11
+ */
12
+ export function useAiInsightsControllerGetFeatureMetricsQuery(props, options) {
13
+ return useQuery(['AIInsightsControllerGetFeatureMetrics', props.queryParams, props.body], ({ signal }) => aiInsightsControllerGetFeatureMetrics(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { AiTeamAdoptionResponseDto } from '../schemas/AiTeamAdoptionResponseDto';
3
+ import type { AiInsightsRequestDto } from '../schemas/AiInsightsRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface AiInsightsControllerGetTeamAdoptionQueryQueryParams {
7
+ account: string;
8
+ projectIdentifier: string;
9
+ orgIdentifier: string;
10
+ }
11
+ export type AiInsightsControllerGetTeamAdoptionRequestBody = AiInsightsRequestDto;
12
+ export type AiInsightsControllerGetTeamAdoptionOkResponse = ResponseWithPagination<AiTeamAdoptionResponseDto>;
13
+ export type AiInsightsControllerGetTeamAdoptionErrorResponse = string;
14
+ export interface AiInsightsControllerGetTeamAdoptionProps extends Omit<FetcherOptions<AiInsightsControllerGetTeamAdoptionQueryQueryParams, AiInsightsControllerGetTeamAdoptionRequestBody>, 'url'> {
15
+ queryParams: AiInsightsControllerGetTeamAdoptionQueryQueryParams;
16
+ body: AiInsightsControllerGetTeamAdoptionRequestBody;
17
+ }
18
+ export declare function aiInsightsControllerGetTeamAdoption(props: AiInsightsControllerGetTeamAdoptionProps): Promise<AiInsightsControllerGetTeamAdoptionOkResponse>;
19
+ /**
20
+ * Retrieves team member adoption data with user details in table format.
21
+ */
22
+ export declare function useAiInsightsControllerGetTeamAdoptionQuery(props: AiInsightsControllerGetTeamAdoptionProps, options?: Omit<UseQueryOptions<AiInsightsControllerGetTeamAdoptionOkResponse, AiInsightsControllerGetTeamAdoptionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiInsightsControllerGetTeamAdoptionOkResponse, string>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiInsightsControllerGetTeamAdoption(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ai/team_adoption`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Retrieves team member adoption data with user details in table format.
11
+ */
12
+ export function useAiInsightsControllerGetTeamAdoptionQuery(props, options) {
13
+ return useQuery(['AIInsightsControllerGetTeamAdoption', props.queryParams, props.body], ({ signal }) => aiInsightsControllerGetTeamAdoption(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,22 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { AiTopLanguagesResponseDto } from '../schemas/AiTopLanguagesResponseDto';
3
+ import type { AiInsightsRequestDto } from '../schemas/AiInsightsRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface AiInsightsControllerGetTopLanguagesQueryQueryParams {
7
+ account: string;
8
+ projectIdentifier: string;
9
+ orgIdentifier: string;
10
+ }
11
+ export type AiInsightsControllerGetTopLanguagesRequestBody = AiInsightsRequestDto;
12
+ export type AiInsightsControllerGetTopLanguagesOkResponse = ResponseWithPagination<AiTopLanguagesResponseDto>;
13
+ export type AiInsightsControllerGetTopLanguagesErrorResponse = string;
14
+ export interface AiInsightsControllerGetTopLanguagesProps extends Omit<FetcherOptions<AiInsightsControllerGetTopLanguagesQueryQueryParams, AiInsightsControllerGetTopLanguagesRequestBody>, 'url'> {
15
+ queryParams: AiInsightsControllerGetTopLanguagesQueryQueryParams;
16
+ body: AiInsightsControllerGetTopLanguagesRequestBody;
17
+ }
18
+ export declare function aiInsightsControllerGetTopLanguages(props: AiInsightsControllerGetTopLanguagesProps): Promise<AiInsightsControllerGetTopLanguagesOkResponse>;
19
+ /**
20
+ * Retrieves top programming languages with their usage counts.
21
+ */
22
+ export declare function useAiInsightsControllerGetTopLanguagesQuery(props: AiInsightsControllerGetTopLanguagesProps, options?: Omit<UseQueryOptions<AiInsightsControllerGetTopLanguagesOkResponse, AiInsightsControllerGetTopLanguagesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiInsightsControllerGetTopLanguagesOkResponse, string>;
@@ -0,0 +1,14 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ import { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiInsightsControllerGetTopLanguages(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ai/top_languages`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Retrieves top programming languages with their usage counts.
11
+ */
12
+ export function useAiInsightsControllerGetTopLanguagesQuery(props, options) {
13
+ return useQuery(['AIInsightsControllerGetTopLanguages', props.queryParams, props.body], ({ signal }) => aiInsightsControllerGetTopLanguages(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -1,4 +1,10 @@
1
1
  export type { GetPathParamsType, ResponseWithPagination } from './helpers';
2
+ export type { AiInsightsControllerGetFeatureMetricsErrorResponse, AiInsightsControllerGetFeatureMetricsOkResponse, AiInsightsControllerGetFeatureMetricsProps, AiInsightsControllerGetFeatureMetricsQueryQueryParams, AiInsightsControllerGetFeatureMetricsRequestBody, } from './hooks/useAiInsightsControllerGetFeatureMetricsQuery';
3
+ export { aiInsightsControllerGetFeatureMetrics, useAiInsightsControllerGetFeatureMetricsQuery, } from './hooks/useAiInsightsControllerGetFeatureMetricsQuery';
4
+ export type { AiInsightsControllerGetTeamAdoptionErrorResponse, AiInsightsControllerGetTeamAdoptionOkResponse, AiInsightsControllerGetTeamAdoptionProps, AiInsightsControllerGetTeamAdoptionQueryQueryParams, AiInsightsControllerGetTeamAdoptionRequestBody, } from './hooks/useAiInsightsControllerGetTeamAdoptionQuery';
5
+ export { aiInsightsControllerGetTeamAdoption, useAiInsightsControllerGetTeamAdoptionQuery, } from './hooks/useAiInsightsControllerGetTeamAdoptionQuery';
6
+ export type { AiInsightsControllerGetTopLanguagesErrorResponse, AiInsightsControllerGetTopLanguagesOkResponse, AiInsightsControllerGetTopLanguagesProps, AiInsightsControllerGetTopLanguagesQueryQueryParams, AiInsightsControllerGetTopLanguagesRequestBody, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
7
+ export { aiInsightsControllerGetTopLanguages, useAiInsightsControllerGetTopLanguagesQuery, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
2
8
  export type { AsyncExportControllerDownloadExportErrorResponse, AsyncExportControllerDownloadExportOkResponse, AsyncExportControllerDownloadExportProps, AsyncExportControllerDownloadExportQueryPathParams, AsyncExportControllerDownloadExportQueryQueryParams, } from './hooks/useAsyncExportControllerDownloadExportQuery';
3
9
  export { asyncExportControllerDownloadExport, useAsyncExportControllerDownloadExportQuery, } from './hooks/useAsyncExportControllerDownloadExportQuery';
4
10
  export type { AsyncExportControllerGetJobStatusErrorResponse, AsyncExportControllerGetJobStatusOkResponse, AsyncExportControllerGetJobStatusProps, AsyncExportControllerGetJobStatusQueryPathParams, AsyncExportControllerGetJobStatusQueryQueryParams, } from './hooks/useAsyncExportControllerGetJobStatusQuery';
@@ -339,6 +345,12 @@ export type { TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamM
339
345
  export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
340
346
  export type { AccessResponseDto } from './schemas/AccessResponseDto';
341
347
  export type { ActivityDataDto } from './schemas/ActivityDataDto';
348
+ export type { AiFeatureDataPoint } from './schemas/AiFeatureDataPoint';
349
+ export type { AiFeatureDataResponseDto } from './schemas/AiFeatureDataResponseDto';
350
+ export type { AiInsightsRequestDto } from './schemas/AiInsightsRequestDto';
351
+ export type { AiTeamAdoptionResponseDto } from './schemas/AiTeamAdoptionResponseDto';
352
+ export type { AiTeamAdoptionUserDto } from './schemas/AiTeamAdoptionUserDto';
353
+ export type { AiTopLanguagesResponseDto } from './schemas/AiTopLanguagesResponseDto';
342
354
  export type { ApiErrorResponse } from './schemas/ApiErrorResponse';
343
355
  export type { ApiResponseWrapper } from './schemas/ApiResponseWrapper';
344
356
  export type { AssociateDevelopersRequestDto } from './schemas/AssociateDevelopersRequestDto';
@@ -479,6 +491,7 @@ export type { IssuesPipelineExecutionResponseWrapper } from './schemas/IssuesPip
479
491
  export type { IssuesPrResponse } from './schemas/IssuesPrResponse';
480
492
  export type { IssuesPrResponseWrapper } from './schemas/IssuesPrResponseWrapper';
481
493
  export type { JsonNode } from './schemas/JsonNode';
494
+ export type { LanguageCount } from './schemas/LanguageCount';
482
495
  export type { LicenseSearchParams } from './schemas/LicenseSearchParams';
483
496
  export type { ListResponseDto } from './schemas/ListResponseDto';
484
497
  export type { ListResponseDtoDeveloperIdentity } from './schemas/ListResponseDtoDeveloperIdentity';
@@ -1,3 +1,6 @@
1
+ export { aiInsightsControllerGetFeatureMetrics, useAiInsightsControllerGetFeatureMetricsQuery, } from './hooks/useAiInsightsControllerGetFeatureMetricsQuery';
2
+ export { aiInsightsControllerGetTeamAdoption, useAiInsightsControllerGetTeamAdoptionQuery, } from './hooks/useAiInsightsControllerGetTeamAdoptionQuery';
3
+ export { aiInsightsControllerGetTopLanguages, useAiInsightsControllerGetTopLanguagesQuery, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
1
4
  export { asyncExportControllerDownloadExport, useAsyncExportControllerDownloadExportQuery, } from './hooks/useAsyncExportControllerDownloadExportQuery';
2
5
  export { asyncExportControllerGetJobStatus, useAsyncExportControllerGetJobStatusQuery, } from './hooks/useAsyncExportControllerGetJobStatusQuery';
3
6
  export { asyncExportControllerInitiateExport, useAsyncExportControllerInitiateExportMutation, } from './hooks/useAsyncExportControllerInitiateExportMutation';
@@ -0,0 +1,14 @@
1
+ export interface AiFeatureDataPoint {
2
+ /**
3
+ * @format date-time
4
+ */
5
+ endDate?: string;
6
+ /**
7
+ * @format date-time
8
+ */
9
+ startDate?: string;
10
+ /**
11
+ * @format double
12
+ */
13
+ value?: number;
14
+ }
@@ -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,22 @@
1
+ import type { AiFeatureDataPoint } from '../schemas/AiFeatureDataPoint';
2
+ export interface AiFeatureDataResponseDto {
3
+ currentPeriodData?: AiFeatureDataPoint[];
4
+ /**
5
+ * @format double
6
+ */
7
+ currentPeriodTotal?: number;
8
+ /**
9
+ * @format date-time
10
+ */
11
+ endDate?: string;
12
+ metricType?: 'acceptanceRate' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'dailyActiveUsers' | 'netLinesAddedPerContributor' | 'tokensUsedPer1kLinesOfCodeEdits';
13
+ previousPeriodData?: AiFeatureDataPoint[];
14
+ /**
15
+ * @format double
16
+ */
17
+ previousPeriodTotal?: number;
18
+ /**
19
+ * @format date-time
20
+ */
21
+ startDate?: string;
22
+ }
@@ -0,0 +1,16 @@
1
+ export interface AiInsightsRequestDto {
2
+ /**
3
+ * @format date-time
4
+ */
5
+ endDate?: string;
6
+ granularity?: string;
7
+ metricType?: 'acceptanceRate' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'dailyActiveUsers' | 'netLinesAddedPerContributor' | 'tokensUsedPer1kLinesOfCodeEdits';
8
+ /**
9
+ * @format date-time
10
+ */
11
+ startDate?: string;
12
+ /**
13
+ * @format int32
14
+ */
15
+ teamRefId?: 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,20 @@
1
+ import type { AiTeamAdoptionUserDto } from '../schemas/AiTeamAdoptionUserDto';
2
+ export interface AiTeamAdoptionResponseDto {
3
+ /**
4
+ * @format date-time
5
+ */
6
+ endDate?: string;
7
+ /**
8
+ * @format date-time
9
+ */
10
+ startDate?: string;
11
+ /**
12
+ * @format double
13
+ */
14
+ teamAdoptionPercentage?: number;
15
+ /**
16
+ * @format int32
17
+ */
18
+ totalUsers?: number;
19
+ users?: AiTeamAdoptionUserDto[];
20
+ }
@@ -0,0 +1,29 @@
1
+ export interface AiTeamAdoptionUserDto {
2
+ /**
3
+ * @format double
4
+ */
5
+ acceptPercent?: number;
6
+ /**
7
+ * @format double
8
+ */
9
+ lineAcceptPercent?: number;
10
+ /**
11
+ * @format int64
12
+ */
13
+ linesAccepted?: number;
14
+ /**
15
+ * @format int64
16
+ */
17
+ linesSuggested?: number;
18
+ primaryLanguage?: string;
19
+ /**
20
+ * @format int32
21
+ */
22
+ rank?: number;
23
+ /**
24
+ * @format int64
25
+ */
26
+ totalAccepts?: number;
27
+ trend?: string;
28
+ userEmail?: string;
29
+ }
@@ -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,12 @@
1
+ import type { LanguageCount } from '../schemas/LanguageCount';
2
+ export interface AiTopLanguagesResponseDto {
3
+ /**
4
+ * @format date-time
5
+ */
6
+ endDate?: string;
7
+ languages?: LanguageCount[];
8
+ /**
9
+ * @format date-time
10
+ */
11
+ startDate?: string;
12
+ }
@@ -2,6 +2,6 @@ import type { PaginationRequest } from '../schemas/PaginationRequest';
2
2
  export interface DoraLeadTimePrDrilldownRequest {
3
3
  pagination?: PaginationRequest;
4
4
  prId: string;
5
- sortBy?: 'AVG_TIME_TO_MERGE' | 'CODING_DAYS' | 'COMMITS' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
5
+ sortBy?: 'AVG_TIME_TO_MERGE' | 'CODE_REWORK_ADDITION' | 'CODE_REWORK_DELETION' | 'CODE_REWORK_MODIFICATION' | 'CODE_REWORK_PERCENTAGE_LEGACY_REWORK' | 'CODE_REWORK_PERCENTAGE_RECENT_REWORK' | 'CODE_REWORK_PERCENTAGE_TOTAL_REWORK' | 'CODE_REWORK_TOTAL_LOC' | 'CODING_DAYS' | 'COMMITS' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
6
6
  sortByCriteria?: 'ASC' | 'DESC';
7
7
  }
@@ -11,6 +11,6 @@ export interface DoraMetricDrilldownRequest {
11
11
  dateStart: string;
12
12
  pagination?: PaginationRequest;
13
13
  prId?: string;
14
- sortBy?: 'AVG_TIME_TO_MERGE' | 'CODING_DAYS' | 'COMMITS' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
14
+ sortBy?: 'AVG_TIME_TO_MERGE' | 'CODE_REWORK_ADDITION' | 'CODE_REWORK_DELETION' | 'CODE_REWORK_MODIFICATION' | 'CODE_REWORK_PERCENTAGE_LEGACY_REWORK' | 'CODE_REWORK_PERCENTAGE_RECENT_REWORK' | 'CODE_REWORK_PERCENTAGE_TOTAL_REWORK' | 'CODE_REWORK_TOTAL_LOC' | 'CODING_DAYS' | 'COMMITS' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
15
15
  sortByCriteria?: 'ASC' | 'DESC';
16
16
  }
@@ -3,5 +3,5 @@ import type { PrVelocityDrilldownResponseDataPoint } from '../schemas/PrVelocity
3
3
  import type { WorkCompletedDrilldownResponseDataPoint } from '../schemas/WorkCompletedDrilldownResponseDataPoint';
4
4
  export interface DrilldownData {
5
5
  drilldownDataPoints?: Array<PrCycleTimeDrilldownResponseDataPoint & PrVelocityDrilldownResponseDataPoint & WorkCompletedDrilldownResponseDataPoint>;
6
- metricType?: 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
6
+ metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
7
7
  }
@@ -1,4 +1,4 @@
1
1
  export interface DrilldownDataPoint {
2
- metricType?: 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
2
+ metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
3
3
  type: string;
4
4
  }
@@ -1,4 +1,4 @@
1
1
  export interface DrilldownDataPointV3 {
2
- metricType?: 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
2
+ metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
3
3
  type: string;
4
4
  }
@@ -4,5 +4,5 @@ import type { PrVelocityDrilldownResponseDataPointV3 } from '../schemas/PrVeloci
4
4
  import type { WorkCompletedDrilldownResponseDataPointV3 } from '../schemas/WorkCompletedDrilldownResponseDataPointV3';
5
5
  export interface DrilldownDataV3 {
6
6
  drilldownDataPoints?: Array<CodingDaysDrilldownResponseDataPointV3 & PrCycleTimeDrilldownResponseDataPointV3 & PrVelocityDrilldownResponseDataPointV3 & WorkCompletedDrilldownResponseDataPointV3>;
7
- metricType?: 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
7
+ metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
8
8
  }
@@ -2,5 +2,5 @@ import type { PrVelocityIndividualDrilldownResponseDataPoint } from '../schemas/
2
2
  import type { WorkCompletedIndividualDrilldownResponseDataPoint } from '../schemas/WorkCompletedIndividualDrilldownResponseDataPoint';
3
3
  export interface IndividualDrilldownData {
4
4
  individualDrilldownDataPoints?: Array<PrVelocityIndividualDrilldownResponseDataPoint & WorkCompletedIndividualDrilldownResponseDataPoint>;
5
- metricType?: 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
5
+ metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
6
6
  }
@@ -1,4 +1,4 @@
1
1
  export interface IndividualDrilldownDataPoint {
2
- metricType?: 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
2
+ metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
3
3
  type: string;
4
4
  }
@@ -1,4 +1,4 @@
1
1
  export interface IndividualDrilldownDataPointV3 {
2
- metricType?: 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
2
+ metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
3
3
  type: string;
4
4
  }
@@ -3,5 +3,5 @@ import type { PrVelocityIndividualDrilldownResponseDataPointV3 } from '../schema
3
3
  import type { WorkCompletedIndividualDrilldownResponseDataPointV3 } from '../schemas/WorkCompletedIndividualDrilldownResponseDataPointV3';
4
4
  export interface IndividualDrilldownDataV3 {
5
5
  individualDrilldownDataPoints?: Array<CodingDaysIndividualDrilldownResponseDataPointV3 & PrVelocityIndividualDrilldownResponseDataPointV3 & WorkCompletedIndividualDrilldownResponseDataPointV3>;
6
- metricType?: 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
6
+ metricType?: 'CODE_REWORK' | 'CODING_DAYS' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
7
7
  }
@@ -0,0 +1,7 @@
1
+ export interface LanguageCount {
2
+ /**
3
+ * @format int64
4
+ */
5
+ count?: number;
6
+ language?: 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 {};
@@ -9,7 +9,7 @@ export interface ProductivityFeatureRequestDto {
9
9
  */
10
10
  endDate?: string;
11
11
  featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODE_REWORK' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
12
- granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
12
+ granularity?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
13
13
  /**
14
14
  * @format int32
15
15
  */
@@ -18,7 +18,7 @@ export interface ProductivityFeatureRequestDto {
18
18
  * @format int32
19
19
  */
20
20
  page_size?: number;
21
- sortBy?: 'AVG_TIME_TO_MERGE' | 'CODING_DAYS' | 'COMMITS' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
21
+ sortBy?: 'AVG_TIME_TO_MERGE' | 'CODE_REWORK_ADDITION' | 'CODE_REWORK_DELETION' | 'CODE_REWORK_MODIFICATION' | 'CODE_REWORK_PERCENTAGE_LEGACY_REWORK' | 'CODE_REWORK_PERCENTAGE_RECENT_REWORK' | 'CODE_REWORK_PERCENTAGE_TOTAL_REWORK' | 'CODE_REWORK_TOTAL_LOC' | 'CODING_DAYS' | 'COMMITS' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
22
22
  sortByCriteria?: 'ASC' | 'DESC';
23
23
  stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
24
24
  /**
@@ -7,7 +7,7 @@ export interface ProductivityFeatureResponseDto {
7
7
  */
8
8
  endDate?: string;
9
9
  featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODE_REWORK' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
10
- granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
10
+ granularity?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
11
11
  previousData?: ProductivityDataPoint;
12
12
  section?: 'COLLABORATION' | 'OUTPUT' | 'VOLUME';
13
13
  stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
@@ -6,7 +6,7 @@ export interface ProductivityV3FeatureRequestDto {
6
6
  */
7
7
  endDate?: string;
8
8
  featureType?: 'AVG_TIME_TO_FIRST_COMMENT' | 'CODE_REWORK' | 'CODING_DAYS' | 'LINES_OF_CODE' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
9
- granularity?: 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
9
+ granularity?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
10
10
  /**
11
11
  * @format int32
12
12
  */
@@ -15,7 +15,7 @@ export interface ProductivityV3FeatureRequestDto {
15
15
  * @format int32
16
16
  */
17
17
  page_size?: number;
18
- sortBy?: 'AVG_TIME_TO_MERGE' | 'CODING_DAYS' | 'COMMITS' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
18
+ sortBy?: 'AVG_TIME_TO_MERGE' | 'CODE_REWORK_ADDITION' | 'CODE_REWORK_DELETION' | 'CODE_REWORK_MODIFICATION' | 'CODE_REWORK_PERCENTAGE_LEGACY_REWORK' | 'CODE_REWORK_PERCENTAGE_RECENT_REWORK' | 'CODE_REWORK_PERCENTAGE_TOTAL_REWORK' | 'CODE_REWORK_TOTAL_LOC' | 'CODING_DAYS' | 'COMMITS' | 'COMMITTED_AT' | 'COMMIT_AUTHOR' | 'CONTRIBUTORS' | 'NUMBER_OF_PRS' | 'NUMER_OF_WORKITEMS' | 'PR_CREATED_AT' | 'PR_CYCLE_TIME_AUTHOR' | 'PR_CYCLE_TIME_CREATED_AT' | 'PR_CYCLE_TIME_MERGED_AT' | 'PR_CYCLE_TIME_PR_NUMBER' | 'PR_CYCLE_TIME_REPOSITORY' | 'PR_CYCLE_TIME_TITLE' | 'PR_CYCLE_TIME_TOTAL_LINE_CHANGES' | 'PR_CYCLE_TOTAL_TIME' | 'PR_MERGED_AT' | 'PR_NUMBER' | 'TOTAL_CODE_CHANGES' | 'TOTAL_LEADTIME' | 'WORKITEM_CLOSED_AT' | 'WORKITEM_CREATED_AT' | 'WORKITEM_ID' | 'WORKITEM_TIME_TO_COMPLETE';
19
19
  sortByCriteria?: 'ASC' | 'DESC';
20
20
  stackBy?: 'ALL_WORK_ISSUE_CATEGORIES' | 'BUGS_PRIORITY' | 'CODE_AGE' | 'FEATURES_TICKET_SIZE' | 'OTHERS_ISSUE_TYPE' | 'PR_SIZE' | 'PR_STAGES' | 'WORK_TYPE';
21
21
  /**
@@ -4,7 +4,7 @@ export interface TeamFilter {
4
4
  [key: string]: any;
5
5
  };
6
6
  };
7
- applicableMetrics?: Array<'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED'>;
7
+ applicableMetrics?: Array<'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'WORK_COMPLETED'>;
8
8
  customFilterId?: string;
9
9
  customFilterKey?: string;
10
10
  filterKey?: 'CODE_AREA' | 'COMPONENTS' | 'CUSTOM' | 'DEPLOYMENT_TYPE' | 'ENV_ID' | 'INFRA_ID' | 'ISSUE_PRIORITY' | 'ISSUE_STATUS' | 'ISSUE_TYPE' | 'LABEL' | 'LABELS' | 'ORGANIZATION' | 'PARENT_KEY' | 'PIPELINE_NAME' | 'PIPELINE_STATUS' | 'PRIORITY' | 'PROJECT' | 'REPO' | 'ROLLBACK' | 'SERVICE_NAME' | 'SOURCE_BRANCH' | 'SPRINT_NAME' | 'STAGE_NAME' | 'STATUS' | 'TAGS' | 'TARGET_BRANCH' | 'TEAM';
@@ -4,5 +4,5 @@ export interface TeamInsightConfigDto {
4
4
  [key: string]: any;
5
5
  };
6
6
  };
7
- insightFeature?: 'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'WORK_COMPLETED';
7
+ insightFeature?: 'AVG_TIME_TO_FIRST_COMMENT' | 'BA' | 'CFR' | 'CODING_DAYS' | 'DF' | 'LINES_OF_CODE' | 'LTTC' | 'MTTR' | 'NUMBER_OF_COMMENTS_PER_PR' | 'PR_CYCLE_TIME' | 'PR_VELOCITY' | 'SPRINT_INSIGHTS' | 'WORK_COMPLETED';
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.24.2",
3
+ "version": "0.24.4",
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",