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

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 (50) hide show
  1. package/dist/fetcher/index.js +1 -1
  2. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownMutation.d.ts +22 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownMutation.js +14 -0
  4. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTeamAdoptionQuery.d.ts +3 -3
  5. package/dist/sei-panorama-service/src/services/hooks/useAiInsightsControllerGetTeamAdoptionQuery.js +1 -1
  6. package/dist/sei-panorama-service/src/services/hooks/useAiSummaryControllerGenerateSummaryMutation.d.ts +23 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useAiSummaryControllerGenerateSummaryMutation.js +14 -0
  8. package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerCreateProfileMutation.d.ts +17 -0
  9. package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerCreateProfileMutation.js +14 -0
  10. package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerDeleteProfileMutation.d.ts +19 -0
  11. package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerDeleteProfileMutation.js +14 -0
  12. package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerGetProfileQuery.d.ts +19 -0
  13. package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerGetProfileQuery.js +14 -0
  14. package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerListProfilesQuery.d.ts +31 -0
  15. package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerListProfilesQuery.js +14 -0
  16. package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerUpdateProfileMutation.d.ts +23 -0
  17. package/dist/sei-panorama-service/src/services/hooks/useSecurityProfileControllerUpdateProfileMutation.js +14 -0
  18. package/dist/sei-panorama-service/src/services/index.d.ts +27 -0
  19. package/dist/sei-panorama-service/src/services/index.js +7 -0
  20. package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownRequestDto.d.ts +34 -0
  21. package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownRequestDto.js +1 -0
  22. package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownResponseDto.d.ts +59 -0
  23. package/dist/sei-panorama-service/src/services/schemas/AiDailyActiveUsersDrilldownResponseDto.js +1 -0
  24. package/dist/sei-panorama-service/src/services/schemas/AiFeatureDataResponseDto.d.ts +1 -1
  25. package/dist/sei-panorama-service/src/services/schemas/AiInsightsRequestDto.d.ts +2 -1
  26. package/dist/sei-panorama-service/src/services/schemas/AiSummaryRequestDto.d.ts +16 -0
  27. package/dist/sei-panorama-service/src/services/schemas/AiSummaryRequestDto.js +4 -0
  28. package/dist/sei-panorama-service/src/services/schemas/AiSummaryResponseDto.d.ts +4 -0
  29. package/dist/sei-panorama-service/src/services/schemas/AiSummaryResponseDto.js +1 -0
  30. package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionRequestDto.d.ts +34 -0
  31. package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionRequestDto.js +1 -0
  32. package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionResponseDto.d.ts +15 -0
  33. package/dist/sei-panorama-service/src/services/schemas/AiTeamAdoptionUserDto.d.ts +1 -0
  34. package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownOptions.d.ts +12 -0
  35. package/dist/sei-panorama-service/src/services/schemas/CursorDrilldownOptions.js +4 -0
  36. package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoSecurityProfileResponseDto.d.ts +28 -0
  37. package/dist/sei-panorama-service/src/services/schemas/ListResponseDtoSecurityProfileResponseDto.js +1 -0
  38. package/dist/sei-panorama-service/src/services/schemas/SecurityProfileCreateRequestDto.d.ts +8 -0
  39. package/dist/sei-panorama-service/src/services/schemas/SecurityProfileCreateRequestDto.js +4 -0
  40. package/dist/sei-panorama-service/src/services/schemas/SecurityProfileResponseDto.d.ts +28 -0
  41. package/dist/sei-panorama-service/src/services/schemas/SecurityProfileResponseDto.js +1 -0
  42. package/dist/sei-panorama-service/src/services/schemas/SummarySection.d.ts +4 -0
  43. package/dist/sei-panorama-service/src/services/schemas/SummarySection.js +4 -0
  44. package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownDataDto.d.ts +17 -0
  45. package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownDataDto.js +1 -0
  46. package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownOptions.d.ts +12 -0
  47. package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownOptions.js +4 -0
  48. package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownUserDto.d.ts +60 -0
  49. package/dist/sei-panorama-service/src/services/schemas/WindsurfDrilldownUserDto.js +4 -0
  50. package/package.json +1 -1
@@ -30,7 +30,7 @@ export function fetcher(options) {
30
30
  if (fetcherCallbacks === null || fetcherCallbacks === void 0 ? void 0 : fetcherCallbacks.urlInterceptor) {
31
31
  finalUrl = (_a = fetcherCallbacks === null || fetcherCallbacks === void 0 ? void 0 : fetcherCallbacks.urlInterceptor) === null || _a === void 0 ? void 0 : _a.call(fetcherCallbacks, finalUrl);
32
32
  }
33
- let request = new Request(finalUrl, Object.assign({ headers: Object.assign(Object.assign({ Authorization: `Bearer ${token}` }, headers), customHeaders), body: body ? JSON.stringify(body) : undefined }, rest));
33
+ let request = new Request(finalUrl, Object.assign({ headers: Object.assign(Object.assign(Object.assign({}, (token ? { Authorization: `Bearer ${token}` } : {})), headers), customHeaders), body: body ? JSON.stringify(body) : undefined }, rest));
34
34
  if (fetcherCallbacks === null || fetcherCallbacks === void 0 ? void 0 : fetcherCallbacks.requestInterceptor) {
35
35
  request = fetcherCallbacks.requestInterceptor(request.clone());
36
36
  }
@@ -0,0 +1,22 @@
1
+ import { UseMutationOptions } 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 AiInsightsControllerGetDailyActiveUsersDrilldownMutationQueryParams {
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<AiInsightsControllerGetDailyActiveUsersDrilldownMutationQueryParams, AiInsightsControllerGetDailyActiveUsersDrilldownRequestBody>, 'url'> {
15
+ queryParams: AiInsightsControllerGetDailyActiveUsersDrilldownMutationQueryParams;
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 useAiInsightsControllerGetDailyActiveUsersDrilldownMutation(options?: Omit<UseMutationOptions<AiInsightsControllerGetDailyActiveUsersDrilldownOkResponse, AiInsightsControllerGetDailyActiveUsersDrilldownErrorResponse, AiInsightsControllerGetDailyActiveUsersDrilldownProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<AiInsightsControllerGetDailyActiveUsersDrilldownOkResponse, string, AiInsightsControllerGetDailyActiveUsersDrilldownProps, 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 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 useAiInsightsControllerGetDailyActiveUsersDrilldownMutation(options) {
13
+ return useMutation((mutateProps) => aiInsightsControllerGetDailyActiveUsersDrilldown(mutateProps), options);
14
+ }
@@ -1,6 +1,6 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
2
  import type { AiTeamAdoptionResponseDto } from '../schemas/AiTeamAdoptionResponseDto';
3
- import type { AiInsightsRequestDto } from '../schemas/AiInsightsRequestDto';
3
+ import type { AiTeamAdoptionRequestDto } from '../schemas/AiTeamAdoptionRequestDto';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface AiInsightsControllerGetTeamAdoptionQueryQueryParams {
@@ -8,7 +8,7 @@ export interface AiInsightsControllerGetTeamAdoptionQueryQueryParams {
8
8
  projectIdentifier: string;
9
9
  orgIdentifier: string;
10
10
  }
11
- export type AiInsightsControllerGetTeamAdoptionRequestBody = AiInsightsRequestDto;
11
+ export type AiInsightsControllerGetTeamAdoptionRequestBody = AiTeamAdoptionRequestDto;
12
12
  export type AiInsightsControllerGetTeamAdoptionOkResponse = ResponseWithPagination<AiTeamAdoptionResponseDto>;
13
13
  export type AiInsightsControllerGetTeamAdoptionErrorResponse = string;
14
14
  export interface AiInsightsControllerGetTeamAdoptionProps extends Omit<FetcherOptions<AiInsightsControllerGetTeamAdoptionQueryQueryParams, AiInsightsControllerGetTeamAdoptionRequestBody>, 'url'> {
@@ -17,6 +17,6 @@ export interface AiInsightsControllerGetTeamAdoptionProps extends Omit<FetcherOp
17
17
  }
18
18
  export declare function aiInsightsControllerGetTeamAdoption(props: AiInsightsControllerGetTeamAdoptionProps): Promise<AiInsightsControllerGetTeamAdoptionOkResponse>;
19
19
  /**
20
- * Retrieves team member adoption data with user details in table format.
20
+ * Retrieves team member adoption data with user details in table format. Supports pagination and sorting.
21
21
  */
22
22
  export declare function useAiInsightsControllerGetTeamAdoptionQuery(props: AiInsightsControllerGetTeamAdoptionProps, options?: Omit<UseQueryOptions<AiInsightsControllerGetTeamAdoptionOkResponse, AiInsightsControllerGetTeamAdoptionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AiInsightsControllerGetTeamAdoptionOkResponse, string>;
@@ -7,7 +7,7 @@ export function aiInsightsControllerGetTeamAdoption(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/insights/ai/team_adoption`, method: 'POST' }, props));
8
8
  }
9
9
  /**
10
- * Retrieves team member adoption data with user details in table format.
10
+ * Retrieves team member adoption data with user details in table format. Supports pagination and sorting.
11
11
  */
12
12
  export function useAiInsightsControllerGetTeamAdoptionQuery(props, options) {
13
13
  return useQuery(['AIInsightsControllerGetTeamAdoption', props.queryParams, props.body], ({ signal }) => aiInsightsControllerGetTeamAdoption(Object.assign(Object.assign({}, props), { signal })), options);
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { AiSummaryResponseDto } from '../schemas/AiSummaryResponseDto';
3
+ import type { ErrorResponse } from '../schemas/ErrorResponse';
4
+ import type { AiSummaryRequestDto } from '../schemas/AiSummaryRequestDto';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface AiSummaryControllerGenerateSummaryMutationQueryParams {
8
+ account: string;
9
+ projectIdentifier: string;
10
+ orgIdentifier: string;
11
+ }
12
+ export type AiSummaryControllerGenerateSummaryRequestBody = AiSummaryRequestDto;
13
+ export type AiSummaryControllerGenerateSummaryOkResponse = ResponseWithPagination<AiSummaryResponseDto>;
14
+ export type AiSummaryControllerGenerateSummaryErrorResponse = ErrorResponse;
15
+ export interface AiSummaryControllerGenerateSummaryProps extends Omit<FetcherOptions<AiSummaryControllerGenerateSummaryMutationQueryParams, AiSummaryControllerGenerateSummaryRequestBody>, 'url'> {
16
+ queryParams: AiSummaryControllerGenerateSummaryMutationQueryParams;
17
+ body: AiSummaryControllerGenerateSummaryRequestBody;
18
+ }
19
+ export declare function aiSummaryControllerGenerateSummary(props: AiSummaryControllerGenerateSummaryProps): Promise<AiSummaryControllerGenerateSummaryOkResponse>;
20
+ /**
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
+ */
23
+ export declare function useAiSummaryControllerGenerateSummaryMutation(options?: Omit<UseMutationOptions<AiSummaryControllerGenerateSummaryOkResponse, AiSummaryControllerGenerateSummaryErrorResponse, AiSummaryControllerGenerateSummaryProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<AiSummaryControllerGenerateSummaryOkResponse, ErrorResponse, AiSummaryControllerGenerateSummaryProps, 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 aiSummaryControllerGenerateSummary(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/ai-summary`, method: 'POST' }, props));
8
+ }
9
+ /**
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
+ */
12
+ export function useAiSummaryControllerGenerateSummaryMutation(options) {
13
+ return useMutation((mutateProps) => aiSummaryControllerGenerateSummary(mutateProps), options);
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>;
@@ -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,10 +1,14 @@
1
1
  export type { GetPathParamsType, ResponseWithPagination } from './helpers';
2
+ export type { AiInsightsControllerGetDailyActiveUsersDrilldownErrorResponse, AiInsightsControllerGetDailyActiveUsersDrilldownMutationQueryParams, AiInsightsControllerGetDailyActiveUsersDrilldownOkResponse, AiInsightsControllerGetDailyActiveUsersDrilldownProps, AiInsightsControllerGetDailyActiveUsersDrilldownRequestBody, } from './hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownMutation';
3
+ export { aiInsightsControllerGetDailyActiveUsersDrilldown, useAiInsightsControllerGetDailyActiveUsersDrilldownMutation, } from './hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownMutation';
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';
10
+ export type { AiSummaryControllerGenerateSummaryErrorResponse, AiSummaryControllerGenerateSummaryMutationQueryParams, AiSummaryControllerGenerateSummaryOkResponse, AiSummaryControllerGenerateSummaryProps, AiSummaryControllerGenerateSummaryRequestBody, } from './hooks/useAiSummaryControllerGenerateSummaryMutation';
11
+ export { aiSummaryControllerGenerateSummary, useAiSummaryControllerGenerateSummaryMutation, } from './hooks/useAiSummaryControllerGenerateSummaryMutation';
8
12
  export type { AsyncExportControllerDownloadExportErrorResponse, AsyncExportControllerDownloadExportOkResponse, AsyncExportControllerDownloadExportProps, AsyncExportControllerDownloadExportQueryPathParams, AsyncExportControllerDownloadExportQueryQueryParams, } from './hooks/useAsyncExportControllerDownloadExportQuery';
9
13
  export { asyncExportControllerDownloadExport, useAsyncExportControllerDownloadExportQuery, } from './hooks/useAsyncExportControllerDownloadExportQuery';
10
14
  export type { AsyncExportControllerGetJobStatusErrorResponse, AsyncExportControllerGetJobStatusOkResponse, AsyncExportControllerGetJobStatusProps, AsyncExportControllerGetJobStatusQueryPathParams, AsyncExportControllerGetJobStatusQueryQueryParams, } from './hooks/useAsyncExportControllerGetJobStatusQuery';
@@ -305,6 +309,16 @@ export type { ScmGaControllerGetBuildInfoFromPrErrorResponse, ScmGaControllerGet
305
309
  export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
306
310
  export type { ScmGaControllerGetDeployInfoFromPrErrorResponse, ScmGaControllerGetDeployInfoFromPrOkResponse, ScmGaControllerGetDeployInfoFromPrProps, ScmGaControllerGetDeployInfoFromPrQueryQueryParams, ScmGaControllerGetDeployInfoFromPrRequestBody, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
307
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';
308
322
  export type { SprintInsightsControllerGetSprintDeliveryErrorResponse, SprintInsightsControllerGetSprintDeliveryOkResponse, SprintInsightsControllerGetSprintDeliveryProps, SprintInsightsControllerGetSprintDeliveryRequestBody, } from './hooks/useSprintInsightsControllerGetSprintDeliveryQuery';
309
323
  export { sprintInsightsControllerGetSprintDelivery, useSprintInsightsControllerGetSprintDeliveryQuery, } from './hooks/useSprintInsightsControllerGetSprintDeliveryQuery';
310
324
  export type { SprintInsightsControllerGetSprintDrilldownErrorResponse, SprintInsightsControllerGetSprintDrilldownOkResponse, SprintInsightsControllerGetSprintDrilldownProps, SprintInsightsControllerGetSprintDrilldownRequestBody, } from './hooks/useSprintInsightsControllerGetSprintDrilldownQuery';
@@ -345,9 +359,14 @@ export type { TeamsControllerUpdateTeamErrorResponse, TeamsControllerUpdateTeamM
345
359
  export { teamsControllerUpdateTeam, useTeamsControllerUpdateTeamMutation, } from './hooks/useTeamsControllerUpdateTeamMutation';
346
360
  export type { AccessResponseDto } from './schemas/AccessResponseDto';
347
361
  export type { ActivityDataDto } from './schemas/ActivityDataDto';
362
+ export type { AiDailyActiveUsersDrilldownRequestDto } from './schemas/AiDailyActiveUsersDrilldownRequestDto';
363
+ export type { AiDailyActiveUsersDrilldownResponseDto } from './schemas/AiDailyActiveUsersDrilldownResponseDto';
348
364
  export type { AiFeatureDataPoint } from './schemas/AiFeatureDataPoint';
349
365
  export type { AiFeatureDataResponseDto } from './schemas/AiFeatureDataResponseDto';
350
366
  export type { AiInsightsRequestDto } from './schemas/AiInsightsRequestDto';
367
+ export type { AiSummaryRequestDto } from './schemas/AiSummaryRequestDto';
368
+ export type { AiSummaryResponseDto } from './schemas/AiSummaryResponseDto';
369
+ export type { AiTeamAdoptionRequestDto } from './schemas/AiTeamAdoptionRequestDto';
351
370
  export type { AiTeamAdoptionResponseDto } from './schemas/AiTeamAdoptionResponseDto';
352
371
  export type { AiTeamAdoptionUserDto } from './schemas/AiTeamAdoptionUserDto';
353
372
  export type { AiTopLanguagesResponseDto } from './schemas/AiTopLanguagesResponseDto';
@@ -388,6 +407,7 @@ export type { CollectionEnriched } from './schemas/CollectionEnriched';
388
407
  export type { CollectionFilter } from './schemas/CollectionFilter';
389
408
  export type { CollectionTree } from './schemas/CollectionTree';
390
409
  export type { CommitInfo } from './schemas/CommitInfo';
410
+ export type { CursorDrilldownOptions } from './schemas/CursorDrilldownOptions';
391
411
  export type { DailyCountDataPoint } from './schemas/DailyCountDataPoint';
392
412
  export type { DailyLicenseUsageResponseDto } from './schemas/DailyLicenseUsageResponseDto';
393
413
  export type { DataPoint } from './schemas/DataPoint';
@@ -502,6 +522,7 @@ export type { ListResponseDtoIntegrationResponseDto } from './schemas/ListRespon
502
522
  export type { ListResponseDtoMinimalDeveloperDto } from './schemas/ListResponseDtoMinimalDeveloperDto';
503
523
  export type { ListResponseDtoOrgTreeResponseDto } from './schemas/ListResponseDtoOrgTreeResponseDto';
504
524
  export type { ListResponseDtoProductivityProfileResponseDto } from './schemas/ListResponseDtoProductivityProfileResponseDto';
525
+ export type { ListResponseDtoSecurityProfileResponseDto } from './schemas/ListResponseDtoSecurityProfileResponseDto';
505
526
  export type { ListResponseDtobaProfileResponseDto } from './schemas/ListResponseDtobaProfileResponseDto';
506
527
  export type { LtcConfigurationDto } from './schemas/LtcConfigurationDto';
507
528
  export type { LtcStageDto } from './schemas/LtcStageDto';
@@ -568,6 +589,8 @@ export type { ReleaseIssueDto } from './schemas/ReleaseIssueDto';
568
589
  export type { ReleaseIssuesResponseWrapper } from './schemas/ReleaseIssuesResponseWrapper';
569
590
  export type { ScmStatsRequest } from './schemas/ScmStatsRequest';
570
591
  export type { SectionDto } from './schemas/SectionDto';
592
+ export type { SecurityProfileCreateRequestDto } from './schemas/SecurityProfileCreateRequestDto';
593
+ export type { SecurityProfileResponseDto } from './schemas/SecurityProfileResponseDto';
571
594
  export type { SortOption } from './schemas/SortOption';
572
595
  export type { SprintConfigurationDto } from './schemas/SprintConfigurationDto';
573
596
  export type { SprintDeliveryAnalysisDto } from './schemas/SprintDeliveryAnalysisDto';
@@ -596,6 +619,7 @@ export type { SprintTicketsResponseDto } from './schemas/SprintTicketsResponseDt
596
619
  export type { SprintWorkBreakdownDto } from './schemas/SprintWorkBreakdownDto';
597
620
  export type { Stage } from './schemas/Stage';
598
621
  export type { SummaryCard } from './schemas/SummaryCard';
622
+ export type { SummarySection } from './schemas/SummarySection';
599
623
  export type { SummaryValue } from './schemas/SummaryValue';
600
624
  export type { SummaryValueChange } from './schemas/SummaryValueChange';
601
625
  export type { TeamAccessDto } from './schemas/TeamAccessDto';
@@ -614,6 +638,9 @@ export type { TeamSummary } from './schemas/TeamSummary';
614
638
  export type { TeamsByAccessResponseDto } from './schemas/TeamsByAccessResponseDto';
615
639
  export type { TotalStatisticCount } from './schemas/TotalStatisticCount';
616
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';
617
644
  export type { WorkCompletedDrilldownResponseDataPoint } from './schemas/WorkCompletedDrilldownResponseDataPoint';
618
645
  export type { WorkCompletedDrilldownResponseDataPointV3 } from './schemas/WorkCompletedDrilldownResponseDataPointV3';
619
646
  export type { WorkCompletedIndividualDrilldownResponseDataPoint } from './schemas/WorkCompletedIndividualDrilldownResponseDataPoint';
@@ -1,6 +1,8 @@
1
+ export { aiInsightsControllerGetDailyActiveUsersDrilldown, useAiInsightsControllerGetDailyActiveUsersDrilldownMutation, } from './hooks/useAiInsightsControllerGetDailyActiveUsersDrilldownMutation';
1
2
  export { aiInsightsControllerGetFeatureMetrics, useAiInsightsControllerGetFeatureMetricsQuery, } from './hooks/useAiInsightsControllerGetFeatureMetricsQuery';
2
3
  export { aiInsightsControllerGetTeamAdoption, useAiInsightsControllerGetTeamAdoptionQuery, } from './hooks/useAiInsightsControllerGetTeamAdoptionQuery';
3
4
  export { aiInsightsControllerGetTopLanguages, useAiInsightsControllerGetTopLanguagesQuery, } from './hooks/useAiInsightsControllerGetTopLanguagesQuery';
5
+ export { aiSummaryControllerGenerateSummary, useAiSummaryControllerGenerateSummaryMutation, } from './hooks/useAiSummaryControllerGenerateSummaryMutation';
4
6
  export { asyncExportControllerDownloadExport, useAsyncExportControllerDownloadExportQuery, } from './hooks/useAsyncExportControllerDownloadExportQuery';
5
7
  export { asyncExportControllerGetJobStatus, useAsyncExportControllerGetJobStatusQuery, } from './hooks/useAsyncExportControllerGetJobStatusQuery';
6
8
  export { asyncExportControllerInitiateExport, useAsyncExportControllerInitiateExportMutation, } from './hooks/useAsyncExportControllerInitiateExportMutation';
@@ -151,6 +153,11 @@ export { productivityV3ControllerGetFeatureMetrics, useProductivityV3ControllerG
151
153
  export { productivityV3ControllerGetIndividualUserFeatureDrillDown, useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery';
152
154
  export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
153
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';
154
161
  export { sprintInsightsControllerGetSprintDelivery, useSprintInsightsControllerGetSprintDeliveryQuery, } from './hooks/useSprintInsightsControllerGetSprintDeliveryQuery';
155
162
  export { sprintInsightsControllerGetSprintDrilldown, useSprintInsightsControllerGetSprintDrilldownQuery, } from './hooks/useSprintInsightsControllerGetSprintDrilldownQuery';
156
163
  export { sprintInsightsControllerGetSprintList, useSprintInsightsControllerGetSprintListQuery, } from './hooks/useSprintInsightsControllerGetSprintListQuery';
@@ -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
+ }
@@ -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
+ }
@@ -9,7 +9,7 @@ export interface AiFeatureDataResponseDto {
9
9
  * @format date-time
10
10
  */
11
11
  endDate?: string;
12
- metricType?: 'acceptanceRate' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'dailyActiveUsers' | 'netLinesAddedPerContributor' | 'tokensUsedPer1kLinesOfCodeEdits';
12
+ metricType?: 'acceptanceRate' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'dailyActiveUsers' | 'linesAccepted' | 'linesSuggested' | 'netLinesAddedPerContributor' | 'tokensUsedPer1kLinesOfCodeEdits';
13
13
  previousPeriodData?: AiFeatureDataPoint[];
14
14
  /**
15
15
  * @format double
@@ -4,7 +4,8 @@ export interface AiInsightsRequestDto {
4
4
  */
5
5
  endDate?: string;
6
6
  granularity?: string;
7
- metricType?: 'acceptanceRate' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'dailyActiveUsers' | 'netLinesAddedPerContributor' | 'tokensUsedPer1kLinesOfCodeEdits';
7
+ integrationType?: 'cursor' | 'windsurf';
8
+ metricType?: 'acceptanceRate' | 'addedVsDeletedLinesRatio' | 'aiShareOfNewCode' | 'dailyActiveUsers' | 'linesAccepted' | 'linesSuggested' | 'netLinesAddedPerContributor' | 'tokensUsedPer1kLinesOfCodeEdits';
8
9
  /**
9
10
  * @format date-time
10
11
  */
@@ -0,0 +1,16 @@
1
+ export interface AiSummaryRequestDto {
2
+ category: 'BA' | 'EFFICIENCY' | 'PRODUCTIVITY' | 'SPRINT_INSIGHTS';
3
+ /**
4
+ * @format date-time
5
+ */
6
+ endDate: string;
7
+ granularity?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
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,4 @@
1
+ import type { SummarySection } from '../schemas/SummarySection';
2
+ export interface AiSummaryResponseDto {
3
+ sections?: SummarySection[];
4
+ }
@@ -0,0 +1,34 @@
1
+ import type { PaginationRequest } from '../schemas/PaginationRequest';
2
+ export interface AiTeamAdoptionRequestDto {
3
+ /**
4
+ * End date for the metrics
5
+ * @format date-time
6
+ */
7
+ endDate: string;
8
+ /**
9
+ * Integration type (cursor/windsurf)
10
+ */
11
+ integrationType?: 'cursor' | 'windsurf';
12
+ /**
13
+ * Pagination parameters
14
+ */
15
+ pagination?: PaginationRequest;
16
+ /**
17
+ * Column to sort by
18
+ */
19
+ sortBy?: 'email' | 'line_accept_percent' | 'lines_accepted' | 'lines_suggested' | 'primary_language' | 'rank' | 'total_accepts' | 'username';
20
+ /**
21
+ * Sort order (ASC/DESC)
22
+ */
23
+ sortByCriteria?: 'ASC' | 'DESC';
24
+ /**
25
+ * Start date for the metrics
26
+ * @format date-time
27
+ */
28
+ startDate: string;
29
+ /**
30
+ * Team reference ID
31
+ * @format int32
32
+ */
33
+ teamRefId: number;
34
+ }
@@ -1,9 +1,20 @@
1
1
  import type { AiTeamAdoptionUserDto } from '../schemas/AiTeamAdoptionUserDto';
2
2
  export interface AiTeamAdoptionResponseDto {
3
+ /**
4
+ * @format int32
5
+ */
6
+ currentPage?: number;
3
7
  /**
4
8
  * @format date-time
5
9
  */
6
10
  endDate?: string;
11
+ hasMore?: boolean;
12
+ /**
13
+ * @format int32
14
+ */
15
+ pageSize?: number;
16
+ sortBy?: 'email' | 'line_accept_percent' | 'lines_accepted' | 'lines_suggested' | 'primary_language' | 'rank' | 'total_accepts' | 'username';
17
+ sortByCriteria?: 'ASC' | 'DESC';
7
18
  /**
8
19
  * @format date-time
9
20
  */
@@ -12,6 +23,10 @@ export interface AiTeamAdoptionResponseDto {
12
23
  * @format double
13
24
  */
14
25
  teamAdoptionPercentage?: number;
26
+ /**
27
+ * @format int32
28
+ */
29
+ totalPages?: number;
15
30
  /**
16
31
  * @format int32
17
32
  */
@@ -26,4 +26,5 @@ export interface AiTeamAdoptionUserDto {
26
26
  totalAccepts?: number;
27
27
  trend?: string;
28
28
  userEmail?: string;
29
+ username?: string;
29
30
  }
@@ -0,0 +1,12 @@
1
+ export interface CursorDrilldownOptions {
2
+ /**
3
+ * Column to sort by
4
+ * @example "total_accepts"
5
+ */
6
+ sortBy?: string;
7
+ /**
8
+ * Sort order (ASC/DESC)
9
+ * @example "DESC"
10
+ */
11
+ sortByCriteria?: string;
12
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,28 @@
1
+ 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
+ }
@@ -0,0 +1,8 @@
1
+ export interface SecurityProfileCreateRequestDto {
2
+ agedVulnerabilityCountEnabled?: boolean;
3
+ description?: string;
4
+ meanTimeToRemediateEnabled?: boolean;
5
+ name: string;
6
+ rateOfOpenVsClosedEnabled?: boolean;
7
+ totalOpenVulnerabilitiesEnabled?: boolean;
8
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,28 @@
1
+ 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,4 @@
1
+ export interface SummarySection {
2
+ name?: 'ALIGNMENT' | 'BOTTLENECKS' | 'CATEGORY_BALANCE' | 'CHANGE_FAILURE_RATE' | 'CODE_QUALITY' | 'CORRELATION' | 'CRITICAL_INTERVENTIONS' | 'CROSS_TEAM_INSIGHTS' | 'CYCLE_TIME' | 'DELIVERY' | 'DELIVERY_CONSISTENCY' | 'DEPLOYMENT_FREQUENCY' | 'DEVELOPER_EXPERIENCE' | 'HEALTHY_TEAMS' | 'LEAD_TIME' | 'METRIC_CORRELATIONS' | 'ORGANIZATION_HEALTH' | 'OVERVIEW' | 'PERFORMANCE_DISTRIBUTION' | 'PERFORMANCE_RANKINGS' | 'PREDICTABILITY' | 'PREDICTABILITY_DRIVERS' | 'RECOMMENDATIONS' | 'RECOMMENDED_ACTIONS' | 'RECOVERY_TIME' | 'SCOPE_MANAGEMENT' | 'STRATEGIC_RECOMMENDATIONS' | 'TEAMS_AT_RISK' | 'TEAMS_NEEDING_SUPPORT' | 'THROUGHPUT' | 'VELOCITY' | 'VELOCITY_LEADERS' | 'VELOCITY_PATTERNS' | 'WORK_DISTRIBUTION';
3
+ summary?: string;
4
+ }
@@ -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,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,12 @@
1
+ export interface WindsurfDrilldownOptions {
2
+ /**
3
+ * Column to sort by
4
+ * @example "user_name"
5
+ */
6
+ sortBy?: string;
7
+ /**
8
+ * Sort order (ASC/DESC)
9
+ * @example "ASC"
10
+ */
11
+ sortByCriteria?: string;
12
+ }
@@ -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,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
+ }
@@ -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.24.4",
3
+ "version": "0.25.0",
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",