@harnessio/react-sei-panorama-service-client 0.25.15 → 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.
- package/dist/sei-panorama-service/src/services/hooks/{useAiInsightsControllerGetPrVelocitySummaryMutation.d.ts → useAiInsightsControllerGetPrVelocitySummaryQuery.d.ts} +5 -5
- package/dist/sei-panorama-service/src/services/hooks/{useAiInsightsControllerGetPrVelocitySummaryMutation.js → useAiInsightsControllerGetPrVelocitySummaryQuery.js} +3 -3
- package/dist/sei-panorama-service/src/services/index.d.ts +2 -2
- package/dist/sei-panorama-service/src/services/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { AiprVelocitySummaryResponseDto } from '../schemas/AiprVelocitySummaryResponseDto';
|
|
3
3
|
import type { AiprVelocitySummaryRequestDto } from '../schemas/AiprVelocitySummaryRequestDto';
|
|
4
4
|
import type { ResponseWithPagination } from '../helpers';
|
|
5
5
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
-
export interface
|
|
6
|
+
export interface AiInsightsControllerGetPrVelocitySummaryQueryQueryParams {
|
|
7
7
|
projectIdentifier: string;
|
|
8
8
|
orgIdentifier: string;
|
|
9
9
|
}
|
|
10
10
|
export type AiInsightsControllerGetPrVelocitySummaryRequestBody = AiprVelocitySummaryRequestDto;
|
|
11
11
|
export type AiInsightsControllerGetPrVelocitySummaryOkResponse = ResponseWithPagination<AiprVelocitySummaryResponseDto>;
|
|
12
12
|
export type AiInsightsControllerGetPrVelocitySummaryErrorResponse = unknown;
|
|
13
|
-
export interface AiInsightsControllerGetPrVelocitySummaryProps extends Omit<FetcherOptions<
|
|
14
|
-
queryParams:
|
|
13
|
+
export interface AiInsightsControllerGetPrVelocitySummaryProps extends Omit<FetcherOptions<AiInsightsControllerGetPrVelocitySummaryQueryQueryParams, AiInsightsControllerGetPrVelocitySummaryRequestBody>, 'url'> {
|
|
14
|
+
queryParams: AiInsightsControllerGetPrVelocitySummaryQueryQueryParams;
|
|
15
15
|
body: AiInsightsControllerGetPrVelocitySummaryRequestBody;
|
|
16
16
|
}
|
|
17
17
|
export declare function aiInsightsControllerGetPrVelocitySummary(props: AiInsightsControllerGetPrVelocitySummaryProps): Promise<AiInsightsControllerGetPrVelocitySummaryOkResponse>;
|
|
18
18
|
/**
|
|
19
19
|
* Get AI PR Velocity correlation analytics
|
|
20
20
|
*/
|
|
21
|
-
export declare function
|
|
21
|
+
export declare function useAiInsightsControllerGetPrVelocitySummaryQuery(props: AiInsightsControllerGetPrVelocitySummaryProps, options?: Omit<UseQueryOptions<AiInsightsControllerGetPrVelocitySummaryOkResponse, AiInsightsControllerGetPrVelocitySummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiInsightsControllerGetPrVelocitySummaryOkResponse, unknown>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
3
|
// Please do not modify this code directly.
|
|
4
|
-
import {
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function aiInsightsControllerGetPrVelocitySummary(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/coding-assistant/pr-velocity/summary`, method: 'POST' }, props));
|
|
@@ -9,6 +9,6 @@ export function aiInsightsControllerGetPrVelocitySummary(props) {
|
|
|
9
9
|
/**
|
|
10
10
|
* Get AI PR Velocity correlation analytics
|
|
11
11
|
*/
|
|
12
|
-
export function
|
|
13
|
-
return
|
|
12
|
+
export function useAiInsightsControllerGetPrVelocitySummaryQuery(props, options) {
|
|
13
|
+
return useQuery(['AIInsightsControllerGetPRVelocitySummary', props.queryParams, props.body], ({ signal }) => aiInsightsControllerGetPrVelocitySummary(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -7,8 +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,
|
|
11
|
-
export { aiInsightsControllerGetPrVelocitySummary,
|
|
10
|
+
export type { AiInsightsControllerGetPrVelocitySummaryErrorResponse, AiInsightsControllerGetPrVelocitySummaryOkResponse, AiInsightsControllerGetPrVelocitySummaryProps, AiInsightsControllerGetPrVelocitySummaryQueryQueryParams, AiInsightsControllerGetPrVelocitySummaryRequestBody, } from './hooks/useAiInsightsControllerGetPrVelocitySummaryQuery';
|
|
11
|
+
export { aiInsightsControllerGetPrVelocitySummary, useAiInsightsControllerGetPrVelocitySummaryQuery, } from './hooks/useAiInsightsControllerGetPrVelocitySummaryQuery';
|
|
12
12
|
export type { AiInsightsControllerGetRawMetricsErrorResponse, AiInsightsControllerGetRawMetricsOkResponse, AiInsightsControllerGetRawMetricsProps, AiInsightsControllerGetRawMetricsQueryQueryParams, AiInsightsControllerGetRawMetricsRequestBody, } from './hooks/useAiInsightsControllerGetRawMetricsQuery';
|
|
13
13
|
export { aiInsightsControllerGetRawMetrics, useAiInsightsControllerGetRawMetricsQuery, } from './hooks/useAiInsightsControllerGetRawMetricsQuery';
|
|
14
14
|
export type { AiInsightsControllerGetTeamBreakdownErrorResponse, AiInsightsControllerGetTeamBreakdownOkResponse, AiInsightsControllerGetTeamBreakdownProps, AiInsightsControllerGetTeamBreakdownQueryQueryParams, AiInsightsControllerGetTeamBreakdownRequestBody, } from './hooks/useAiInsightsControllerGetTeamBreakdownQuery';
|
|
@@ -2,7 +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,
|
|
5
|
+
export { aiInsightsControllerGetPrVelocitySummary, useAiInsightsControllerGetPrVelocitySummaryQuery, } from './hooks/useAiInsightsControllerGetPrVelocitySummaryQuery';
|
|
6
6
|
export { aiInsightsControllerGetRawMetrics, useAiInsightsControllerGetRawMetricsQuery, } from './hooks/useAiInsightsControllerGetRawMetricsQuery';
|
|
7
7
|
export { aiInsightsControllerGetTeamBreakdown, useAiInsightsControllerGetTeamBreakdownQuery, } from './hooks/useAiInsightsControllerGetTeamBreakdownQuery';
|
|
8
8
|
export { aiInsightsControllerGetToolUsersSummary, useAiInsightsControllerGetToolUsersSummaryQuery, } from './hooks/useAiInsightsControllerGetToolUsersSummaryQuery';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.25.
|
|
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",
|