@harnessio/react-sei-panorama-service-client 0.25.14 → 0.25.16

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 (20) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetPrVelocitySummaryQuery.d.ts +21 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetPrVelocitySummaryQuery.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useDeveloperControllerUpsertDeveloperIdentitiesMutation.d.ts +1 -1
  4. package/dist/sei-panorama-service/src/services/index.d.ts +9 -0
  5. package/dist/sei-panorama-service/src/services/index.js +1 -0
  6. package/dist/sei-panorama-service/src/services/schemas/AiprVelocitySummaryRequestDto.d.ts +26 -0
  7. package/dist/sei-panorama-service/src/services/schemas/AiprVelocitySummaryRequestDto.js +4 -0
  8. package/dist/sei-panorama-service/src/services/schemas/AiprVelocitySummaryResponseDto.d.ts +39 -0
  9. package/dist/sei-panorama-service/src/services/schemas/AiprVelocitySummaryResponseDto.js +1 -0
  10. package/dist/sei-panorama-service/src/services/schemas/IntegrationPrVelocitySummary.d.ts +10 -0
  11. package/dist/sei-panorama-service/src/services/schemas/IntegrationPrVelocitySummary.js +1 -0
  12. package/dist/sei-panorama-service/src/services/schemas/OverallMetrics.d.ts +15 -0
  13. package/dist/sei-panorama-service/src/services/schemas/OverallMetrics.js +4 -0
  14. package/dist/sei-panorama-service/src/services/schemas/PrVelocitySummaryBreakdown.d.ts +31 -0
  15. package/dist/sei-panorama-service/src/services/schemas/PrVelocitySummaryBreakdown.js +1 -0
  16. package/dist/sei-panorama-service/src/services/schemas/PrVelocitySummaryMetrics.d.ts +25 -0
  17. package/dist/sei-panorama-service/src/services/schemas/PrVelocitySummaryMetrics.js +1 -0
  18. package/dist/sei-panorama-service/src/services/schemas/TrendDataPoint.d.ts +20 -0
  19. package/dist/sei-panorama-service/src/services/schemas/TrendDataPoint.js +4 -0
  20. package/package.json +1 -1
@@ -0,0 +1,21 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { AiprVelocitySummaryResponseDto } from '../schemas/AiprVelocitySummaryResponseDto';
3
+ import type { AiprVelocitySummaryRequestDto } from '../schemas/AiprVelocitySummaryRequestDto';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface AiInsightsControllerGetPrVelocitySummaryQueryQueryParams {
7
+ projectIdentifier: string;
8
+ orgIdentifier: string;
9
+ }
10
+ export type AiInsightsControllerGetPrVelocitySummaryRequestBody = AiprVelocitySummaryRequestDto;
11
+ export type AiInsightsControllerGetPrVelocitySummaryOkResponse = ResponseWithPagination<AiprVelocitySummaryResponseDto>;
12
+ export type AiInsightsControllerGetPrVelocitySummaryErrorResponse = unknown;
13
+ export interface AiInsightsControllerGetPrVelocitySummaryProps extends Omit<FetcherOptions<AiInsightsControllerGetPrVelocitySummaryQueryQueryParams, AiInsightsControllerGetPrVelocitySummaryRequestBody>, 'url'> {
14
+ queryParams: AiInsightsControllerGetPrVelocitySummaryQueryQueryParams;
15
+ body: AiInsightsControllerGetPrVelocitySummaryRequestBody;
16
+ }
17
+ export declare function aiInsightsControllerGetPrVelocitySummary(props: AiInsightsControllerGetPrVelocitySummaryProps): Promise<AiInsightsControllerGetPrVelocitySummaryOkResponse>;
18
+ /**
19
+ * Get AI PR Velocity correlation analytics
20
+ */
21
+ export declare function useAiInsightsControllerGetPrVelocitySummaryQuery(props: AiInsightsControllerGetPrVelocitySummaryProps, options?: Omit<UseQueryOptions<AiInsightsControllerGetPrVelocitySummaryOkResponse, AiInsightsControllerGetPrVelocitySummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiInsightsControllerGetPrVelocitySummaryOkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function aiInsightsControllerGetPrVelocitySummary(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/coding-assistant/pr-velocity/summary`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Get AI PR Velocity correlation analytics
11
+ */
12
+ export function useAiInsightsControllerGetPrVelocitySummaryQuery(props, options) {
13
+ return useQuery(['AIInsightsControllerGetPRVelocitySummary', props.queryParams, props.body], ({ signal }) => aiInsightsControllerGetPrVelocitySummary(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -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;
10
+ export type DeveloperControllerUpsertDeveloperIdentitiesErrorResponse = (DeveloperIdentityUpsertFailureResponse & ErrorResponse) | ErrorResponse;
11
11
  export interface DeveloperControllerUpsertDeveloperIdentitiesProps extends Omit<FetcherOptions<unknown, DeveloperControllerUpsertDeveloperIdentitiesRequestBody>, 'url'> {
12
12
  body: DeveloperControllerUpsertDeveloperIdentitiesRequestBody;
13
13
  }
@@ -7,6 +7,8 @@ export type { AiInsightsControllerGetAdoptionSummaryErrorResponse, AiInsightsCon
7
7
  export { aiInsightsControllerGetAdoptionSummary, useAiInsightsControllerGetAdoptionSummaryQuery, } from './hooks/useAiInsightsControllerGetAdoptionSummaryQuery';
8
8
  export type { AiInsightsControllerGetFeatureMetricsErrorResponse, AiInsightsControllerGetFeatureMetricsOkResponse, AiInsightsControllerGetFeatureMetricsProps, AiInsightsControllerGetFeatureMetricsQueryQueryParams, AiInsightsControllerGetFeatureMetricsRequestBody, } from './hooks/useAiInsightsControllerGetFeatureMetricsQuery';
9
9
  export { aiInsightsControllerGetFeatureMetrics, useAiInsightsControllerGetFeatureMetricsQuery, } from './hooks/useAiInsightsControllerGetFeatureMetricsQuery';
10
+ export type { AiInsightsControllerGetPrVelocitySummaryErrorResponse, AiInsightsControllerGetPrVelocitySummaryOkResponse, AiInsightsControllerGetPrVelocitySummaryProps, AiInsightsControllerGetPrVelocitySummaryQueryQueryParams, AiInsightsControllerGetPrVelocitySummaryRequestBody, } from './hooks/useAiInsightsControllerGetPrVelocitySummaryQuery';
11
+ export { aiInsightsControllerGetPrVelocitySummary, useAiInsightsControllerGetPrVelocitySummaryQuery, } from './hooks/useAiInsightsControllerGetPrVelocitySummaryQuery';
10
12
  export type { AiInsightsControllerGetRawMetricsErrorResponse, AiInsightsControllerGetRawMetricsOkResponse, AiInsightsControllerGetRawMetricsProps, AiInsightsControllerGetRawMetricsQueryQueryParams, AiInsightsControllerGetRawMetricsRequestBody, } from './hooks/useAiInsightsControllerGetRawMetricsQuery';
11
13
  export { aiInsightsControllerGetRawMetrics, useAiInsightsControllerGetRawMetricsQuery, } from './hooks/useAiInsightsControllerGetRawMetricsQuery';
12
14
  export type { AiInsightsControllerGetTeamBreakdownErrorResponse, AiInsightsControllerGetTeamBreakdownOkResponse, AiInsightsControllerGetTeamBreakdownProps, AiInsightsControllerGetTeamBreakdownQueryQueryParams, AiInsightsControllerGetTeamBreakdownRequestBody, } from './hooks/useAiInsightsControllerGetTeamBreakdownQuery';
@@ -391,6 +393,8 @@ export type { AiToolUsersSummaryRequestDto } from './schemas/AiToolUsersSummaryR
391
393
  export type { AiToolUsersSummaryResponseDto } from './schemas/AiToolUsersSummaryResponseDto';
392
394
  export type { AiTopLanguagesRequestDto } from './schemas/AiTopLanguagesRequestDto';
393
395
  export type { AiTopLanguagesResponseDto } from './schemas/AiTopLanguagesResponseDto';
396
+ export type { AiprVelocitySummaryRequestDto } from './schemas/AiprVelocitySummaryRequestDto';
397
+ export type { AiprVelocitySummaryResponseDto } from './schemas/AiprVelocitySummaryResponseDto';
394
398
  export type { ApiError } from './schemas/ApiError';
395
399
  export type { ApiErrorResponse } from './schemas/ApiErrorResponse';
396
400
  export type { ApiResponseWrapper } from './schemas/ApiResponseWrapper';
@@ -523,6 +527,7 @@ export type { IntegrationHealthDrillDownDto } from './schemas/IntegrationHealthD
523
527
  export type { IntegrationHealthStatusDto } from './schemas/IntegrationHealthStatusDto';
524
528
  export type { IntegrationIdsDto } from './schemas/IntegrationIdsDto';
525
529
  export type { IntegrationObject } from './schemas/IntegrationObject';
530
+ export type { IntegrationPrVelocitySummary } from './schemas/IntegrationPrVelocitySummary';
526
531
  export type { IntegrationResponseDto } from './schemas/IntegrationResponseDto';
527
532
  export type { IntegrationStatsDto } from './schemas/IntegrationStatsDto';
528
533
  export type { IntegrationSummary } from './schemas/IntegrationSummary';
@@ -569,6 +574,7 @@ export type { OrgTreeProfileDto } from './schemas/OrgTreeProfileDto';
569
574
  export type { OrgTreeResponseDto } from './schemas/OrgTreeResponseDto';
570
575
  export type { OrgTreeSearchParams } from './schemas/OrgTreeSearchParams';
571
576
  export type { OrgTreeUpdateRequestDto } from './schemas/OrgTreeUpdateRequestDto';
577
+ export type { OverallMetrics } from './schemas/OverallMetrics';
572
578
  export type { PaginatedResponseTeamSummary } from './schemas/PaginatedResponseTeamSummary';
573
579
  export type { PaginationInfo } from './schemas/PaginationInfo';
574
580
  export type { PaginationMetadata } from './schemas/PaginationMetadata';
@@ -585,6 +591,8 @@ export type { PrVelocityDrilldownResponseDataPoint } from './schemas/PrVelocityD
585
591
  export type { PrVelocityDrilldownResponseDataPointV3 } from './schemas/PrVelocityDrilldownResponseDataPointV3';
586
592
  export type { PrVelocityIndividualDrilldownResponseDataPoint } from './schemas/PrVelocityIndividualDrilldownResponseDataPoint';
587
593
  export type { PrVelocityIndividualDrilldownResponseDataPointV3 } from './schemas/PrVelocityIndividualDrilldownResponseDataPointV3';
594
+ export type { PrVelocitySummaryBreakdown } from './schemas/PrVelocitySummaryBreakdown';
595
+ export type { PrVelocitySummaryMetrics } from './schemas/PrVelocitySummaryMetrics';
588
596
  export type { PreviewTeamHierarchyResponseDto } from './schemas/PreviewTeamHierarchyResponseDto';
589
597
  export type { ProductivityContributorRequestDto } from './schemas/ProductivityContributorRequestDto';
590
598
  export type { ProductivityDataPoint } from './schemas/ProductivityDataPoint';
@@ -664,6 +672,7 @@ export type { TeamSummary } from './schemas/TeamSummary';
664
672
  export type { TeamsByAccessResponseDto } from './schemas/TeamsByAccessResponseDto';
665
673
  export type { ToolSummary } from './schemas/ToolSummary';
666
674
  export type { TotalStatisticCount } from './schemas/TotalStatisticCount';
675
+ export type { TrendDataPoint } from './schemas/TrendDataPoint';
667
676
  export type { UserMetrics } from './schemas/UserMetrics';
668
677
  export type { ValidationError } from './schemas/ValidationError';
669
678
  export type { VersionReleaseRequest } from './schemas/VersionReleaseRequest';
@@ -2,6 +2,7 @@ export { aiInsightsControllerGetAdoptionBreakdown, useAiInsightsControllerGetAdo
2
2
  export { aiInsightsControllerGetAdoptionMetrics, useAiInsightsControllerGetAdoptionMetricsQuery, } from './hooks/useAiInsightsControllerGetAdoptionMetricsQuery';
3
3
  export { aiInsightsControllerGetAdoptionSummary, useAiInsightsControllerGetAdoptionSummaryQuery, } from './hooks/useAiInsightsControllerGetAdoptionSummaryQuery';
4
4
  export { aiInsightsControllerGetFeatureMetrics, useAiInsightsControllerGetFeatureMetricsQuery, } from './hooks/useAiInsightsControllerGetFeatureMetricsQuery';
5
+ export { aiInsightsControllerGetPrVelocitySummary, useAiInsightsControllerGetPrVelocitySummaryQuery, } from './hooks/useAiInsightsControllerGetPrVelocitySummaryQuery';
5
6
  export { aiInsightsControllerGetRawMetrics, useAiInsightsControllerGetRawMetricsQuery, } from './hooks/useAiInsightsControllerGetRawMetricsQuery';
6
7
  export { aiInsightsControllerGetTeamBreakdown, useAiInsightsControllerGetTeamBreakdownQuery, } from './hooks/useAiInsightsControllerGetTeamBreakdownQuery';
7
8
  export { aiInsightsControllerGetToolUsersSummary, useAiInsightsControllerGetToolUsersSummaryQuery, } from './hooks/useAiInsightsControllerGetToolUsersSummaryQuery';
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Request for AI PR Velocity summary analytics
3
+ */
4
+ export interface AiprVelocitySummaryRequestDto {
5
+ /**
6
+ * End date of the analysis period
7
+ * @format date-time
8
+ */
9
+ endDate: string;
10
+ /**
11
+ * List of integration types
12
+ */
13
+ integrationType: Array<'all_assistants' | 'cursor' | 'windsurf'>;
14
+ singleIntegration?: boolean;
15
+ singleIntegrationType?: 'all_assistants' | 'cursor' | 'windsurf';
16
+ /**
17
+ * Start date of the analysis period
18
+ * @format date-time
19
+ */
20
+ startDate: string;
21
+ /**
22
+ * Team reference ID
23
+ * @format int32
24
+ */
25
+ teamRefId: number;
26
+ }
@@ -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,39 @@
1
+ import type { PrVelocitySummaryBreakdown } from '../schemas/PrVelocitySummaryBreakdown';
2
+ import type { OverallMetrics } from '../schemas/OverallMetrics';
3
+ /**
4
+ * AI PR Velocity summary analytics response
5
+ */
6
+ export interface AiprVelocitySummaryResponseDto {
7
+ /**
8
+ * Breakdown by AI tool usage categories
9
+ */
10
+ breakdown?: PrVelocitySummaryBreakdown;
11
+ /**
12
+ * End date of the analysis period
13
+ * @format date-time
14
+ */
15
+ endDate?: string;
16
+ /**
17
+ * Integration types analyzed
18
+ */
19
+ integrationType?: Array<'all_assistants' | 'cursor' | 'windsurf'>;
20
+ /**
21
+ * Overall team PR velocity metrics
22
+ */
23
+ overall?: OverallMetrics;
24
+ /**
25
+ * Start date of the analysis period
26
+ * @format date-time
27
+ */
28
+ startDate?: string;
29
+ /**
30
+ * Team reference ID
31
+ * @format int32
32
+ */
33
+ teamRefId?: number;
34
+ /**
35
+ * Total developers in the team
36
+ * @format int32
37
+ */
38
+ totalDevelopers?: number;
39
+ }
@@ -0,0 +1,10 @@
1
+ import type { PrVelocitySummaryMetrics } from '../schemas/PrVelocitySummaryMetrics';
2
+ /**
3
+ * Integration-specific PR velocity summary
4
+ */
5
+ export interface IntegrationPrVelocitySummary {
6
+ /**
7
+ * Active users metrics
8
+ */
9
+ active?: PrVelocitySummaryMetrics;
10
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Overall PR velocity metrics
3
+ */
4
+ export interface OverallMetrics {
5
+ /**
6
+ * Average PR velocity per developer
7
+ * @format double
8
+ */
9
+ prVelocityPerDeveloper?: number;
10
+ /**
11
+ * Trend percentage
12
+ * @format double
13
+ */
14
+ trendPercentage?: 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 {};
@@ -0,0 +1,31 @@
1
+ import type { PrVelocitySummaryMetrics } from '../schemas/PrVelocitySummaryMetrics';
2
+ import type { IntegrationPrVelocitySummary } from '../schemas/IntegrationPrVelocitySummary';
3
+ /**
4
+ * Breakdown by AI tool usage categories
5
+ */
6
+ export interface PrVelocitySummaryBreakdown {
7
+ /**
8
+ * Active users metrics (single integration)
9
+ */
10
+ active?: PrVelocitySummaryMetrics;
11
+ /**
12
+ * Combined active users metrics (multiple integration)
13
+ */
14
+ combined?: IntegrationPrVelocitySummary;
15
+ /**
16
+ * Cursor integration metrics (multiple integration)
17
+ */
18
+ cursor?: IntegrationPrVelocitySummary;
19
+ /**
20
+ * Inactive users metrics (single integration)
21
+ */
22
+ inactive?: PrVelocitySummaryMetrics;
23
+ /**
24
+ * Unassigned users metrics
25
+ */
26
+ unassigned?: PrVelocitySummaryMetrics;
27
+ /**
28
+ * Windsurf integration metrics (multiple integration)
29
+ */
30
+ windsurf?: IntegrationPrVelocitySummary;
31
+ }
@@ -0,0 +1,25 @@
1
+ import type { TrendDataPoint } from '../schemas/TrendDataPoint';
2
+ /**
3
+ * PR velocity metrics for a category
4
+ */
5
+ export interface PrVelocitySummaryMetrics {
6
+ /**
7
+ * Number of developers
8
+ * @format int32
9
+ */
10
+ developerCount?: number;
11
+ /**
12
+ * Average PR velocity per developer
13
+ * @format double
14
+ */
15
+ prVelocityPerDeveloper?: number;
16
+ /**
17
+ * Trend data points with time series
18
+ */
19
+ trendData?: TrendDataPoint[];
20
+ /**
21
+ * Trend percentage
22
+ * @format double
23
+ */
24
+ trendPercentage?: number;
25
+ }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Trend data point
3
+ */
4
+ export interface TrendDataPoint {
5
+ /**
6
+ * End date of the period
7
+ * @format date-time
8
+ */
9
+ endDate?: string;
10
+ /**
11
+ * PR velocity per developer for this period
12
+ * @format double
13
+ */
14
+ prVelocityPerDeveloper?: number;
15
+ /**
16
+ * Start date of the period
17
+ * @format date-time
18
+ */
19
+ startDate?: string;
20
+ }
@@ -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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.25.14",
3
+ "version": "0.25.16",
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",