@harnessio/react-sei-panorama-service-client 0.24.5 → 0.25.1
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/useAiInsightsControllerGetDailyActiveUsersDrilldownQuery.d.ts +22 -0
- package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/{useAiSummaryControllerGenerateSummaryMutation.d.ts → useAiSummaryControllerGenerateSummaryQuery.d.ts} +5 -5
- package/dist/sei-panorama-service/src/services/hooks/{useAiSummaryControllerGenerateSummaryMutation.js → useAiSummaryControllerGenerateSummaryQuery.js} +3 -3
- package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerCreateProfileMutation.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerCreateProfileMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerDeleteProfileMutation.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerDeleteProfileMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerGetProfileQuery.d.ts +19 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerGetProfileQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerListProfilesQuery.d.ts +31 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerListProfilesQuery.js +14 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerUpdateProfileMutation.d.ts +23 -0
- package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerUpdateProfileMutation.js +14 -0
- package/dist/sei-panorama-service/src/services/index.d.ts +23 -2
- package/dist/sei-panorama-service/src/services/index.js +7 -1
- package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownRequestDto.d.ts +34 -0
- package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownRequestDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownResponseDto.d.ts +59 -0
- package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownOptions.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownOptions.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoSecurityProfileResponseDto.d.ts +28 -0
- package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoSecurityProfileResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityProfileCreateRequestDto.d.ts +8 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityProfileCreateRequestDto.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityProfileResponseDto.d.ts +28 -0
- package/dist/sei-panorama-service/src/services/schemas/SecurityProfileResponseDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownDataDto.d.ts +17 -0
- package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownDataDto.js +1 -0
- package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownOptions.d.ts +12 -0
- package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownOptions.js +4 -0
- package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownUserDto.d.ts +60 -0
- package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownUserDto.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AiDailyActiveUsersDrilldownResponseDto } from '../schemas/AiDailyActiveUsersDrilldownResponseDto';
|
|
3
|
+
import type { AiDailyActiveUsersDrilldownRequestDto } from '../schemas/AiDailyActiveUsersDrilldownRequestDto';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface AiInsightsControllerGetDailyActiveUsersDrilldownQueryQueryParams {
|
|
7
|
+
account: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
orgIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type AiInsightsControllerGetDailyActiveUsersDrilldownRequestBody = AiDailyActiveUsersDrilldownRequestDto;
|
|
12
|
+
export type AiInsightsControllerGetDailyActiveUsersDrilldownOkResponse = ResponseWithPagination<AiDailyActiveUsersDrilldownResponseDto>;
|
|
13
|
+
export type AiInsightsControllerGetDailyActiveUsersDrilldownErrorResponse = string;
|
|
14
|
+
export interface AiInsightsControllerGetDailyActiveUsersDrilldownProps extends Omit<FetcherOptions<AiInsightsControllerGetDailyActiveUsersDrilldownQueryQueryParams, AiInsightsControllerGetDailyActiveUsersDrilldownRequestBody>, 'url'> {
|
|
15
|
+
queryParams: AiInsightsControllerGetDailyActiveUsersDrilldownQueryQueryParams;
|
|
16
|
+
body: AiInsightsControllerGetDailyActiveUsersDrilldownRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function aiInsightsControllerGetDailyActiveUsersDrilldown(props: AiInsightsControllerGetDailyActiveUsersDrilldownProps): Promise<AiInsightsControllerGetDailyActiveUsersDrilldownOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves detailed user-level data for daily active users with pagination and sorting support. Supports both Windsurf and Cursor integrations through tool-specific request options.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useAiInsightsControllerGetDailyActiveUsersDrilldownQuery(props: AiInsightsControllerGetDailyActiveUsersDrilldownProps, options?: Omit<UseQueryOptions<AiInsightsControllerGetDailyActiveUsersDrilldownOkResponse, AiInsightsControllerGetDailyActiveUsersDrilldownErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiInsightsControllerGetDailyActiveUsersDrilldownOkResponse, 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 aiInsightsControllerGetDailyActiveUsersDrilldown(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/insights/ai/daily_active_users/drilldown`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves detailed user-level data for daily active users with pagination and sorting support. Supports both Windsurf and Cursor integrations through tool-specific request options.
|
|
11
|
+
*/
|
|
12
|
+
export function useAiInsightsControllerGetDailyActiveUsersDrilldownQuery(props, options) {
|
|
13
|
+
return useQuery(['AIInsightsControllerGetDailyActiveUsersDrilldown', props.queryParams, props.body], ({ signal }) => aiInsightsControllerGetDailyActiveUsersDrilldown(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { AiSummaryResponseDto } from '../schemas/AiSummaryResponseDto';
|
|
3
3
|
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
4
4
|
import type { AiSummaryRequestDto } from '../schemas/AiSummaryRequestDto';
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
-
export interface
|
|
7
|
+
export interface AiSummaryControllerGenerateSummaryQueryQueryParams {
|
|
8
8
|
account: string;
|
|
9
9
|
projectIdentifier: string;
|
|
10
10
|
orgIdentifier: string;
|
|
@@ -12,12 +12,12 @@ export interface AiSummaryControllerGenerateSummaryMutationQueryParams {
|
|
|
12
12
|
export type AiSummaryControllerGenerateSummaryRequestBody = AiSummaryRequestDto;
|
|
13
13
|
export type AiSummaryControllerGenerateSummaryOkResponse = ResponseWithPagination<AiSummaryResponseDto>;
|
|
14
14
|
export type AiSummaryControllerGenerateSummaryErrorResponse = ErrorResponse;
|
|
15
|
-
export interface AiSummaryControllerGenerateSummaryProps extends Omit<FetcherOptions<
|
|
16
|
-
queryParams:
|
|
15
|
+
export interface AiSummaryControllerGenerateSummaryProps extends Omit<FetcherOptions<AiSummaryControllerGenerateSummaryQueryQueryParams, AiSummaryControllerGenerateSummaryRequestBody>, 'url'> {
|
|
16
|
+
queryParams: AiSummaryControllerGenerateSummaryQueryQueryParams;
|
|
17
17
|
body: AiSummaryControllerGenerateSummaryRequestBody;
|
|
18
18
|
}
|
|
19
19
|
export declare function aiSummaryControllerGenerateSummary(props: AiSummaryControllerGenerateSummaryProps): Promise<AiSummaryControllerGenerateSummaryOkResponse>;
|
|
20
20
|
/**
|
|
21
21
|
* Generate an AI-powered summary with insights, root cause analysis, and actionable recommendations based on team metrics for the specified category (Efficiency, Productivity, Business Alignment, or Sprint Insights).
|
|
22
22
|
*/
|
|
23
|
-
export declare function
|
|
23
|
+
export declare function useAiSummaryControllerGenerateSummaryQuery(props: AiSummaryControllerGenerateSummaryProps, options?: Omit<UseQueryOptions<AiSummaryControllerGenerateSummaryOkResponse, AiSummaryControllerGenerateSummaryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiSummaryControllerGenerateSummaryOkResponse, ErrorResponse>;
|
|
@@ -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 aiSummaryControllerGenerateSummary(props) {
|
|
7
7
|
return fetcher(Object.assign({ url: `/v2/insights/ai-summary`, method: 'POST' }, props));
|
|
@@ -9,6 +9,6 @@ export function aiSummaryControllerGenerateSummary(props) {
|
|
|
9
9
|
/**
|
|
10
10
|
* Generate an AI-powered summary with insights, root cause analysis, and actionable recommendations based on team metrics for the specified category (Efficiency, Productivity, Business Alignment, or Sprint Insights).
|
|
11
11
|
*/
|
|
12
|
-
export function
|
|
13
|
-
return
|
|
12
|
+
export function useAiSummaryControllerGenerateSummaryQuery(props, options) {
|
|
13
|
+
return useQuery(['AISummaryControllerGenerateSummary', props.queryParams, props.body], ({ signal }) => aiSummaryControllerGenerateSummary(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SecurityProfileResponseDto } from '../schemas/SecurityProfileResponseDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
4
|
+
import type { SecurityProfileCreateRequestDto } from '../schemas/SecurityProfileCreateRequestDto';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export type SecurityProfileControllerCreateProfileRequestBody = SecurityProfileCreateRequestDto;
|
|
8
|
+
export type SecurityProfileControllerCreateProfileOkResponse = ResponseWithPagination<SecurityProfileResponseDto>;
|
|
9
|
+
export type SecurityProfileControllerCreateProfileErrorResponse = ErrorResponse;
|
|
10
|
+
export interface SecurityProfileControllerCreateProfileProps extends Omit<FetcherOptions<unknown, SecurityProfileControllerCreateProfileRequestBody>, 'url'> {
|
|
11
|
+
body: SecurityProfileControllerCreateProfileRequestBody;
|
|
12
|
+
}
|
|
13
|
+
export declare function securityProfileControllerCreateProfile(props: SecurityProfileControllerCreateProfileProps): Promise<SecurityProfileControllerCreateProfileOkResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* Creates a new security profile for the given account. Profile names must be unique per account.
|
|
16
|
+
*/
|
|
17
|
+
export declare function useSecurityProfileControllerCreateProfileMutation(options?: Omit<UseMutationOptions<SecurityProfileControllerCreateProfileOkResponse, SecurityProfileControllerCreateProfileErrorResponse, SecurityProfileControllerCreateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SecurityProfileControllerCreateProfileOkResponse, ErrorResponse, SecurityProfileControllerCreateProfileProps, 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 securityProfileControllerCreateProfile(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/security`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Creates a new security profile for the given account. Profile names must be unique per account.
|
|
11
|
+
*/
|
|
12
|
+
export function useSecurityProfileControllerCreateProfileMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => securityProfileControllerCreateProfile(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface SecurityProfileControllerDeleteProfileMutationPathParams {
|
|
6
|
+
/**
|
|
7
|
+
* @format int32
|
|
8
|
+
*/
|
|
9
|
+
refId: number;
|
|
10
|
+
}
|
|
11
|
+
export type SecurityProfileControllerDeleteProfileOkResponse = ResponseWithPagination<unknown>;
|
|
12
|
+
export type SecurityProfileControllerDeleteProfileErrorResponse = ErrorResponse;
|
|
13
|
+
export interface SecurityProfileControllerDeleteProfileProps extends SecurityProfileControllerDeleteProfileMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function securityProfileControllerDeleteProfile(props: SecurityProfileControllerDeleteProfileProps): Promise<SecurityProfileControllerDeleteProfileOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Marks the specified security profile as inactive. Note: Security profiles that are linked to org trees cannot be deleted. You must first unlink the profile from all org trees before deletion.
|
|
18
|
+
*/
|
|
19
|
+
export declare function useSecurityProfileControllerDeleteProfileMutation(options?: Omit<UseMutationOptions<SecurityProfileControllerDeleteProfileOkResponse, SecurityProfileControllerDeleteProfileErrorResponse, SecurityProfileControllerDeleteProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SecurityProfileControllerDeleteProfileOkResponse, ErrorResponse, SecurityProfileControllerDeleteProfileProps, 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 securityProfileControllerDeleteProfile(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/security/${props.refId}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Marks the specified security profile as inactive. Note: Security profiles that are linked to org trees cannot be deleted. You must first unlink the profile from all org trees before deletion.
|
|
11
|
+
*/
|
|
12
|
+
export function useSecurityProfileControllerDeleteProfileMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => securityProfileControllerDeleteProfile(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SecurityProfileResponseDto } from '../schemas/SecurityProfileResponseDto';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface SecurityProfileControllerGetProfileQueryPathParams {
|
|
6
|
+
/**
|
|
7
|
+
* @format int32
|
|
8
|
+
*/
|
|
9
|
+
refId: number;
|
|
10
|
+
}
|
|
11
|
+
export type SecurityProfileControllerGetProfileOkResponse = ResponseWithPagination<SecurityProfileResponseDto>;
|
|
12
|
+
export type SecurityProfileControllerGetProfileErrorResponse = unknown;
|
|
13
|
+
export interface SecurityProfileControllerGetProfileProps extends SecurityProfileControllerGetProfileQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
14
|
+
}
|
|
15
|
+
export declare function securityProfileControllerGetProfile(props: SecurityProfileControllerGetProfileProps): Promise<SecurityProfileControllerGetProfileOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Retrieve a specific security profile by its reference ID
|
|
18
|
+
*/
|
|
19
|
+
export declare function useSecurityProfileControllerGetProfileQuery(props: SecurityProfileControllerGetProfileProps, options?: Omit<UseQueryOptions<SecurityProfileControllerGetProfileOkResponse, SecurityProfileControllerGetProfileErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityProfileControllerGetProfileOkResponse, unknown>;
|
package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerGetProfileQuery.js
ADDED
|
@@ -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 securityProfileControllerGetProfile(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/security/${props.refId}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve a specific security profile by its reference ID
|
|
11
|
+
*/
|
|
12
|
+
export function useSecurityProfileControllerGetProfileQuery(props, options) {
|
|
13
|
+
return useQuery(['SecurityProfileControllerGetProfile', props.refId], ({ signal }) => securityProfileControllerGetProfile(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ListResponseDtoSecurityProfileResponseDto } from '../schemas/ListResponseDtoSecurityProfileResponseDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface SecurityProfileControllerListProfilesQueryQueryParams {
|
|
7
|
+
/**
|
|
8
|
+
* @format int32
|
|
9
|
+
* @default 0
|
|
10
|
+
*/
|
|
11
|
+
pageIndex?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @format int32
|
|
14
|
+
* @default 50
|
|
15
|
+
*/
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
searchKey?: 'name';
|
|
18
|
+
searchValue?: string;
|
|
19
|
+
sortKey?: 'createdAt' | 'name' | 'updatedAt' | 'updatedBy';
|
|
20
|
+
sortOrder?: 'asc' | 'desc';
|
|
21
|
+
}
|
|
22
|
+
export type SecurityProfileControllerListProfilesOkResponse = ResponseWithPagination<ListResponseDtoSecurityProfileResponseDto>;
|
|
23
|
+
export type SecurityProfileControllerListProfilesErrorResponse = ErrorResponse;
|
|
24
|
+
export interface SecurityProfileControllerListProfilesProps extends Omit<FetcherOptions<SecurityProfileControllerListProfilesQueryQueryParams, unknown>, 'url'> {
|
|
25
|
+
queryParams: SecurityProfileControllerListProfilesQueryQueryParams;
|
|
26
|
+
}
|
|
27
|
+
export declare function securityProfileControllerListProfiles(props: SecurityProfileControllerListProfilesProps): Promise<SecurityProfileControllerListProfilesOkResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* Retrieve a list of security profiles with optional search and sorting
|
|
30
|
+
*/
|
|
31
|
+
export declare function useSecurityProfileControllerListProfilesQuery(props: SecurityProfileControllerListProfilesProps, options?: Omit<UseQueryOptions<SecurityProfileControllerListProfilesOkResponse, SecurityProfileControllerListProfilesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityProfileControllerListProfilesOkResponse, ErrorResponse>;
|
|
@@ -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 securityProfileControllerListProfiles(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/security`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve a list of security profiles with optional search and sorting
|
|
11
|
+
*/
|
|
12
|
+
export function useSecurityProfileControllerListProfilesQuery(props, options) {
|
|
13
|
+
return useQuery(['SecurityProfileControllerListProfiles', props.queryParams], ({ signal }) => securityProfileControllerListProfiles(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SecurityProfileResponseDto } from '../schemas/SecurityProfileResponseDto';
|
|
3
|
+
import type { ErrorResponse } from '../schemas/ErrorResponse';
|
|
4
|
+
import type { SecurityProfileCreateRequestDto } from '../schemas/SecurityProfileCreateRequestDto';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface SecurityProfileControllerUpdateProfileMutationPathParams {
|
|
8
|
+
/**
|
|
9
|
+
* @format int32
|
|
10
|
+
*/
|
|
11
|
+
refId: number;
|
|
12
|
+
}
|
|
13
|
+
export type SecurityProfileControllerUpdateProfileRequestBody = SecurityProfileCreateRequestDto;
|
|
14
|
+
export type SecurityProfileControllerUpdateProfileOkResponse = ResponseWithPagination<SecurityProfileResponseDto>;
|
|
15
|
+
export type SecurityProfileControllerUpdateProfileErrorResponse = ErrorResponse;
|
|
16
|
+
export interface SecurityProfileControllerUpdateProfileProps extends SecurityProfileControllerUpdateProfileMutationPathParams, Omit<FetcherOptions<unknown, SecurityProfileControllerUpdateProfileRequestBody>, 'url'> {
|
|
17
|
+
body: SecurityProfileControllerUpdateProfileRequestBody;
|
|
18
|
+
}
|
|
19
|
+
export declare function securityProfileControllerUpdateProfile(props: SecurityProfileControllerUpdateProfileProps): Promise<SecurityProfileControllerUpdateProfileOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Updates an existing security profile by reference ID
|
|
22
|
+
*/
|
|
23
|
+
export declare function useSecurityProfileControllerUpdateProfileMutation(options?: Omit<UseMutationOptions<SecurityProfileControllerUpdateProfileOkResponse, SecurityProfileControllerUpdateProfileErrorResponse, SecurityProfileControllerUpdateProfileProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SecurityProfileControllerUpdateProfileOkResponse, ErrorResponse, SecurityProfileControllerUpdateProfileProps, 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 securityProfileControllerUpdateProfile(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v2/profiles/security/${props.refId}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Updates an existing security profile by reference ID
|
|
11
|
+
*/
|
|
12
|
+
export function useSecurityProfileControllerUpdateProfileMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => securityProfileControllerUpdateProfile(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
export type { GetPathParamsType, ResponseWithPagination } from './helpers';
|
|
2
|
+
export type { AiInsightsControllerGetDailyActiveUsersDrilldownErrorResponse, AiInsightsControllerGetDailyActiveUsersDrilldownOkResponse, AiInsightsControllerGetDailyActiveUsersDrilldownProps, AiInsightsControllerGetDailyActiveUsersDrilldownQueryQueryParams, AiInsightsControllerGetDailyActiveUsersDrilldownRequestBody, } from './hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownQuery';
|
|
3
|
+
export { aiInsightsControllerGetDailyActiveUsersDrilldown, useAiInsightsControllerGetDailyActiveUsersDrilldownQuery, } from './hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownQuery';
|
|
2
4
|
export type { AiInsightsControllerGetFeatureMetricsErrorResponse, AiInsightsControllerGetFeatureMetricsOkResponse, AiInsightsControllerGetFeatureMetricsProps, AiInsightsControllerGetFeatureMetricsQueryQueryParams, AiInsightsControllerGetFeatureMetricsRequestBody, } from './hooks/useAiInsightsControllerGetFeatureMetricsQuery';
|
|
3
5
|
export { aiInsightsControllerGetFeatureMetrics, useAiInsightsControllerGetFeatureMetricsQuery, } from './hooks/useAiInsightsControllerGetFeatureMetricsQuery';
|
|
4
6
|
export type { AiInsightsControllerGetTeamAdoptionErrorResponse, AiInsightsControllerGetTeamAdoptionOkResponse, AiInsightsControllerGetTeamAdoptionProps, AiInsightsControllerGetTeamAdoptionQueryQueryParams, AiInsightsControllerGetTeamAdoptionRequestBody, } from './hooks/useAiInsightsControllerGetTeamAdoptionQuery';
|
|
5
7
|
export { aiInsightsControllerGetTeamAdoption, useAiInsightsControllerGetTeamAdoptionQuery, } from './hooks/useAiInsightsControllerGetTeamAdoptionQuery';
|
|
6
8
|
export type { AiInsightsControllerGetTopLanguagesErrorResponse, AiInsightsControllerGetTopLanguagesOkResponse, AiInsightsControllerGetTopLanguagesProps, AiInsightsControllerGetTopLanguagesQueryQueryParams, AiInsightsControllerGetTopLanguagesRequestBody, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
|
|
7
9
|
export { aiInsightsControllerGetTopLanguages, useAiInsightsControllerGetTopLanguagesQuery, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
|
|
8
|
-
export type { AiSummaryControllerGenerateSummaryErrorResponse,
|
|
9
|
-
export { aiSummaryControllerGenerateSummary,
|
|
10
|
+
export type { AiSummaryControllerGenerateSummaryErrorResponse, AiSummaryControllerGenerateSummaryOkResponse, AiSummaryControllerGenerateSummaryProps, AiSummaryControllerGenerateSummaryQueryQueryParams, AiSummaryControllerGenerateSummaryRequestBody, } from './hooks/useAiSummaryControllerGenerateSummaryQuery';
|
|
11
|
+
export { aiSummaryControllerGenerateSummary, useAiSummaryControllerGenerateSummaryQuery, } from './hooks/useAiSummaryControllerGenerateSummaryQuery';
|
|
10
12
|
export type { AsyncExportControllerDownloadExportErrorResponse, AsyncExportControllerDownloadExportOkResponse, AsyncExportControllerDownloadExportProps, AsyncExportControllerDownloadExportQueryPathParams, AsyncExportControllerDownloadExportQueryQueryParams, } from './hooks/useAsyncExportControllerDownloadExportQuery';
|
|
11
13
|
export { asyncExportControllerDownloadExport, useAsyncExportControllerDownloadExportQuery, } from './hooks/useAsyncExportControllerDownloadExportQuery';
|
|
12
14
|
export type { AsyncExportControllerGetJobStatusErrorResponse, AsyncExportControllerGetJobStatusOkResponse, AsyncExportControllerGetJobStatusProps, AsyncExportControllerGetJobStatusQueryPathParams, AsyncExportControllerGetJobStatusQueryQueryParams, } from './hooks/useAsyncExportControllerGetJobStatusQuery';
|
|
@@ -307,6 +309,16 @@ export type { ScmGaControllerGetBuildInfoFromPrErrorResponse, ScmGaControllerGet
|
|
|
307
309
|
export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
|
|
308
310
|
export type { ScmGaControllerGetDeployInfoFromPrErrorResponse, ScmGaControllerGetDeployInfoFromPrOkResponse, ScmGaControllerGetDeployInfoFromPrProps, ScmGaControllerGetDeployInfoFromPrQueryQueryParams, ScmGaControllerGetDeployInfoFromPrRequestBody, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
|
|
309
311
|
export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
|
|
312
|
+
export type { SecurityProfileControllerCreateProfileErrorResponse, SecurityProfileControllerCreateProfileOkResponse, SecurityProfileControllerCreateProfileProps, SecurityProfileControllerCreateProfileRequestBody, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
|
|
313
|
+
export { securityProfileControllerCreateProfile, useSecurityProfileControllerCreateProfileMutation, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
|
|
314
|
+
export type { SecurityProfileControllerDeleteProfileErrorResponse, SecurityProfileControllerDeleteProfileMutationPathParams, SecurityProfileControllerDeleteProfileOkResponse, SecurityProfileControllerDeleteProfileProps, } from './hooks/useSecurityProfileControllerDeleteProfileMutation';
|
|
315
|
+
export { securityProfileControllerDeleteProfile, useSecurityProfileControllerDeleteProfileMutation, } from './hooks/useSecurityProfileControllerDeleteProfileMutation';
|
|
316
|
+
export type { SecurityProfileControllerGetProfileErrorResponse, SecurityProfileControllerGetProfileOkResponse, SecurityProfileControllerGetProfileProps, SecurityProfileControllerGetProfileQueryPathParams, } from './hooks/useSecurityProfileControllerGetProfileQuery';
|
|
317
|
+
export { securityProfileControllerGetProfile, useSecurityProfileControllerGetProfileQuery, } from './hooks/useSecurityProfileControllerGetProfileQuery';
|
|
318
|
+
export type { SecurityProfileControllerListProfilesErrorResponse, SecurityProfileControllerListProfilesOkResponse, SecurityProfileControllerListProfilesProps, SecurityProfileControllerListProfilesQueryQueryParams, } from './hooks/useSecurityProfileControllerListProfilesQuery';
|
|
319
|
+
export { securityProfileControllerListProfiles, useSecurityProfileControllerListProfilesQuery, } from './hooks/useSecurityProfileControllerListProfilesQuery';
|
|
320
|
+
export type { SecurityProfileControllerUpdateProfileErrorResponse, SecurityProfileControllerUpdateProfileMutationPathParams, SecurityProfileControllerUpdateProfileOkResponse, SecurityProfileControllerUpdateProfileProps, SecurityProfileControllerUpdateProfileRequestBody, } from './hooks/useSecurityProfileControllerUpdateProfileMutation';
|
|
321
|
+
export { securityProfileControllerUpdateProfile, useSecurityProfileControllerUpdateProfileMutation, } from './hooks/useSecurityProfileControllerUpdateProfileMutation';
|
|
310
322
|
export type { SprintInsightsControllerGetSprintDeliveryErrorResponse, SprintInsightsControllerGetSprintDeliveryOkResponse, SprintInsightsControllerGetSprintDeliveryProps, SprintInsightsControllerGetSprintDeliveryRequestBody, } from './hooks/useSprintInsightsControllerGetSprintDeliveryQuery';
|
|
311
323
|
export { sprintInsightsControllerGetSprintDelivery, useSprintInsightsControllerGetSprintDeliveryQuery, } from './hooks/useSprintInsightsControllerGetSprintDeliveryQuery';
|
|
312
324
|
export type { SprintInsightsControllerGetSprintDrilldownErrorResponse, SprintInsightsControllerGetSprintDrilldownOkResponse, SprintInsightsControllerGetSprintDrilldownProps, SprintInsightsControllerGetSprintDrilldownRequestBody, } from './hooks/useSprintInsightsControllerGetSprintDrilldownQuery';
|
|
@@ -347,6 +359,8 @@ export type { TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamM
|
|
|
347
359
|
export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
|
|
348
360
|
export type { AccessResponseDto } from './schemas/AccessResponseDto';
|
|
349
361
|
export type { ActivityDataDto } from './schemas/ActivityDataDto';
|
|
362
|
+
export type { AiDailyActiveUsersDrilldownRequestDto } from './schemas/AiDailyActiveUsersDrilldownRequestDto';
|
|
363
|
+
export type { AiDailyActiveUsersDrilldownResponseDto } from './schemas/AiDailyActiveUsersDrilldownResponseDto';
|
|
350
364
|
export type { AiFeatureDataPoint } from './schemas/AiFeatureDataPoint';
|
|
351
365
|
export type { AiFeatureDataResponseDto } from './schemas/AiFeatureDataResponseDto';
|
|
352
366
|
export type { AiInsightsRequestDto } from './schemas/AiInsightsRequestDto';
|
|
@@ -393,6 +407,7 @@ export type { CollectionEnriched } from './schemas/CollectionEnriched';
|
|
|
393
407
|
export type { CollectionFilter } from './schemas/CollectionFilter';
|
|
394
408
|
export type { CollectionTree } from './schemas/CollectionTree';
|
|
395
409
|
export type { CommitInfo } from './schemas/CommitInfo';
|
|
410
|
+
export type { CursorDrilldownOptions } from './schemas/CursorDrilldownOptions';
|
|
396
411
|
export type { DailyCountDataPoint } from './schemas/DailyCountDataPoint';
|
|
397
412
|
export type { DailyLicenseUsageResponseDto } from './schemas/DailyLicenseUsageResponseDto';
|
|
398
413
|
export type { DataPoint } from './schemas/DataPoint';
|
|
@@ -507,6 +522,7 @@ export type { ListResponseDtoIntegrationResponseDto } from './schemas/ListRespon
|
|
|
507
522
|
export type { ListResponseDtoMinimalDeveloperDto } from './schemas/ListResponseDtoMinimalDeveloperDto';
|
|
508
523
|
export type { ListResponseDtoOrgTreeResponseDto } from './schemas/ListResponseDtoOrgTreeResponseDto';
|
|
509
524
|
export type { ListResponseDtoProductivityProfileResponseDto } from './schemas/ListResponseDtoProductivityProfileResponseDto';
|
|
525
|
+
export type { ListResponseDtoSecurityProfileResponseDto } from './schemas/ListResponseDtoSecurityProfileResponseDto';
|
|
510
526
|
export type { ListResponseDtobaProfileResponseDto } from './schemas/ListResponseDtobaProfileResponseDto';
|
|
511
527
|
export type { LtcConfigurationDto } from './schemas/LtcConfigurationDto';
|
|
512
528
|
export type { LtcStageDto } from './schemas/LtcStageDto';
|
|
@@ -573,6 +589,8 @@ export type { ReleaseIssueDto } from './schemas/ReleaseIssueDto';
|
|
|
573
589
|
export type { ReleaseIssuesResponseWrapper } from './schemas/ReleaseIssuesResponseWrapper';
|
|
574
590
|
export type { ScmStatsRequest } from './schemas/ScmStatsRequest';
|
|
575
591
|
export type { SectionDto } from './schemas/SectionDto';
|
|
592
|
+
export type { SecurityProfileCreateRequestDto } from './schemas/SecurityProfileCreateRequestDto';
|
|
593
|
+
export type { SecurityProfileResponseDto } from './schemas/SecurityProfileResponseDto';
|
|
576
594
|
export type { SortOption } from './schemas/SortOption';
|
|
577
595
|
export type { SprintConfigurationDto } from './schemas/SprintConfigurationDto';
|
|
578
596
|
export type { SprintDeliveryAnalysisDto } from './schemas/SprintDeliveryAnalysisDto';
|
|
@@ -620,6 +638,9 @@ export type { TeamSummary } from './schemas/TeamSummary';
|
|
|
620
638
|
export type { TeamsByAccessResponseDto } from './schemas/TeamsByAccessResponseDto';
|
|
621
639
|
export type { TotalStatisticCount } from './schemas/TotalStatisticCount';
|
|
622
640
|
export type { VersionReleaseRequest } from './schemas/VersionReleaseRequest';
|
|
641
|
+
export type { WindsurfDrilldownDataDto } from './schemas/WindsurfDrilldownDataDto';
|
|
642
|
+
export type { WindsurfDrilldownOptions } from './schemas/WindsurfDrilldownOptions';
|
|
643
|
+
export type { WindsurfDrilldownUserDto } from './schemas/WindsurfDrilldownUserDto';
|
|
623
644
|
export type { WorkCompletedDrilldownResponseDataPoint } from './schemas/WorkCompletedDrilldownResponseDataPoint';
|
|
624
645
|
export type { WorkCompletedDrilldownResponseDataPointV3 } from './schemas/WorkCompletedDrilldownResponseDataPointV3';
|
|
625
646
|
export type { WorkCompletedIndividualDrilldownResponseDataPoint } from './schemas/WorkCompletedIndividualDrilldownResponseDataPoint';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
export { aiInsightsControllerGetDailyActiveUsersDrilldown, useAiInsightsControllerGetDailyActiveUsersDrilldownQuery, } from './hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownQuery';
|
|
1
2
|
export { aiInsightsControllerGetFeatureMetrics, useAiInsightsControllerGetFeatureMetricsQuery, } from './hooks/useAiInsightsControllerGetFeatureMetricsQuery';
|
|
2
3
|
export { aiInsightsControllerGetTeamAdoption, useAiInsightsControllerGetTeamAdoptionQuery, } from './hooks/useAiInsightsControllerGetTeamAdoptionQuery';
|
|
3
4
|
export { aiInsightsControllerGetTopLanguages, useAiInsightsControllerGetTopLanguagesQuery, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
|
|
4
|
-
export { aiSummaryControllerGenerateSummary,
|
|
5
|
+
export { aiSummaryControllerGenerateSummary, useAiSummaryControllerGenerateSummaryQuery, } from './hooks/useAiSummaryControllerGenerateSummaryQuery';
|
|
5
6
|
export { asyncExportControllerDownloadExport, useAsyncExportControllerDownloadExportQuery, } from './hooks/useAsyncExportControllerDownloadExportQuery';
|
|
6
7
|
export { asyncExportControllerGetJobStatus, useAsyncExportControllerGetJobStatusQuery, } from './hooks/useAsyncExportControllerGetJobStatusQuery';
|
|
7
8
|
export { asyncExportControllerInitiateExport, useAsyncExportControllerInitiateExportMutation, } from './hooks/useAsyncExportControllerInitiateExportMutation';
|
|
@@ -152,6 +153,11 @@ export { productivityV3ControllerGetFeatureMetrics, useProductivityV3ControllerG
|
|
|
152
153
|
export { productivityV3ControllerGetIndividualUserFeatureDrillDown, useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery';
|
|
153
154
|
export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
|
|
154
155
|
export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
|
|
156
|
+
export { securityProfileControllerCreateProfile, useSecurityProfileControllerCreateProfileMutation, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
|
|
157
|
+
export { securityProfileControllerDeleteProfile, useSecurityProfileControllerDeleteProfileMutation, } from './hooks/useSecurityProfileControllerDeleteProfileMutation';
|
|
158
|
+
export { securityProfileControllerGetProfile, useSecurityProfileControllerGetProfileQuery, } from './hooks/useSecurityProfileControllerGetProfileQuery';
|
|
159
|
+
export { securityProfileControllerListProfiles, useSecurityProfileControllerListProfilesQuery, } from './hooks/useSecurityProfileControllerListProfilesQuery';
|
|
160
|
+
export { securityProfileControllerUpdateProfile, useSecurityProfileControllerUpdateProfileMutation, } from './hooks/useSecurityProfileControllerUpdateProfileMutation';
|
|
155
161
|
export { sprintInsightsControllerGetSprintDelivery, useSprintInsightsControllerGetSprintDeliveryQuery, } from './hooks/useSprintInsightsControllerGetSprintDeliveryQuery';
|
|
156
162
|
export { sprintInsightsControllerGetSprintDrilldown, useSprintInsightsControllerGetSprintDrilldownQuery, } from './hooks/useSprintInsightsControllerGetSprintDrilldownQuery';
|
|
157
163
|
export { sprintInsightsControllerGetSprintList, useSprintInsightsControllerGetSprintListQuery, } from './hooks/useSprintInsightsControllerGetSprintListQuery';
|
package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownRequestDto.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { CursorDrilldownOptions } from '../schemas/CursorDrilldownOptions';
|
|
2
|
+
import type { PaginationRequest } from '../schemas/PaginationRequest';
|
|
3
|
+
import type { WindsurfDrilldownOptions } from '../schemas/WindsurfDrilldownOptions';
|
|
4
|
+
export interface AiDailyActiveUsersDrilldownRequestDto {
|
|
5
|
+
/**
|
|
6
|
+
* Cursor-specific sorting and filtering options
|
|
7
|
+
*/
|
|
8
|
+
cursor?: CursorDrilldownOptions;
|
|
9
|
+
/**
|
|
10
|
+
* End date for the metrics
|
|
11
|
+
* @format date-time
|
|
12
|
+
* @example "2025-11-30"
|
|
13
|
+
*/
|
|
14
|
+
endDate: string;
|
|
15
|
+
/**
|
|
16
|
+
* Pagination parameters
|
|
17
|
+
*/
|
|
18
|
+
pagination?: PaginationRequest;
|
|
19
|
+
/**
|
|
20
|
+
* Start date for the metrics
|
|
21
|
+
* @format date-time
|
|
22
|
+
* @example "2025-11-01"
|
|
23
|
+
*/
|
|
24
|
+
startDate: string;
|
|
25
|
+
/**
|
|
26
|
+
* Team reference ID
|
|
27
|
+
* @format int32
|
|
28
|
+
*/
|
|
29
|
+
teamRefId: number;
|
|
30
|
+
/**
|
|
31
|
+
* Windsurf-specific sorting and filtering options
|
|
32
|
+
*/
|
|
33
|
+
windsurf?: WindsurfDrilldownOptions;
|
|
34
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownRequestDto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownResponseDto.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { WindsurfDrilldownDataDto } from '../schemas/WindsurfDrilldownDataDto';
|
|
2
|
+
export interface AiDailyActiveUsersDrilldownResponseDto {
|
|
3
|
+
/**
|
|
4
|
+
* Current page number (0-based)
|
|
5
|
+
* @format int32
|
|
6
|
+
* @example 0
|
|
7
|
+
*/
|
|
8
|
+
currentPage?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Cursor-specific drilldown data (only present when integrationType='cursor')
|
|
11
|
+
*/
|
|
12
|
+
cursorData?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* End date of the period
|
|
17
|
+
* @format date-time
|
|
18
|
+
* @example "2025-11-30"
|
|
19
|
+
*/
|
|
20
|
+
endDate?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Whether there are more pages available
|
|
23
|
+
* @example true
|
|
24
|
+
*/
|
|
25
|
+
hasMore?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Integration type identifier (windsurf or cursor)
|
|
28
|
+
* @example "windsurf"
|
|
29
|
+
*/
|
|
30
|
+
integrationType?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Number of items per page
|
|
33
|
+
* @format int32
|
|
34
|
+
* @example 20
|
|
35
|
+
*/
|
|
36
|
+
pageSize?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Start date of the period
|
|
39
|
+
* @format date-time
|
|
40
|
+
* @example "2025-11-01"
|
|
41
|
+
*/
|
|
42
|
+
startDate?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Total number of pages
|
|
45
|
+
* @format int32
|
|
46
|
+
* @example 5
|
|
47
|
+
*/
|
|
48
|
+
totalPages?: number;
|
|
49
|
+
/**
|
|
50
|
+
* Total number of records across all pages
|
|
51
|
+
* @format int32
|
|
52
|
+
* @example 85
|
|
53
|
+
*/
|
|
54
|
+
totalRecords?: number;
|
|
55
|
+
/**
|
|
56
|
+
* Windsurf-specific drilldown data (only present when integrationType='windsurf')
|
|
57
|
+
*/
|
|
58
|
+
windsurfData?: WindsurfDrilldownDataDto;
|
|
59
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownResponseDto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { SecurityProfileResponseDto } from '../schemas/SecurityProfileResponseDto';
|
|
2
|
+
/**
|
|
3
|
+
* Paginated list response containing records and pagination metadata
|
|
4
|
+
*/
|
|
5
|
+
export interface ListResponseDtoSecurityProfileResponseDto {
|
|
6
|
+
/**
|
|
7
|
+
* Current page index (0-based)
|
|
8
|
+
* @format int32
|
|
9
|
+
* @example 0
|
|
10
|
+
*/
|
|
11
|
+
pageIndex?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Number of records per page
|
|
14
|
+
* @format int32
|
|
15
|
+
* @example 50
|
|
16
|
+
*/
|
|
17
|
+
pageSize?: number;
|
|
18
|
+
/**
|
|
19
|
+
* List of records for the current page
|
|
20
|
+
*/
|
|
21
|
+
records?: SecurityProfileResponseDto[];
|
|
22
|
+
/**
|
|
23
|
+
* Total number of records available across all pages
|
|
24
|
+
* @format int32
|
|
25
|
+
* @example 100
|
|
26
|
+
*/
|
|
27
|
+
totalCount?: number;
|
|
28
|
+
}
|
package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoSecurityProfileResponseDto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { MinimalOrgTree } from '../schemas/MinimalOrgTree';
|
|
2
|
+
export interface SecurityProfileResponseDto {
|
|
3
|
+
agedVulnerabilityCountEnabled?: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* @format int64
|
|
6
|
+
*/
|
|
7
|
+
createdAtEpochSec?: number;
|
|
8
|
+
createdByEmail?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @format int32
|
|
12
|
+
*/
|
|
13
|
+
id?: number;
|
|
14
|
+
meanTimeToRemediateEnabled?: boolean;
|
|
15
|
+
name: string;
|
|
16
|
+
orgTrees?: MinimalOrgTree[];
|
|
17
|
+
rateOfOpenVsClosedEnabled?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @format int32
|
|
20
|
+
*/
|
|
21
|
+
refId?: number;
|
|
22
|
+
totalOpenVulnerabilitiesEnabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @format int64
|
|
25
|
+
*/
|
|
26
|
+
updatedAtEpochSec?: number;
|
|
27
|
+
updatedByEmail?: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { WindsurfDrilldownUserDto } from '../schemas/WindsurfDrilldownUserDto';
|
|
2
|
+
export interface WindsurfDrilldownDataDto {
|
|
3
|
+
/**
|
|
4
|
+
* Column used for sorting
|
|
5
|
+
* @example "user_name"
|
|
6
|
+
*/
|
|
7
|
+
sortBy?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Sort order (ASC/DESC)
|
|
10
|
+
* @example "ASC"
|
|
11
|
+
*/
|
|
12
|
+
sortByCriteria?: string;
|
|
13
|
+
/**
|
|
14
|
+
* List of users with their metrics
|
|
15
|
+
*/
|
|
16
|
+
users?: WindsurfDrilldownUserDto[];
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export interface WindsurfDrilldownUserDto {
|
|
2
|
+
/**
|
|
3
|
+
* Cascade line accept percentage
|
|
4
|
+
* @format double
|
|
5
|
+
* @example 98.94
|
|
6
|
+
*/
|
|
7
|
+
cascadeLineAcceptPercent?: number;
|
|
8
|
+
/**
|
|
9
|
+
* Total chat LOC used
|
|
10
|
+
* @format int64
|
|
11
|
+
* @example 0
|
|
12
|
+
*/
|
|
13
|
+
chatLocUsed?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Total lines accepted by autocomplete
|
|
16
|
+
* @format int64
|
|
17
|
+
* @example 0
|
|
18
|
+
*/
|
|
19
|
+
linesAcceptedByAutocomplete?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Total lines accepted by cascade
|
|
22
|
+
* @format int64
|
|
23
|
+
* @example 372
|
|
24
|
+
*/
|
|
25
|
+
linesAcceptedByCascade?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Total lines added by command
|
|
28
|
+
* @format int64
|
|
29
|
+
* @example 0
|
|
30
|
+
*/
|
|
31
|
+
linesAddedByCommand?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Total lines removed by command
|
|
34
|
+
* @format int64
|
|
35
|
+
* @example 0
|
|
36
|
+
*/
|
|
37
|
+
linesRemovedByCommand?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Total lines suggested by cascade
|
|
40
|
+
* @format int64
|
|
41
|
+
* @example 376
|
|
42
|
+
*/
|
|
43
|
+
linesSuggestedByCascade?: number;
|
|
44
|
+
/**
|
|
45
|
+
* User rank based on cascade line accept percent
|
|
46
|
+
* @format int32
|
|
47
|
+
* @example 1
|
|
48
|
+
*/
|
|
49
|
+
rank?: number;
|
|
50
|
+
/**
|
|
51
|
+
* Email of the user
|
|
52
|
+
* @example "akshit.agrawal@harness.io"
|
|
53
|
+
*/
|
|
54
|
+
userEmail?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Username of the user
|
|
57
|
+
* @example "Akshit Agrawal"
|
|
58
|
+
*/
|
|
59
|
+
userName?: string;
|
|
60
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-sei-panorama-service-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.1",
|
|
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",
|