@harnessio/react-sei-panorama-service-client 0.26.0 → 0.26.2

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 (29) hide show
  1. package/dist/sei-panorama-service/src/services/hooks/useInsightsExportControllerGenerateExportSyncMutation.d.ts +21 -0
  2. package/dist/sei-panorama-service/src/services/hooks/useInsightsExportControllerGenerateExportSyncMutation.js +14 -0
  3. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetSonarQubeAnalysesCountMutation.d.ts +20 -0
  4. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetSonarQubeAnalysesCountMutation.js +14 -0
  5. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetSonarQubeDataCountMutation.d.ts +20 -0
  6. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetSonarQubeDataCountMutation.js +14 -0
  7. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetSonarQubeEntitiesCountMutation.d.ts +20 -0
  8. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetSonarQubeEntitiesCountMutation.js +14 -0
  9. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetSonarQubeIssuesCountMutation.d.ts +20 -0
  10. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetSonarQubeIssuesCountMutation.js +14 -0
  11. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetSonarQubeMetricsCountMutation.d.ts +20 -0
  12. package/dist/sei-panorama-service/src/services/hooks/useIntegrationStatsControllerGetSonarQubeMetricsCountMutation.js +14 -0
  13. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesQuery.d.ts +33 -0
  14. package/dist/sei-panorama-service/src/services/hooks/{useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery.js → useSecurityInsightsControllerGetOpenVulnerabilitiesQuery.js} +3 -3
  15. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery.d.ts +3 -3
  16. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGenerateExportSyncMutation.d.ts +21 -0
  17. package/dist/sei-panorama-service/src/services/hooks/useSprintInsightsExportControllerGenerateExportSyncMutation.js +14 -0
  18. package/dist/sei-panorama-service/src/services/index.d.ts +18 -2
  19. package/dist/sei-panorama-service/src/services/index.js +8 -1
  20. package/dist/sei-panorama-service/src/services/schemas/ActivityDataDto.d.ts +24 -0
  21. package/dist/sei-panorama-service/src/services/schemas/EntityCountDetails.d.ts +12 -0
  22. package/dist/sei-panorama-service/src/services/schemas/EntityCountDetails.js +1 -0
  23. package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesDataPointDto.d.ts +2 -2
  24. package/dist/sei-panorama-service/src/services/schemas/OpenVulnerabilitiesResponseDto.d.ts +2 -2
  25. package/dist/sei-panorama-service/src/services/schemas/SonarQubeEntitiesStatsDto.d.ts +11 -0
  26. package/dist/sei-panorama-service/src/services/schemas/SonarQubeEntitiesStatsDto.js +1 -0
  27. package/dist/sei-panorama-service/src/services/schemas/VulnerabilityDetail.d.ts +5 -0
  28. package/package.json +1 -1
  29. package/dist/sei-panorama-service/src/services/hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery.d.ts +0 -33
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { MetricsExportRequestDto } from '../schemas/MetricsExportRequestDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface InsightsExportControllerGenerateExportSyncMutationQueryParams {
6
+ routingId: string;
7
+ projectIdentifier?: string;
8
+ orgIdentifier?: string;
9
+ }
10
+ export type InsightsExportControllerGenerateExportSyncRequestBody = MetricsExportRequestDto;
11
+ export type InsightsExportControllerGenerateExportSyncOkResponse = ResponseWithPagination<unknown>;
12
+ export type InsightsExportControllerGenerateExportSyncErrorResponse = unknown;
13
+ export interface InsightsExportControllerGenerateExportSyncProps extends Omit<FetcherOptions<InsightsExportControllerGenerateExportSyncMutationQueryParams, InsightsExportControllerGenerateExportSyncRequestBody>, 'url'> {
14
+ queryParams: InsightsExportControllerGenerateExportSyncMutationQueryParams;
15
+ body: InsightsExportControllerGenerateExportSyncRequestBody;
16
+ }
17
+ export declare function insightsExportControllerGenerateExportSync(props: InsightsExportControllerGenerateExportSyncProps): Promise<InsightsExportControllerGenerateExportSyncOkResponse>;
18
+ /**
19
+ * Directly generates and returns a productivity metrics CSV file without async processing. Intended for testing purposes only. For production use, use the async POST /exports endpoint.
20
+ */
21
+ export declare function useInsightsExportControllerGenerateExportSyncMutation(options?: Omit<UseMutationOptions<InsightsExportControllerGenerateExportSyncOkResponse, InsightsExportControllerGenerateExportSyncErrorResponse, InsightsExportControllerGenerateExportSyncProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<InsightsExportControllerGenerateExportSyncOkResponse, unknown, InsightsExportControllerGenerateExportSyncProps, 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 insightsExportControllerGenerateExportSync(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/productivity/exports/sync`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Directly generates and returns a productivity metrics CSV file without async processing. Intended for testing purposes only. For production use, use the async POST /exports endpoint.
11
+ */
12
+ export function useInsightsExportControllerGenerateExportSyncMutation(options) {
13
+ return useMutation((mutateProps) => insightsExportControllerGenerateExportSync(mutateProps), options);
14
+ }
@@ -0,0 +1,20 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
3
+ import type { ScmStatsRequest } from '../schemas/ScmStatsRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface IntegrationStatsControllerGetSonarQubeAnalysesCountMutationQueryParams {
7
+ account: string;
8
+ }
9
+ export type IntegrationStatsControllerGetSonarQubeAnalysesCountRequestBody = ScmStatsRequest;
10
+ export type IntegrationStatsControllerGetSonarQubeAnalysesCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
11
+ export type IntegrationStatsControllerGetSonarQubeAnalysesCountErrorResponse = IntegrationStatsDto[];
12
+ export interface IntegrationStatsControllerGetSonarQubeAnalysesCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetSonarQubeAnalysesCountMutationQueryParams, IntegrationStatsControllerGetSonarQubeAnalysesCountRequestBody>, 'url'> {
13
+ queryParams: IntegrationStatsControllerGetSonarQubeAnalysesCountMutationQueryParams;
14
+ body: IntegrationStatsControllerGetSonarQubeAnalysesCountRequestBody;
15
+ }
16
+ export declare function integrationStatsControllerGetSonarQubeAnalysesCount(props: IntegrationStatsControllerGetSonarQubeAnalysesCountProps): Promise<IntegrationStatsControllerGetSonarQubeAnalysesCountOkResponse>;
17
+ /**
18
+ * Get SonarQube analyses counts
19
+ */
20
+ export declare function useIntegrationStatsControllerGetSonarQubeAnalysesCountMutation(options?: Omit<UseMutationOptions<IntegrationStatsControllerGetSonarQubeAnalysesCountOkResponse, IntegrationStatsControllerGetSonarQubeAnalysesCountErrorResponse, IntegrationStatsControllerGetSonarQubeAnalysesCountProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<IntegrationStatsControllerGetSonarQubeAnalysesCountOkResponse, IntegrationStatsControllerGetSonarQubeAnalysesCountErrorResponse, IntegrationStatsControllerGetSonarQubeAnalysesCountProps, 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 integrationStatsControllerGetSonarQubeAnalysesCount(props) {
7
+ return fetcher(Object.assign({ url: `/v2/integration-stats/sonarqube/analyses`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Get SonarQube analyses counts
11
+ */
12
+ export function useIntegrationStatsControllerGetSonarQubeAnalysesCountMutation(options) {
13
+ return useMutation((mutateProps) => integrationStatsControllerGetSonarQubeAnalysesCount(mutateProps), options);
14
+ }
@@ -0,0 +1,20 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
3
+ import type { ScmStatsRequest } from '../schemas/ScmStatsRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface IntegrationStatsControllerGetSonarQubeDataCountMutationQueryParams {
7
+ account: string;
8
+ }
9
+ export type IntegrationStatsControllerGetSonarQubeDataCountRequestBody = ScmStatsRequest;
10
+ export type IntegrationStatsControllerGetSonarQubeDataCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
11
+ export type IntegrationStatsControllerGetSonarQubeDataCountErrorResponse = IntegrationStatsDto[];
12
+ export interface IntegrationStatsControllerGetSonarQubeDataCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetSonarQubeDataCountMutationQueryParams, IntegrationStatsControllerGetSonarQubeDataCountRequestBody>, 'url'> {
13
+ queryParams: IntegrationStatsControllerGetSonarQubeDataCountMutationQueryParams;
14
+ body: IntegrationStatsControllerGetSonarQubeDataCountRequestBody;
15
+ }
16
+ export declare function integrationStatsControllerGetSonarQubeDataCount(props: IntegrationStatsControllerGetSonarQubeDataCountProps): Promise<IntegrationStatsControllerGetSonarQubeDataCountOkResponse>;
17
+ /**
18
+ * Get SonarQube comprehensive data counts (entities + metrics + analyses + issues)
19
+ */
20
+ export declare function useIntegrationStatsControllerGetSonarQubeDataCountMutation(options?: Omit<UseMutationOptions<IntegrationStatsControllerGetSonarQubeDataCountOkResponse, IntegrationStatsControllerGetSonarQubeDataCountErrorResponse, IntegrationStatsControllerGetSonarQubeDataCountProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<IntegrationStatsControllerGetSonarQubeDataCountOkResponse, IntegrationStatsControllerGetSonarQubeDataCountErrorResponse, IntegrationStatsControllerGetSonarQubeDataCountProps, 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 integrationStatsControllerGetSonarQubeDataCount(props) {
7
+ return fetcher(Object.assign({ url: `/v2/integration-stats/sonarqube/data`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Get SonarQube comprehensive data counts (entities + metrics + analyses + issues)
11
+ */
12
+ export function useIntegrationStatsControllerGetSonarQubeDataCountMutation(options) {
13
+ return useMutation((mutateProps) => integrationStatsControllerGetSonarQubeDataCount(mutateProps), options);
14
+ }
@@ -0,0 +1,20 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SonarQubeEntitiesStatsDto } from '../schemas/SonarQubeEntitiesStatsDto';
3
+ import type { ScmStatsRequest } from '../schemas/ScmStatsRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface IntegrationStatsControllerGetSonarQubeEntitiesCountMutationQueryParams {
7
+ account: string;
8
+ }
9
+ export type IntegrationStatsControllerGetSonarQubeEntitiesCountRequestBody = ScmStatsRequest;
10
+ export type IntegrationStatsControllerGetSonarQubeEntitiesCountOkResponse = ResponseWithPagination<SonarQubeEntitiesStatsDto[]>;
11
+ export type IntegrationStatsControllerGetSonarQubeEntitiesCountErrorResponse = SonarQubeEntitiesStatsDto[];
12
+ export interface IntegrationStatsControllerGetSonarQubeEntitiesCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetSonarQubeEntitiesCountMutationQueryParams, IntegrationStatsControllerGetSonarQubeEntitiesCountRequestBody>, 'url'> {
13
+ queryParams: IntegrationStatsControllerGetSonarQubeEntitiesCountMutationQueryParams;
14
+ body: IntegrationStatsControllerGetSonarQubeEntitiesCountRequestBody;
15
+ }
16
+ export declare function integrationStatsControllerGetSonarQubeEntitiesCount(props: IntegrationStatsControllerGetSonarQubeEntitiesCountProps): Promise<IntegrationStatsControllerGetSonarQubeEntitiesCountOkResponse>;
17
+ /**
18
+ * Get SonarQube entities counts (projects, branches, pull requests)
19
+ */
20
+ export declare function useIntegrationStatsControllerGetSonarQubeEntitiesCountMutation(options?: Omit<UseMutationOptions<IntegrationStatsControllerGetSonarQubeEntitiesCountOkResponse, IntegrationStatsControllerGetSonarQubeEntitiesCountErrorResponse, IntegrationStatsControllerGetSonarQubeEntitiesCountProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<IntegrationStatsControllerGetSonarQubeEntitiesCountOkResponse, IntegrationStatsControllerGetSonarQubeEntitiesCountErrorResponse, IntegrationStatsControllerGetSonarQubeEntitiesCountProps, 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 integrationStatsControllerGetSonarQubeEntitiesCount(props) {
7
+ return fetcher(Object.assign({ url: `/v2/integration-stats/sonarqube/entities`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Get SonarQube entities counts (projects, branches, pull requests)
11
+ */
12
+ export function useIntegrationStatsControllerGetSonarQubeEntitiesCountMutation(options) {
13
+ return useMutation((mutateProps) => integrationStatsControllerGetSonarQubeEntitiesCount(mutateProps), options);
14
+ }
@@ -0,0 +1,20 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
3
+ import type { ScmStatsRequest } from '../schemas/ScmStatsRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface IntegrationStatsControllerGetSonarQubeIssuesCountMutationQueryParams {
7
+ account: string;
8
+ }
9
+ export type IntegrationStatsControllerGetSonarQubeIssuesCountRequestBody = ScmStatsRequest;
10
+ export type IntegrationStatsControllerGetSonarQubeIssuesCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
11
+ export type IntegrationStatsControllerGetSonarQubeIssuesCountErrorResponse = IntegrationStatsDto[];
12
+ export interface IntegrationStatsControllerGetSonarQubeIssuesCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetSonarQubeIssuesCountMutationQueryParams, IntegrationStatsControllerGetSonarQubeIssuesCountRequestBody>, 'url'> {
13
+ queryParams: IntegrationStatsControllerGetSonarQubeIssuesCountMutationQueryParams;
14
+ body: IntegrationStatsControllerGetSonarQubeIssuesCountRequestBody;
15
+ }
16
+ export declare function integrationStatsControllerGetSonarQubeIssuesCount(props: IntegrationStatsControllerGetSonarQubeIssuesCountProps): Promise<IntegrationStatsControllerGetSonarQubeIssuesCountOkResponse>;
17
+ /**
18
+ * Get SonarQube issues counts
19
+ */
20
+ export declare function useIntegrationStatsControllerGetSonarQubeIssuesCountMutation(options?: Omit<UseMutationOptions<IntegrationStatsControllerGetSonarQubeIssuesCountOkResponse, IntegrationStatsControllerGetSonarQubeIssuesCountErrorResponse, IntegrationStatsControllerGetSonarQubeIssuesCountProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<IntegrationStatsControllerGetSonarQubeIssuesCountOkResponse, IntegrationStatsControllerGetSonarQubeIssuesCountErrorResponse, IntegrationStatsControllerGetSonarQubeIssuesCountProps, 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 integrationStatsControllerGetSonarQubeIssuesCount(props) {
7
+ return fetcher(Object.assign({ url: `/v2/integration-stats/sonarqube/issues`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Get SonarQube issues counts
11
+ */
12
+ export function useIntegrationStatsControllerGetSonarQubeIssuesCountMutation(options) {
13
+ return useMutation((mutateProps) => integrationStatsControllerGetSonarQubeIssuesCount(mutateProps), options);
14
+ }
@@ -0,0 +1,20 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { IntegrationStatsDto } from '../schemas/IntegrationStatsDto';
3
+ import type { ScmStatsRequest } from '../schemas/ScmStatsRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface IntegrationStatsControllerGetSonarQubeMetricsCountMutationQueryParams {
7
+ account: string;
8
+ }
9
+ export type IntegrationStatsControllerGetSonarQubeMetricsCountRequestBody = ScmStatsRequest;
10
+ export type IntegrationStatsControllerGetSonarQubeMetricsCountOkResponse = ResponseWithPagination<IntegrationStatsDto[]>;
11
+ export type IntegrationStatsControllerGetSonarQubeMetricsCountErrorResponse = IntegrationStatsDto[];
12
+ export interface IntegrationStatsControllerGetSonarQubeMetricsCountProps extends Omit<FetcherOptions<IntegrationStatsControllerGetSonarQubeMetricsCountMutationQueryParams, IntegrationStatsControllerGetSonarQubeMetricsCountRequestBody>, 'url'> {
13
+ queryParams: IntegrationStatsControllerGetSonarQubeMetricsCountMutationQueryParams;
14
+ body: IntegrationStatsControllerGetSonarQubeMetricsCountRequestBody;
15
+ }
16
+ export declare function integrationStatsControllerGetSonarQubeMetricsCount(props: IntegrationStatsControllerGetSonarQubeMetricsCountProps): Promise<IntegrationStatsControllerGetSonarQubeMetricsCountOkResponse>;
17
+ /**
18
+ * Get SonarQube metrics counts
19
+ */
20
+ export declare function useIntegrationStatsControllerGetSonarQubeMetricsCountMutation(options?: Omit<UseMutationOptions<IntegrationStatsControllerGetSonarQubeMetricsCountOkResponse, IntegrationStatsControllerGetSonarQubeMetricsCountErrorResponse, IntegrationStatsControllerGetSonarQubeMetricsCountProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<IntegrationStatsControllerGetSonarQubeMetricsCountOkResponse, IntegrationStatsControllerGetSonarQubeMetricsCountErrorResponse, IntegrationStatsControllerGetSonarQubeMetricsCountProps, 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 integrationStatsControllerGetSonarQubeMetricsCount(props) {
7
+ return fetcher(Object.assign({ url: `/v2/integration-stats/sonarqube/metrics`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Get SonarQube metrics counts
11
+ */
12
+ export function useIntegrationStatsControllerGetSonarQubeMetricsCountMutation(options) {
13
+ return useMutation((mutateProps) => integrationStatsControllerGetSonarQubeMetricsCount(mutateProps), options);
14
+ }
@@ -0,0 +1,33 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { OpenVulnerabilitiesResponseDto } from '../schemas/OpenVulnerabilitiesResponseDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SecurityInsightsControllerGetOpenVulnerabilitiesQueryQueryParams {
6
+ account: string;
7
+ projectIdentifier: string;
8
+ orgIdentifier: string;
9
+ /**
10
+ * @format int32
11
+ */
12
+ teamRefId: number;
13
+ /**
14
+ * @format date-time
15
+ */
16
+ startDate: string;
17
+ /**
18
+ * @format date-time
19
+ */
20
+ endDate: string;
21
+ granularity: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
22
+ assetType?: 'ALL' | 'CLI' | 'CONTAINER' | 'INFRASTRUCTURE' | 'REPOSITORY';
23
+ }
24
+ export type SecurityInsightsControllerGetOpenVulnerabilitiesOkResponse = ResponseWithPagination<OpenVulnerabilitiesResponseDto>;
25
+ export type SecurityInsightsControllerGetOpenVulnerabilitiesErrorResponse = string;
26
+ export interface SecurityInsightsControllerGetOpenVulnerabilitiesProps extends Omit<FetcherOptions<SecurityInsightsControllerGetOpenVulnerabilitiesQueryQueryParams, unknown>, 'url'> {
27
+ queryParams: SecurityInsightsControllerGetOpenVulnerabilitiesQueryQueryParams;
28
+ }
29
+ export declare function securityInsightsControllerGetOpenVulnerabilities(props: SecurityInsightsControllerGetOpenVulnerabilitiesProps): Promise<SecurityInsightsControllerGetOpenVulnerabilitiesOkResponse>;
30
+ /**
31
+ * Retrieves total count of open vulnerabilities with platform and severity breakdowns
32
+ */
33
+ export declare function useSecurityInsightsControllerGetOpenVulnerabilitiesQuery(props: SecurityInsightsControllerGetOpenVulnerabilitiesProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetOpenVulnerabilitiesOkResponse, SecurityInsightsControllerGetOpenVulnerabilitiesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetOpenVulnerabilitiesOkResponse, string>;
@@ -3,12 +3,12 @@
3
3
  // Please do not modify this code directly.
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
- export function securityInsightsControllerGetTotalOpenVulnerabilities(props) {
6
+ export function securityInsightsControllerGetOpenVulnerabilities(props) {
7
7
  return fetcher(Object.assign({ url: `/v2/insights/security/open-vulnerabilities`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Retrieves total count of open vulnerabilities with platform and severity breakdowns
11
11
  */
12
- export function useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery(props, options) {
13
- return useQuery(['SecurityInsightsControllerGetTotalOpenVulnerabilities', props.queryParams], ({ signal }) => securityInsightsControllerGetTotalOpenVulnerabilities(Object.assign(Object.assign({}, props), { signal })), options);
12
+ export function useSecurityInsightsControllerGetOpenVulnerabilitiesQuery(props, options) {
13
+ return useQuery(['SecurityInsightsControllerGetOpenVulnerabilities', props.queryParams], ({ signal }) => securityInsightsControllerGetOpenVulnerabilities(Object.assign(Object.assign({}, props), { signal })), options);
14
14
  }
@@ -11,11 +11,11 @@ export interface SecurityInsightsControllerGetSecurityDrilldownQueryQueryParams
11
11
  */
12
12
  teamRefId: number;
13
13
  /**
14
- * @format date
14
+ * @format date-time
15
15
  */
16
16
  startDate: string;
17
17
  /**
18
- * @format date
18
+ * @format date-time
19
19
  */
20
20
  endDate: string;
21
21
  metricType: 'AGED_VULNERABILITIES' | 'MTTR' | 'OPEN_CLOSE_RATE' | 'TOTAL_OPEN_VULNERABILITIES';
@@ -31,7 +31,7 @@ export interface SecurityInsightsControllerGetSecurityDrilldownQueryQueryParams
31
31
  * @default 20
32
32
  */
33
33
  pageSize?: number;
34
- sortBy?: 'AGE_IN_DAYS' | 'ASSET_TYPE' | 'CREATED_AT' | 'DISCOVERED_AT' | 'RESOLVED_AT' | 'SEVERITY' | 'STATUS' | 'TIME_TO_FIX_DAYS' | 'VULNERABILITY_ID';
34
+ sortBy?: 'AGE_IN_DAYS' | 'ASSET_TYPE' | 'CVSS_SCORE' | 'DISCOVERED_AT' | 'RESOLVED_AT' | 'SEVERITY' | 'STATUS' | 'TIME_TO_FIX_DAYS' | 'VULNERABILITY_ID';
35
35
  sortDirection?: 'ASC' | 'DESC';
36
36
  }
37
37
  export type SecurityInsightsControllerGetSecurityDrilldownOkResponse = ResponseWithPagination<SecurityDrilldownResponseDto>;
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { SprintExportRequestDto } from '../schemas/SprintExportRequestDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface SprintInsightsExportControllerGenerateExportSyncMutationQueryParams {
6
+ routingId: string;
7
+ projectIdentifier?: string;
8
+ orgIdentifier?: string;
9
+ }
10
+ export type SprintInsightsExportControllerGenerateExportSyncRequestBody = SprintExportRequestDto;
11
+ export type SprintInsightsExportControllerGenerateExportSyncOkResponse = ResponseWithPagination<unknown>;
12
+ export type SprintInsightsExportControllerGenerateExportSyncErrorResponse = unknown;
13
+ export interface SprintInsightsExportControllerGenerateExportSyncProps extends Omit<FetcherOptions<SprintInsightsExportControllerGenerateExportSyncMutationQueryParams, SprintInsightsExportControllerGenerateExportSyncRequestBody>, 'url'> {
14
+ queryParams: SprintInsightsExportControllerGenerateExportSyncMutationQueryParams;
15
+ body: SprintInsightsExportControllerGenerateExportSyncRequestBody;
16
+ }
17
+ export declare function sprintInsightsExportControllerGenerateExportSync(props: SprintInsightsExportControllerGenerateExportSyncProps): Promise<SprintInsightsExportControllerGenerateExportSyncOkResponse>;
18
+ /**
19
+ * Directly generates and returns a sprint metrics CSV file without async processing. Intended for testing purposes only. For production use, use the async POST /exports endpoint.
20
+ */
21
+ export declare function useSprintInsightsExportControllerGenerateExportSyncMutation(options?: Omit<UseMutationOptions<SprintInsightsExportControllerGenerateExportSyncOkResponse, SprintInsightsExportControllerGenerateExportSyncErrorResponse, SprintInsightsExportControllerGenerateExportSyncProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SprintInsightsExportControllerGenerateExportSyncOkResponse, unknown, SprintInsightsExportControllerGenerateExportSyncProps, 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 sprintInsightsExportControllerGenerateExportSync(props) {
7
+ return fetcher(Object.assign({ url: `/v2/insights/sprints/exports/sync`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Directly generates and returns a sprint metrics CSV file without async processing. Intended for testing purposes only. For production use, use the async POST /exports endpoint.
11
+ */
12
+ export function useSprintInsightsExportControllerGenerateExportSyncMutation(options) {
13
+ return useMutation((mutateProps) => sprintInsightsExportControllerGenerateExportSync(mutateProps), options);
14
+ }
@@ -201,6 +201,8 @@ export type { InsightsExportControllerCreateExportErrorResponse, InsightsExportC
201
201
  export { insightsExportControllerCreateExport, useInsightsExportControllerCreateExportMutation, } from './hooks/useInsightsExportControllerCreateExportMutation';
202
202
  export type { InsightsExportControllerDownloadExportErrorResponse, InsightsExportControllerDownloadExportOkResponse, InsightsExportControllerDownloadExportProps, InsightsExportControllerDownloadExportQueryPathParams, InsightsExportControllerDownloadExportQueryQueryParams, } from './hooks/useInsightsExportControllerDownloadExportQuery';
203
203
  export { insightsExportControllerDownloadExport, useInsightsExportControllerDownloadExportQuery, } from './hooks/useInsightsExportControllerDownloadExportQuery';
204
+ export type { InsightsExportControllerGenerateExportSyncErrorResponse, InsightsExportControllerGenerateExportSyncMutationQueryParams, InsightsExportControllerGenerateExportSyncOkResponse, InsightsExportControllerGenerateExportSyncProps, InsightsExportControllerGenerateExportSyncRequestBody, } from './hooks/useInsightsExportControllerGenerateExportSyncMutation';
205
+ export { insightsExportControllerGenerateExportSync, useInsightsExportControllerGenerateExportSyncMutation, } from './hooks/useInsightsExportControllerGenerateExportSyncMutation';
204
206
  export type { InsightsExportControllerGetExportStatusErrorResponse, InsightsExportControllerGetExportStatusOkResponse, InsightsExportControllerGetExportStatusProps, InsightsExportControllerGetExportStatusQueryPathParams, InsightsExportControllerGetExportStatusQueryQueryParams, } from './hooks/useInsightsExportControllerGetExportStatusQuery';
205
207
  export { insightsExportControllerGetExportStatus, useInsightsExportControllerGetExportStatusQuery, } from './hooks/useInsightsExportControllerGetExportStatusQuery';
206
208
  export type { InsightsExportControllerListExportsErrorResponse, InsightsExportControllerListExportsOkResponse, InsightsExportControllerListExportsProps, InsightsExportControllerListExportsQueryQueryParams, } from './hooks/useInsightsExportControllerListExportsQuery';
@@ -253,6 +255,16 @@ export type { IntegrationStatsControllerGetScmReposCountErrorResponse, Integrati
253
255
  export { integrationStatsControllerGetScmReposCount, useIntegrationStatsControllerGetScmReposCountQuery, } from './hooks/useIntegrationStatsControllerGetScmReposCountQuery';
254
256
  export type { IntegrationStatsControllerGetSecurityVulnerabilitiesCountErrorResponse, IntegrationStatsControllerGetSecurityVulnerabilitiesCountMutationQueryParams, IntegrationStatsControllerGetSecurityVulnerabilitiesCountOkResponse, IntegrationStatsControllerGetSecurityVulnerabilitiesCountProps, IntegrationStatsControllerGetSecurityVulnerabilitiesCountRequestBody, } from './hooks/useIntegrationStatsControllerGetSecurityVulnerabilitiesCountMutation';
255
257
  export { integrationStatsControllerGetSecurityVulnerabilitiesCount, useIntegrationStatsControllerGetSecurityVulnerabilitiesCountMutation, } from './hooks/useIntegrationStatsControllerGetSecurityVulnerabilitiesCountMutation';
258
+ export type { IntegrationStatsControllerGetSonarQubeAnalysesCountErrorResponse, IntegrationStatsControllerGetSonarQubeAnalysesCountMutationQueryParams, IntegrationStatsControllerGetSonarQubeAnalysesCountOkResponse, IntegrationStatsControllerGetSonarQubeAnalysesCountProps, IntegrationStatsControllerGetSonarQubeAnalysesCountRequestBody, } from './hooks/useIntegrationStatsControllerGetSonarQubeAnalysesCountMutation';
259
+ export { integrationStatsControllerGetSonarQubeAnalysesCount, useIntegrationStatsControllerGetSonarQubeAnalysesCountMutation, } from './hooks/useIntegrationStatsControllerGetSonarQubeAnalysesCountMutation';
260
+ export type { IntegrationStatsControllerGetSonarQubeDataCountErrorResponse, IntegrationStatsControllerGetSonarQubeDataCountMutationQueryParams, IntegrationStatsControllerGetSonarQubeDataCountOkResponse, IntegrationStatsControllerGetSonarQubeDataCountProps, IntegrationStatsControllerGetSonarQubeDataCountRequestBody, } from './hooks/useIntegrationStatsControllerGetSonarQubeDataCountMutation';
261
+ export { integrationStatsControllerGetSonarQubeDataCount, useIntegrationStatsControllerGetSonarQubeDataCountMutation, } from './hooks/useIntegrationStatsControllerGetSonarQubeDataCountMutation';
262
+ export type { IntegrationStatsControllerGetSonarQubeEntitiesCountErrorResponse, IntegrationStatsControllerGetSonarQubeEntitiesCountMutationQueryParams, IntegrationStatsControllerGetSonarQubeEntitiesCountOkResponse, IntegrationStatsControllerGetSonarQubeEntitiesCountProps, IntegrationStatsControllerGetSonarQubeEntitiesCountRequestBody, } from './hooks/useIntegrationStatsControllerGetSonarQubeEntitiesCountMutation';
263
+ export { integrationStatsControllerGetSonarQubeEntitiesCount, useIntegrationStatsControllerGetSonarQubeEntitiesCountMutation, } from './hooks/useIntegrationStatsControllerGetSonarQubeEntitiesCountMutation';
264
+ export type { IntegrationStatsControllerGetSonarQubeIssuesCountErrorResponse, IntegrationStatsControllerGetSonarQubeIssuesCountMutationQueryParams, IntegrationStatsControllerGetSonarQubeIssuesCountOkResponse, IntegrationStatsControllerGetSonarQubeIssuesCountProps, IntegrationStatsControllerGetSonarQubeIssuesCountRequestBody, } from './hooks/useIntegrationStatsControllerGetSonarQubeIssuesCountMutation';
265
+ export { integrationStatsControllerGetSonarQubeIssuesCount, useIntegrationStatsControllerGetSonarQubeIssuesCountMutation, } from './hooks/useIntegrationStatsControllerGetSonarQubeIssuesCountMutation';
266
+ export type { IntegrationStatsControllerGetSonarQubeMetricsCountErrorResponse, IntegrationStatsControllerGetSonarQubeMetricsCountMutationQueryParams, IntegrationStatsControllerGetSonarQubeMetricsCountOkResponse, IntegrationStatsControllerGetSonarQubeMetricsCountProps, IntegrationStatsControllerGetSonarQubeMetricsCountRequestBody, } from './hooks/useIntegrationStatsControllerGetSonarQubeMetricsCountMutation';
267
+ export { integrationStatsControllerGetSonarQubeMetricsCount, useIntegrationStatsControllerGetSonarQubeMetricsCountMutation, } from './hooks/useIntegrationStatsControllerGetSonarQubeMetricsCountMutation';
256
268
  export type { IntegrationStatsControllerGetWindsurfEventsCountErrorResponse, IntegrationStatsControllerGetWindsurfEventsCountOkResponse, IntegrationStatsControllerGetWindsurfEventsCountProps, IntegrationStatsControllerGetWindsurfEventsCountQueryQueryParams, } from './hooks/useIntegrationStatsControllerGetWindsurfEventsCountQuery';
257
269
  export { integrationStatsControllerGetWindsurfEventsCount, useIntegrationStatsControllerGetWindsurfEventsCountQuery, } from './hooks/useIntegrationStatsControllerGetWindsurfEventsCountQuery';
258
270
  export type { IntegrationStatsControllerGetWindsurfEventsCountWithDateRangeErrorResponse, IntegrationStatsControllerGetWindsurfEventsCountWithDateRangeMutationQueryParams, IntegrationStatsControllerGetWindsurfEventsCountWithDateRangeOkResponse, IntegrationStatsControllerGetWindsurfEventsCountWithDateRangeProps, IntegrationStatsControllerGetWindsurfEventsCountWithDateRangeRequestBody, } from './hooks/useIntegrationStatsControllerGetWindsurfEventsCountWithDateRangeMutation';
@@ -357,10 +369,10 @@ export type { ScmGaControllerGetBuildInfoFromPrErrorResponse, ScmGaControllerGet
357
369
  export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
358
370
  export type { ScmGaControllerGetDeployInfoFromPrErrorResponse, ScmGaControllerGetDeployInfoFromPrOkResponse, ScmGaControllerGetDeployInfoFromPrProps, ScmGaControllerGetDeployInfoFromPrQueryQueryParams, ScmGaControllerGetDeployInfoFromPrRequestBody, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
359
371
  export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
372
+ export type { SecurityInsightsControllerGetOpenVulnerabilitiesErrorResponse, SecurityInsightsControllerGetOpenVulnerabilitiesOkResponse, SecurityInsightsControllerGetOpenVulnerabilitiesProps, SecurityInsightsControllerGetOpenVulnerabilitiesQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesQuery';
373
+ export { securityInsightsControllerGetOpenVulnerabilities, useSecurityInsightsControllerGetOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesQuery';
360
374
  export type { SecurityInsightsControllerGetSecurityDrilldownErrorResponse, SecurityInsightsControllerGetSecurityDrilldownOkResponse, SecurityInsightsControllerGetSecurityDrilldownProps, SecurityInsightsControllerGetSecurityDrilldownQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
361
375
  export { securityInsightsControllerGetSecurityDrilldown, useSecurityInsightsControllerGetSecurityDrilldownQuery, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
362
- export type { SecurityInsightsControllerGetTotalOpenVulnerabilitiesErrorResponse, SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse, SecurityInsightsControllerGetTotalOpenVulnerabilitiesProps, SecurityInsightsControllerGetTotalOpenVulnerabilitiesQueryQueryParams, } from './hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery';
363
- export { securityInsightsControllerGetTotalOpenVulnerabilities, useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery';
364
376
  export type { SecurityProfileControllerCreateProfileErrorResponse, SecurityProfileControllerCreateProfileOkResponse, SecurityProfileControllerCreateProfileProps, SecurityProfileControllerCreateProfileRequestBody, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
365
377
  export { securityProfileControllerCreateProfile, useSecurityProfileControllerCreateProfileMutation, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
366
378
  export type { SecurityProfileControllerDeleteProfileErrorResponse, SecurityProfileControllerDeleteProfileMutationPathParams, SecurityProfileControllerDeleteProfileOkResponse, SecurityProfileControllerDeleteProfileProps, } from './hooks/useSecurityProfileControllerDeleteProfileMutation';
@@ -385,6 +397,8 @@ export type { SprintInsightsExportControllerCreateExportErrorResponse, SprintIns
385
397
  export { sprintInsightsExportControllerCreateExport, useSprintInsightsExportControllerCreateExportMutation, } from './hooks/useSprintInsightsExportControllerCreateExportMutation';
386
398
  export type { SprintInsightsExportControllerDownloadExportErrorResponse, SprintInsightsExportControllerDownloadExportOkResponse, SprintInsightsExportControllerDownloadExportProps, SprintInsightsExportControllerDownloadExportQueryPathParams, SprintInsightsExportControllerDownloadExportQueryQueryParams, } from './hooks/useSprintInsightsExportControllerDownloadExportQuery';
387
399
  export { sprintInsightsExportControllerDownloadExport, useSprintInsightsExportControllerDownloadExportQuery, } from './hooks/useSprintInsightsExportControllerDownloadExportQuery';
400
+ export type { SprintInsightsExportControllerGenerateExportSyncErrorResponse, SprintInsightsExportControllerGenerateExportSyncMutationQueryParams, SprintInsightsExportControllerGenerateExportSyncOkResponse, SprintInsightsExportControllerGenerateExportSyncProps, SprintInsightsExportControllerGenerateExportSyncRequestBody, } from './hooks/useSprintInsightsExportControllerGenerateExportSyncMutation';
401
+ export { sprintInsightsExportControllerGenerateExportSync, useSprintInsightsExportControllerGenerateExportSyncMutation, } from './hooks/useSprintInsightsExportControllerGenerateExportSyncMutation';
388
402
  export type { SprintInsightsExportControllerGetExportStatusErrorResponse, SprintInsightsExportControllerGetExportStatusOkResponse, SprintInsightsExportControllerGetExportStatusProps, SprintInsightsExportControllerGetExportStatusQueryPathParams, SprintInsightsExportControllerGetExportStatusQueryQueryParams, } from './hooks/useSprintInsightsExportControllerGetExportStatusQuery';
389
403
  export { sprintInsightsExportControllerGetExportStatus, useSprintInsightsExportControllerGetExportStatusQuery, } from './hooks/useSprintInsightsExportControllerGetExportStatusQuery';
390
404
  export type { SprintInsightsExportControllerListExportsErrorResponse, SprintInsightsExportControllerListExportsOkResponse, SprintInsightsExportControllerListExportsProps, SprintInsightsExportControllerListExportsQueryQueryParams, } from './hooks/useSprintInsightsExportControllerListExportsQuery';
@@ -558,6 +572,7 @@ export type { EfficiencyProfileResponseDto } from './schemas/EfficiencyProfileRe
558
572
  export type { EfficiencyRequest } from './schemas/EfficiencyRequest';
559
573
  export type { EfficiencyRequestDto } from './schemas/EfficiencyRequestDto';
560
574
  export type { EfficiencySummaryRequest } from './schemas/EfficiencySummaryRequest';
575
+ export type { EntityCountDetails } from './schemas/EntityCountDetails';
561
576
  export type { ErrorInfo } from './schemas/ErrorInfo';
562
577
  export type { ErrorResponse } from './schemas/ErrorResponse';
563
578
  export type { ExportItem } from './schemas/ExportItem';
@@ -710,6 +725,7 @@ export type { SecurityStatsRequest } from './schemas/SecurityStatsRequest';
710
725
  export type { SeverityData } from './schemas/SeverityData';
711
726
  export type { SeveritySummaryData } from './schemas/SeveritySummaryData';
712
727
  export type { SimpleFilter } from './schemas/SimpleFilter';
728
+ export type { SonarQubeEntitiesStatsDto } from './schemas/SonarQubeEntitiesStatsDto';
713
729
  export type { SortOption } from './schemas/SortOption';
714
730
  export type { SprintConfigurationDto } from './schemas/SprintConfigurationDto';
715
731
  export type { SprintDeliveryAnalysisDto } from './schemas/SprintDeliveryAnalysisDto';
@@ -99,6 +99,7 @@ export { healthControllerCheckDbHealth, useHealthControllerCheckDbHealthQuery, }
99
99
  export { imFieldsControllerListImFields, useImFieldsControllerListImFieldsQuery, } from './hooks/useImFieldsControllerListImFieldsQuery';
100
100
  export { insightsExportControllerCreateExport, useInsightsExportControllerCreateExportMutation, } from './hooks/useInsightsExportControllerCreateExportMutation';
101
101
  export { insightsExportControllerDownloadExport, useInsightsExportControllerDownloadExportQuery, } from './hooks/useInsightsExportControllerDownloadExportQuery';
102
+ export { insightsExportControllerGenerateExportSync, useInsightsExportControllerGenerateExportSyncMutation, } from './hooks/useInsightsExportControllerGenerateExportSyncMutation';
102
103
  export { insightsExportControllerGetExportStatus, useInsightsExportControllerGetExportStatusQuery, } from './hooks/useInsightsExportControllerGetExportStatusQuery';
103
104
  export { insightsExportControllerListExports, useInsightsExportControllerListExportsQuery, } from './hooks/useInsightsExportControllerListExportsQuery';
104
105
  export { integrationControllerGetFilterValues, useIntegrationControllerGetFilterValuesQuery, } from './hooks/useIntegrationControllerGetFilterValuesQuery';
@@ -125,6 +126,11 @@ export { integrationStatsControllerGetScmCommitsCount, useIntegrationStatsContro
125
126
  export { integrationStatsControllerGetScmPrsCount, useIntegrationStatsControllerGetScmPrsCountQuery, } from './hooks/useIntegrationStatsControllerGetScmPrsCountQuery';
126
127
  export { integrationStatsControllerGetScmReposCount, useIntegrationStatsControllerGetScmReposCountQuery, } from './hooks/useIntegrationStatsControllerGetScmReposCountQuery';
127
128
  export { integrationStatsControllerGetSecurityVulnerabilitiesCount, useIntegrationStatsControllerGetSecurityVulnerabilitiesCountMutation, } from './hooks/useIntegrationStatsControllerGetSecurityVulnerabilitiesCountMutation';
129
+ export { integrationStatsControllerGetSonarQubeAnalysesCount, useIntegrationStatsControllerGetSonarQubeAnalysesCountMutation, } from './hooks/useIntegrationStatsControllerGetSonarQubeAnalysesCountMutation';
130
+ export { integrationStatsControllerGetSonarQubeDataCount, useIntegrationStatsControllerGetSonarQubeDataCountMutation, } from './hooks/useIntegrationStatsControllerGetSonarQubeDataCountMutation';
131
+ export { integrationStatsControllerGetSonarQubeEntitiesCount, useIntegrationStatsControllerGetSonarQubeEntitiesCountMutation, } from './hooks/useIntegrationStatsControllerGetSonarQubeEntitiesCountMutation';
132
+ export { integrationStatsControllerGetSonarQubeIssuesCount, useIntegrationStatsControllerGetSonarQubeIssuesCountMutation, } from './hooks/useIntegrationStatsControllerGetSonarQubeIssuesCountMutation';
133
+ export { integrationStatsControllerGetSonarQubeMetricsCount, useIntegrationStatsControllerGetSonarQubeMetricsCountMutation, } from './hooks/useIntegrationStatsControllerGetSonarQubeMetricsCountMutation';
128
134
  export { integrationStatsControllerGetWindsurfEventsCount, useIntegrationStatsControllerGetWindsurfEventsCountQuery, } from './hooks/useIntegrationStatsControllerGetWindsurfEventsCountQuery';
129
135
  export { integrationStatsControllerGetWindsurfEventsCountWithDateRange, useIntegrationStatsControllerGetWindsurfEventsCountWithDateRangeMutation, } from './hooks/useIntegrationStatsControllerGetWindsurfEventsCountWithDateRangeMutation';
130
136
  export { integrationStatsControllerGetWindsurfUsersCount, useIntegrationStatsControllerGetWindsurfUsersCountQuery, } from './hooks/useIntegrationStatsControllerGetWindsurfUsersCountQuery';
@@ -177,8 +183,8 @@ export { productivityV3ControllerGetFeatureMetrics, useProductivityV3ControllerG
177
183
  export { productivityV3ControllerGetIndividualUserFeatureDrillDown, useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery, } from './hooks/useProductivityV3ControllerGetIndividualUserFeatureDrillDownQuery';
178
184
  export { scmGaControllerGetBuildInfoFromPr, useScmGaControllerGetBuildInfoFromPrQuery, } from './hooks/useScmGaControllerGetBuildInfoFromPrQuery';
179
185
  export { scmGaControllerGetDeployInfoFromPr, useScmGaControllerGetDeployInfoFromPrQuery, } from './hooks/useScmGaControllerGetDeployInfoFromPrQuery';
186
+ export { securityInsightsControllerGetOpenVulnerabilities, useSecurityInsightsControllerGetOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetOpenVulnerabilitiesQuery';
180
187
  export { securityInsightsControllerGetSecurityDrilldown, useSecurityInsightsControllerGetSecurityDrilldownQuery, } from './hooks/useSecurityInsightsControllerGetSecurityDrilldownQuery';
181
- export { securityInsightsControllerGetTotalOpenVulnerabilities, useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery, } from './hooks/useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery';
182
188
  export { securityProfileControllerCreateProfile, useSecurityProfileControllerCreateProfileMutation, } from './hooks/useSecurityProfileControllerCreateProfileMutation';
183
189
  export { securityProfileControllerDeleteProfile, useSecurityProfileControllerDeleteProfileMutation, } from './hooks/useSecurityProfileControllerDeleteProfileMutation';
184
190
  export { securityProfileControllerGetProfile, useSecurityProfileControllerGetProfileQuery, } from './hooks/useSecurityProfileControllerGetProfileQuery';
@@ -191,6 +197,7 @@ export { sprintInsightsControllerGetSprintSummary, useSprintInsightsControllerGe
191
197
  export { sprintInsightsControllerSearchSprintTickets, useSprintInsightsControllerSearchSprintTicketsQuery, } from './hooks/useSprintInsightsControllerSearchSprintTicketsQuery';
192
198
  export { sprintInsightsExportControllerCreateExport, useSprintInsightsExportControllerCreateExportMutation, } from './hooks/useSprintInsightsExportControllerCreateExportMutation';
193
199
  export { sprintInsightsExportControllerDownloadExport, useSprintInsightsExportControllerDownloadExportQuery, } from './hooks/useSprintInsightsExportControllerDownloadExportQuery';
200
+ export { sprintInsightsExportControllerGenerateExportSync, useSprintInsightsExportControllerGenerateExportSyncMutation, } from './hooks/useSprintInsightsExportControllerGenerateExportSyncMutation';
194
201
  export { sprintInsightsExportControllerGetExportStatus, useSprintInsightsExportControllerGetExportStatusQuery, } from './hooks/useSprintInsightsExportControllerGetExportStatusQuery';
195
202
  export { sprintInsightsExportControllerListExports, useSprintInsightsExportControllerListExportsQuery, } from './hooks/useSprintInsightsExportControllerListExportsQuery';
196
203
  export { teamsControllerAssociateDevelopersToTeam, useTeamsControllerAssociateDevelopersToTeamMutation, } from './hooks/useTeamsControllerAssociateDevelopersToTeamMutation';
@@ -39,6 +39,30 @@ export interface ActivityDataDto {
39
39
  * @format int64
40
40
  */
41
41
  securityIssues?: number;
42
+ /**
43
+ * @format int64
44
+ */
45
+ sonarQubeAnalyses?: number;
46
+ /**
47
+ * @format int64
48
+ */
49
+ sonarQubeBranches?: number;
50
+ /**
51
+ * @format int64
52
+ */
53
+ sonarQubeIssues?: number;
54
+ /**
55
+ * @format int64
56
+ */
57
+ sonarQubeMetrics?: number;
58
+ /**
59
+ * @format int64
60
+ */
61
+ sonarQubeProjects?: number;
62
+ /**
63
+ * @format int64
64
+ */
65
+ sonarQubePullRequests?: number;
42
66
  /**
43
67
  * @format int64
44
68
  */
@@ -0,0 +1,12 @@
1
+ import type { DailyCountDataPoint } from '../schemas/DailyCountDataPoint';
2
+ export interface EntityCountDetails {
3
+ /**
4
+ * @format int64
5
+ */
6
+ count?: number;
7
+ dailyCounts?: DailyCountDataPoint[];
8
+ /**
9
+ * @format int64
10
+ */
11
+ totalCount?: number;
12
+ }
@@ -5,14 +5,14 @@ import type { SeverityData } from '../schemas/SeverityData';
5
5
  export interface OpenVulnerabilitiesDataPointDto {
6
6
  /**
7
7
  * End date of the period (yyyy-mm-dd)
8
- * @format date
8
+ * @format date-time
9
9
  * @example "2024-10-07"
10
10
  */
11
11
  endDate?: string;
12
12
  severityData?: SeverityData;
13
13
  /**
14
14
  * Start date of the period (yyyy-mm-dd)
15
- * @format date
15
+ * @format date-time
16
16
  * @example "2024-10-01"
17
17
  */
18
18
  startDate?: string;
@@ -7,14 +7,14 @@ export interface OpenVulnerabilitiesResponseDto {
7
7
  dataPoints?: OpenVulnerabilitiesDataPointDto[];
8
8
  /**
9
9
  * End date of the period (yyyy-mm-dd)
10
- * @format date
10
+ * @format date-time
11
11
  * @example "2024-12-30"
12
12
  */
13
13
  endDate?: string;
14
14
  severitySummary?: SeveritySummaryData;
15
15
  /**
16
16
  * Start date of the period (yyyy-mm-dd)
17
- * @format date
17
+ * @format date-time
18
18
  * @example "2024-10-01"
19
19
  */
20
20
  startDate?: string;
@@ -0,0 +1,11 @@
1
+ import type { EntityCountDetails } from '../schemas/EntityCountDetails';
2
+ export interface SonarQubeEntitiesStatsDto {
3
+ branches?: EntityCountDetails;
4
+ integrationId?: string;
5
+ projects?: EntityCountDetails;
6
+ pullRequests?: EntityCountDetails;
7
+ /**
8
+ * @format int64
9
+ */
10
+ totalEntities?: number;
11
+ }
@@ -39,8 +39,13 @@ export interface VulnerabilityDetail {
39
39
  * @format date-time
40
40
  */
41
41
  resolvedAt?: string;
42
+ severity?: string;
42
43
  status?: 'IGNORED' | 'IN_PROGRESS' | 'OPEN' | 'RESOLVED';
43
44
  targetFile?: string;
45
+ /**
46
+ * @format int32
47
+ */
48
+ timeToFix?: number;
44
49
  title?: string;
45
50
  url?: string;
46
51
  vulnerabilityId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-sei-panorama-service-client",
3
- "version": "0.26.0",
3
+ "version": "0.26.2",
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",
@@ -1,33 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { OpenVulnerabilitiesResponseDto } from '../schemas/OpenVulnerabilitiesResponseDto';
3
- import type { ResponseWithPagination } from '../helpers';
4
- import { FetcherOptions } from '../../../../fetcher/index.js';
5
- export interface SecurityInsightsControllerGetTotalOpenVulnerabilitiesQueryQueryParams {
6
- account: string;
7
- projectIdentifier: string;
8
- orgIdentifier: string;
9
- /**
10
- * @format int32
11
- */
12
- teamRefId: number;
13
- /**
14
- * @format date
15
- */
16
- startDate: string;
17
- /**
18
- * @format date
19
- */
20
- endDate: string;
21
- granularity: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY';
22
- assetType?: 'ALL' | 'CLI' | 'CONTAINER' | 'INFRASTRUCTURE' | 'REPOSITORY';
23
- }
24
- export type SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse = ResponseWithPagination<OpenVulnerabilitiesResponseDto>;
25
- export type SecurityInsightsControllerGetTotalOpenVulnerabilitiesErrorResponse = string;
26
- export interface SecurityInsightsControllerGetTotalOpenVulnerabilitiesProps extends Omit<FetcherOptions<SecurityInsightsControllerGetTotalOpenVulnerabilitiesQueryQueryParams, unknown>, 'url'> {
27
- queryParams: SecurityInsightsControllerGetTotalOpenVulnerabilitiesQueryQueryParams;
28
- }
29
- export declare function securityInsightsControllerGetTotalOpenVulnerabilities(props: SecurityInsightsControllerGetTotalOpenVulnerabilitiesProps): Promise<SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse>;
30
- /**
31
- * Retrieves total count of open vulnerabilities with platform and severity breakdowns
32
- */
33
- export declare function useSecurityInsightsControllerGetTotalOpenVulnerabilitiesQuery(props: SecurityInsightsControllerGetTotalOpenVulnerabilitiesProps, options?: Omit<UseQueryOptions<SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse, SecurityInsightsControllerGetTotalOpenVulnerabilitiesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SecurityInsightsControllerGetTotalOpenVulnerabilitiesOkResponse, string>;