@harnessio/react-ssca-manager-client 0.84.25 → 0.84.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ssca-manager/src/services/hooks/useGetAccountAiWorkflowConfigQuery.d.ts +20 -0
- package/dist/ssca-manager/src/services/hooks/useGetAccountAiWorkflowConfigQuery.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionAffectedTargetsQuery.d.ts +33 -0
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionAffectedTargetsQuery.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionDetailQuery.d.ts +24 -0
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionDetailQuery.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionStepsAccountScopeQuery.d.ts +25 -0
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionStepsAccountScopeQuery.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionsAccountScopeQuery.d.ts +41 -0
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionsAccountScopeQuery.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useListAgentStatusesQuery.d.ts +20 -0
- package/dist/ssca-manager/src/services/hooks/useListAgentStatusesQuery.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useSaveAccountAiWorkflowConfigMutation.d.ts +22 -0
- package/dist/ssca-manager/src/services/hooks/useSaveAccountAiWorkflowConfigMutation.js +14 -0
- package/dist/ssca-manager/src/services/hooks/useToggleAgentStatusMutation.d.ts +19 -0
- package/dist/ssca-manager/src/services/hooks/useToggleAgentStatusMutation.js +14 -0
- package/dist/ssca-manager/src/services/index.d.ts +26 -12
- package/dist/ssca-manager/src/services/index.js +8 -4
- package/dist/ssca-manager/src/services/requestBodies/ListSbomComponentsRequestBodyRequestBody.d.ts +2 -0
- package/dist/ssca-manager/src/services/schemas/AffectedArtifactInfo.d.ts +20 -0
- package/dist/ssca-manager/src/services/schemas/AgentToggleRequest.d.ts +5 -0
- package/dist/ssca-manager/src/services/schemas/AgentToggleRequest.js +1 -0
- package/dist/ssca-manager/src/services/schemas/AgentToggleStatus.d.ts +5 -0
- package/dist/ssca-manager/src/services/schemas/AgentToggleStatus.js +1 -0
- package/dist/ssca-manager/src/services/schemas/AiBomComponentViewResponse.d.ts +28 -0
- package/dist/ssca-manager/src/services/schemas/AiWorkflowConfigRequest.d.ts +0 -6
- package/dist/ssca-manager/src/services/schemas/AiWorkflowConfigResponse.d.ts +0 -3
- package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionDetailResponse.d.ts +5 -107
- package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionRequest.d.ts +8 -0
- package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionSummary.d.ts +6 -62
- package/dist/ssca-manager/src/services/schemas/InternalAffectedArtifact.d.ts +4 -0
- package/dist/ssca-manager/src/services/schemas/InternalIdentificationResult.d.ts +1 -1
- package/dist/ssca-manager/src/services/schemas/ListSbomComponentsRequest.d.ts +6 -0
- package/dist/ssca-manager/src/services/schemas/ListSbomComponentsRequest.js +1 -0
- package/dist/ssca-manager/src/services/schemas/NonContainerListingSpec.d.ts +16 -0
- package/dist/ssca-manager/src/services/schemas/NonContainerListingSpec.js +1 -0
- package/dist/ssca-manager/src/services/schemas/SbomListingArtifactSpec.d.ts +3 -0
- package/dist/ssca-manager/src/services/schemas/TriageFindingDetail.d.ts +18 -0
- package/dist/ssca-manager/src/services/schemas/TriageFindingDetail.js +1 -0
- package/dist/ssca-manager/src/services/schemas/TriageFindingSummary.d.ts +12 -0
- package/dist/ssca-manager/src/services/schemas/VulnerabilityFindingDetail.d.ts +19 -0
- package/dist/ssca-manager/src/services/schemas/VulnerabilityFindingDetail.js +1 -0
- package/dist/ssca-manager/src/services/schemas/VulnerabilityFindingSummary.d.ts +17 -0
- package/package.json +1 -1
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowConfigQuery.d.ts +0 -25
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowConfigQuery.js +0 -14
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionStepsQuery.d.ts +0 -23
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionStepsQuery.js +0 -14
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionsQuery.d.ts +0 -39
- package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionsQuery.js +0 -14
- package/dist/ssca-manager/src/services/hooks/useSaveAiWorkflowConfigMutation.d.ts +0 -28
- package/dist/ssca-manager/src/services/hooks/useSaveAiWorkflowConfigMutation.js +0 -14
- package/dist/ssca-manager/src/services/schemas/BatchAccountResult.d.ts +0 -11
- package/dist/ssca-manager/src/services/schemas/BatchTriggerRequest.d.ts +0 -10
- package/dist/ssca-manager/src/services/schemas/BatchTriggerResponse.d.ts +0 -5
- package/dist/ssca-manager/src/services/schemas/RemediationBatchDetail.d.ts +0 -20
- /package/dist/ssca-manager/src/services/{schemas/RemediationBatchDetail.js → requestBodies/ListSbomComponentsRequestBodyRequestBody.js} +0 -0
- /package/dist/ssca-manager/src/services/schemas/{BatchAccountResult.js → SbomListingArtifactSpec.js} +0 -0
- /package/dist/ssca-manager/src/services/schemas/{BatchTriggerRequest.js → TriageFindingSummary.js} +0 -0
- /package/dist/ssca-manager/src/services/schemas/{BatchTriggerResponse.js → VulnerabilityFindingSummary.js} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetAccountAiWorkflowConfigQueryQueryParams {
|
|
6
|
+
ai_workflow_type?: AiWorkflowTypeEnum;
|
|
7
|
+
}
|
|
8
|
+
export interface GetAccountAiWorkflowConfigQueryHeaderParams {
|
|
9
|
+
'Harness-Account': string;
|
|
10
|
+
}
|
|
11
|
+
export type GetAccountAiWorkflowConfigOkResponse = ResponseWithPagination<unknown>;
|
|
12
|
+
export type GetAccountAiWorkflowConfigErrorResponse = unknown;
|
|
13
|
+
export interface GetAccountAiWorkflowConfigProps extends Omit<FetcherOptions<GetAccountAiWorkflowConfigQueryQueryParams, unknown, GetAccountAiWorkflowConfigQueryHeaderParams>, 'url'> {
|
|
14
|
+
queryParams: GetAccountAiWorkflowConfigQueryQueryParams;
|
|
15
|
+
}
|
|
16
|
+
export declare function getAccountAiWorkflowConfig(props: GetAccountAiWorkflowConfigProps): Promise<GetAccountAiWorkflowConfigOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get account-level AI workflow configuration.
|
|
19
|
+
*/
|
|
20
|
+
export declare function useGetAccountAiWorkflowConfigQuery(props: GetAccountAiWorkflowConfigProps, options?: Omit<UseQueryOptions<GetAccountAiWorkflowConfigOkResponse, GetAccountAiWorkflowConfigErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAccountAiWorkflowConfigOkResponse, 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 getAccountAiWorkflowConfig(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/ai-workflow-config`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get account-level AI workflow configuration.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAccountAiWorkflowConfigQuery(props, options) {
|
|
13
|
+
return useQuery(['getAccountAIWorkflowConfig', props.queryParams], ({ signal }) => getAccountAiWorkflowConfig(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionAffectedTargetsQuery.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AffectedArtifactInfo } from '../schemas/AffectedArtifactInfo';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetAiWorkflowExecutionAffectedTargetsQueryPathParams {
|
|
6
|
+
executionId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetAiWorkflowExecutionAffectedTargetsQueryQueryParams {
|
|
9
|
+
search?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @default 0
|
|
12
|
+
*/
|
|
13
|
+
page?: number;
|
|
14
|
+
/**
|
|
15
|
+
* @default 30
|
|
16
|
+
*/
|
|
17
|
+
limit?: number;
|
|
18
|
+
org?: string;
|
|
19
|
+
project?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface GetAiWorkflowExecutionAffectedTargetsQueryHeaderParams {
|
|
22
|
+
'Harness-Account': string;
|
|
23
|
+
}
|
|
24
|
+
export type GetAiWorkflowExecutionAffectedTargetsOkResponse = ResponseWithPagination<AffectedArtifactInfo[]>;
|
|
25
|
+
export type GetAiWorkflowExecutionAffectedTargetsErrorResponse = unknown;
|
|
26
|
+
export interface GetAiWorkflowExecutionAffectedTargetsProps extends GetAiWorkflowExecutionAffectedTargetsQueryPathParams, Omit<FetcherOptions<GetAiWorkflowExecutionAffectedTargetsQueryQueryParams, unknown, GetAiWorkflowExecutionAffectedTargetsQueryHeaderParams>, 'url'> {
|
|
27
|
+
queryParams: GetAiWorkflowExecutionAffectedTargetsQueryQueryParams;
|
|
28
|
+
}
|
|
29
|
+
export declare function getAiWorkflowExecutionAffectedTargets(props: GetAiWorkflowExecutionAffectedTargetsProps): Promise<GetAiWorkflowExecutionAffectedTargetsOkResponse>;
|
|
30
|
+
/**
|
|
31
|
+
* Get paginated affected targets for a specific AI workflow execution with optional search filter
|
|
32
|
+
*/
|
|
33
|
+
export declare function useGetAiWorkflowExecutionAffectedTargetsQuery(props: GetAiWorkflowExecutionAffectedTargetsProps, options?: Omit<UseQueryOptions<GetAiWorkflowExecutionAffectedTargetsOkResponse, GetAiWorkflowExecutionAffectedTargetsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAiWorkflowExecutionAffectedTargetsOkResponse, 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 getAiWorkflowExecutionAffectedTargets(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/ai-workflow-executions/${props.executionId}/affected-targets`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get paginated affected targets for a specific AI workflow execution with optional search filter
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAiWorkflowExecutionAffectedTargetsQuery(props, options) {
|
|
13
|
+
return useQuery(['getAIWorkflowExecutionAffectedTargets', props.executionId, props.queryParams], ({ signal }) => getAiWorkflowExecutionAffectedTargets(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AiWorkflowExecutionDetailResponse } from '../schemas/AiWorkflowExecutionDetailResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetAiWorkflowExecutionDetailQueryPathParams {
|
|
6
|
+
executionId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetAiWorkflowExecutionDetailQueryQueryParams {
|
|
9
|
+
org?: string;
|
|
10
|
+
project?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface GetAiWorkflowExecutionDetailQueryHeaderParams {
|
|
13
|
+
'Harness-Account': string;
|
|
14
|
+
}
|
|
15
|
+
export type GetAiWorkflowExecutionDetailOkResponse = ResponseWithPagination<AiWorkflowExecutionDetailResponse>;
|
|
16
|
+
export type GetAiWorkflowExecutionDetailErrorResponse = unknown;
|
|
17
|
+
export interface GetAiWorkflowExecutionDetailProps extends GetAiWorkflowExecutionDetailQueryPathParams, Omit<FetcherOptions<GetAiWorkflowExecutionDetailQueryQueryParams, unknown, GetAiWorkflowExecutionDetailQueryHeaderParams>, 'url'> {
|
|
18
|
+
queryParams: GetAiWorkflowExecutionDetailQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function getAiWorkflowExecutionDetail(props: GetAiWorkflowExecutionDetailProps): Promise<GetAiWorkflowExecutionDetailOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Get detailed information for a specific AI workflow execution including affected artifacts and production deployment info
|
|
23
|
+
*/
|
|
24
|
+
export declare function useGetAiWorkflowExecutionDetailQuery(props: GetAiWorkflowExecutionDetailProps, options?: Omit<UseQueryOptions<GetAiWorkflowExecutionDetailOkResponse, GetAiWorkflowExecutionDetailErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAiWorkflowExecutionDetailOkResponse, 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 getAiWorkflowExecutionDetail(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/ai-workflow-executions/${props.executionId}/detail`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get detailed information for a specific AI workflow execution including affected artifacts and production deployment info
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAiWorkflowExecutionDetailQuery(props, options) {
|
|
13
|
+
return useQuery(['getAIWorkflowExecutionDetail', props.executionId, props.queryParams], ({ signal }) => getAiWorkflowExecutionDetail(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionStepsAccountScopeQuery.d.ts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AiWorkflowExecutionStepsResponse } from '../schemas/AiWorkflowExecutionStepsResponse';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface GetAiWorkflowExecutionStepsAccountScopeQueryPathParams {
|
|
6
|
+
executionId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetAiWorkflowExecutionStepsAccountScopeQueryQueryParams {
|
|
9
|
+
ai_workflow_type: string;
|
|
10
|
+
org?: string;
|
|
11
|
+
project?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetAiWorkflowExecutionStepsAccountScopeQueryHeaderParams {
|
|
14
|
+
'Harness-Account': string;
|
|
15
|
+
}
|
|
16
|
+
export type GetAiWorkflowExecutionStepsAccountScopeOkResponse = ResponseWithPagination<AiWorkflowExecutionStepsResponse>;
|
|
17
|
+
export type GetAiWorkflowExecutionStepsAccountScopeErrorResponse = unknown;
|
|
18
|
+
export interface GetAiWorkflowExecutionStepsAccountScopeProps extends GetAiWorkflowExecutionStepsAccountScopeQueryPathParams, Omit<FetcherOptions<GetAiWorkflowExecutionStepsAccountScopeQueryQueryParams, unknown, GetAiWorkflowExecutionStepsAccountScopeQueryHeaderParams>, 'url'> {
|
|
19
|
+
queryParams: GetAiWorkflowExecutionStepsAccountScopeQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getAiWorkflowExecutionStepsAccountScope(props: GetAiWorkflowExecutionStepsAccountScopeProps): Promise<GetAiWorkflowExecutionStepsAccountScopeOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Get step details for a specific AI workflow execution (account scope).
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetAiWorkflowExecutionStepsAccountScopeQuery(props: GetAiWorkflowExecutionStepsAccountScopeProps, options?: Omit<UseQueryOptions<GetAiWorkflowExecutionStepsAccountScopeOkResponse, GetAiWorkflowExecutionStepsAccountScopeErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAiWorkflowExecutionStepsAccountScopeOkResponse, unknown>;
|
package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionStepsAccountScopeQuery.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function getAiWorkflowExecutionStepsAccountScope(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/ai-workflow-executions/${props.executionId}/steps`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get step details for a specific AI workflow execution (account scope).
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAiWorkflowExecutionStepsAccountScopeQuery(props, options) {
|
|
13
|
+
return useQuery(['getAIWorkflowExecutionStepsAccountScope', props.executionId, props.queryParams], ({ signal }) => getAiWorkflowExecutionStepsAccountScope(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AiWorkflowExecutionSummary } from '../schemas/AiWorkflowExecutionSummary';
|
|
3
|
+
import type { AiWorkflowExecutionStatusEnum } from '../schemas/AiWorkflowExecutionStatusEnum';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetAiWorkflowExecutionsAccountScopeQueryQueryParams {
|
|
7
|
+
ai_workflow_type?: string;
|
|
8
|
+
status?: AiWorkflowExecutionStatusEnum;
|
|
9
|
+
/**
|
|
10
|
+
* @format int64
|
|
11
|
+
*/
|
|
12
|
+
from_timestamp?: number;
|
|
13
|
+
/**
|
|
14
|
+
* @format int64
|
|
15
|
+
*/
|
|
16
|
+
to_timestamp?: number;
|
|
17
|
+
batch_id?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @default 0
|
|
20
|
+
*/
|
|
21
|
+
page?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @default 30
|
|
24
|
+
*/
|
|
25
|
+
limit?: number;
|
|
26
|
+
org?: string;
|
|
27
|
+
project?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface GetAiWorkflowExecutionsAccountScopeQueryHeaderParams {
|
|
30
|
+
'Harness-Account': string;
|
|
31
|
+
}
|
|
32
|
+
export type GetAiWorkflowExecutionsAccountScopeOkResponse = ResponseWithPagination<AiWorkflowExecutionSummary[]>;
|
|
33
|
+
export type GetAiWorkflowExecutionsAccountScopeErrorResponse = unknown;
|
|
34
|
+
export interface GetAiWorkflowExecutionsAccountScopeProps extends Omit<FetcherOptions<GetAiWorkflowExecutionsAccountScopeQueryQueryParams, unknown, GetAiWorkflowExecutionsAccountScopeQueryHeaderParams>, 'url'> {
|
|
35
|
+
queryParams: GetAiWorkflowExecutionsAccountScopeQueryQueryParams;
|
|
36
|
+
}
|
|
37
|
+
export declare function getAiWorkflowExecutionsAccountScope(props: GetAiWorkflowExecutionsAccountScopeProps): Promise<GetAiWorkflowExecutionsAccountScopeOkResponse>;
|
|
38
|
+
/**
|
|
39
|
+
* Get AI workflow executions for the account across all orgs/projects
|
|
40
|
+
*/
|
|
41
|
+
export declare function useGetAiWorkflowExecutionsAccountScopeQuery(props: GetAiWorkflowExecutionsAccountScopeProps, options?: Omit<UseQueryOptions<GetAiWorkflowExecutionsAccountScopeOkResponse, GetAiWorkflowExecutionsAccountScopeErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAiWorkflowExecutionsAccountScopeOkResponse, 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 getAiWorkflowExecutionsAccountScope(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/ai-workflow-executions`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get AI workflow executions for the account across all orgs/projects
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAiWorkflowExecutionsAccountScopeQuery(props, options) {
|
|
13
|
+
return useQuery(['getAIWorkflowExecutionsAccountScope', props.queryParams], ({ signal }) => getAiWorkflowExecutionsAccountScope(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AgentToggleStatus } from '../schemas/AgentToggleStatus';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface ListAgentStatusesQueryQueryParams {
|
|
6
|
+
module: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ListAgentStatusesQueryHeaderParams {
|
|
9
|
+
'Harness-Account': string;
|
|
10
|
+
}
|
|
11
|
+
export type ListAgentStatusesOkResponse = ResponseWithPagination<AgentToggleStatus[]>;
|
|
12
|
+
export type ListAgentStatusesErrorResponse = unknown;
|
|
13
|
+
export interface ListAgentStatusesProps extends Omit<FetcherOptions<ListAgentStatusesQueryQueryParams, unknown, ListAgentStatusesQueryHeaderParams>, 'url'> {
|
|
14
|
+
queryParams: ListAgentStatusesQueryQueryParams;
|
|
15
|
+
}
|
|
16
|
+
export declare function listAgentStatuses(props: ListAgentStatusesProps): Promise<ListAgentStatusesOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* List agent toggle statuses for a module
|
|
19
|
+
*/
|
|
20
|
+
export declare function useListAgentStatusesQuery(props: ListAgentStatusesProps, options?: Omit<UseQueryOptions<ListAgentStatusesOkResponse, ListAgentStatusesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListAgentStatusesOkResponse, 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 listAgentStatuses(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/ai-workflow-agents`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List agent toggle statuses for a module
|
|
11
|
+
*/
|
|
12
|
+
export function useListAgentStatusesQuery(props, options) {
|
|
13
|
+
return useQuery(['listAgentStatuses', props.queryParams], ({ signal }) => listAgentStatuses(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface SaveAccountAiWorkflowConfigMutationQueryParams {
|
|
6
|
+
ai_workflow_type?: AiWorkflowTypeEnum;
|
|
7
|
+
}
|
|
8
|
+
export interface SaveAccountAiWorkflowConfigMutationHeaderParams {
|
|
9
|
+
'Harness-Account': string;
|
|
10
|
+
}
|
|
11
|
+
export type SaveAccountAiWorkflowConfigRequestBody = unknown;
|
|
12
|
+
export type SaveAccountAiWorkflowConfigOkResponse = ResponseWithPagination<unknown>;
|
|
13
|
+
export type SaveAccountAiWorkflowConfigErrorResponse = unknown;
|
|
14
|
+
export interface SaveAccountAiWorkflowConfigProps extends Omit<FetcherOptions<SaveAccountAiWorkflowConfigMutationQueryParams, SaveAccountAiWorkflowConfigRequestBody, SaveAccountAiWorkflowConfigMutationHeaderParams>, 'url'> {
|
|
15
|
+
queryParams: SaveAccountAiWorkflowConfigMutationQueryParams;
|
|
16
|
+
body: SaveAccountAiWorkflowConfigRequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function saveAccountAiWorkflowConfig(props: SaveAccountAiWorkflowConfigProps): Promise<SaveAccountAiWorkflowConfigOkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Create or update account-level AI workflow configuration.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useSaveAccountAiWorkflowConfigMutation(options?: Omit<UseMutationOptions<SaveAccountAiWorkflowConfigOkResponse, SaveAccountAiWorkflowConfigErrorResponse, SaveAccountAiWorkflowConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SaveAccountAiWorkflowConfigOkResponse, unknown, SaveAccountAiWorkflowConfigProps, 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 saveAccountAiWorkflowConfig(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/ai-workflow-config`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create or update account-level AI workflow configuration.
|
|
11
|
+
*/
|
|
12
|
+
export function useSaveAccountAiWorkflowConfigMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => saveAccountAiWorkflowConfig(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { AgentToggleStatus } from '../schemas/AgentToggleStatus';
|
|
3
|
+
import type { AgentToggleRequest } from '../schemas/AgentToggleRequest';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ToggleAgentStatusMutationHeaderParams {
|
|
7
|
+
'Harness-Account': string;
|
|
8
|
+
}
|
|
9
|
+
export type ToggleAgentStatusRequestBody = AgentToggleRequest;
|
|
10
|
+
export type ToggleAgentStatusOkResponse = ResponseWithPagination<AgentToggleStatus>;
|
|
11
|
+
export type ToggleAgentStatusErrorResponse = unknown;
|
|
12
|
+
export interface ToggleAgentStatusProps extends Omit<FetcherOptions<unknown, ToggleAgentStatusRequestBody, ToggleAgentStatusMutationHeaderParams>, 'url'> {
|
|
13
|
+
body: ToggleAgentStatusRequestBody;
|
|
14
|
+
}
|
|
15
|
+
export declare function toggleAgentStatus(props: ToggleAgentStatusProps): Promise<ToggleAgentStatusOkResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Toggle an agent's enabled status
|
|
18
|
+
*/
|
|
19
|
+
export declare function useToggleAgentStatusMutation(options?: Omit<UseMutationOptions<ToggleAgentStatusOkResponse, ToggleAgentStatusErrorResponse, ToggleAgentStatusProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ToggleAgentStatusOkResponse, unknown, ToggleAgentStatusProps, 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 toggleAgentStatus(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v1/ai-workflow-agents/toggle`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Toggle an agent's enabled status
|
|
11
|
+
*/
|
|
12
|
+
export function useToggleAgentStatusMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => toggleAgentStatus(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -43,12 +43,16 @@ export type { FetchPluginsForWorkflowErrorResponse, FetchPluginsForWorkflowOkRes
|
|
|
43
43
|
export { fetchPluginsForWorkflow, useFetchPluginsForWorkflowQuery, } from './hooks/useFetchPluginsForWorkflowQuery';
|
|
44
44
|
export type { FetchReposInIntegrationErrorResponse, FetchReposInIntegrationOkResponse, FetchReposInIntegrationProps, FetchReposInIntegrationQueryPathParams, FetchReposInIntegrationQueryQueryParams, } from './hooks/useFetchReposInIntegrationQuery';
|
|
45
45
|
export { fetchReposInIntegration, useFetchReposInIntegrationQuery, } from './hooks/useFetchReposInIntegrationQuery';
|
|
46
|
-
export type {
|
|
47
|
-
export {
|
|
48
|
-
export type {
|
|
49
|
-
export {
|
|
50
|
-
export type {
|
|
51
|
-
export {
|
|
46
|
+
export type { GetAccountAiWorkflowConfigErrorResponse, GetAccountAiWorkflowConfigOkResponse, GetAccountAiWorkflowConfigProps, GetAccountAiWorkflowConfigQueryQueryParams, } from './hooks/useGetAccountAiWorkflowConfigQuery';
|
|
47
|
+
export { getAccountAiWorkflowConfig, useGetAccountAiWorkflowConfigQuery, } from './hooks/useGetAccountAiWorkflowConfigQuery';
|
|
48
|
+
export type { GetAiWorkflowExecutionAffectedTargetsErrorResponse, GetAiWorkflowExecutionAffectedTargetsOkResponse, GetAiWorkflowExecutionAffectedTargetsProps, GetAiWorkflowExecutionAffectedTargetsQueryPathParams, GetAiWorkflowExecutionAffectedTargetsQueryQueryParams, } from './hooks/useGetAiWorkflowExecutionAffectedTargetsQuery';
|
|
49
|
+
export { getAiWorkflowExecutionAffectedTargets, useGetAiWorkflowExecutionAffectedTargetsQuery, } from './hooks/useGetAiWorkflowExecutionAffectedTargetsQuery';
|
|
50
|
+
export type { GetAiWorkflowExecutionDetailErrorResponse, GetAiWorkflowExecutionDetailOkResponse, GetAiWorkflowExecutionDetailProps, GetAiWorkflowExecutionDetailQueryPathParams, GetAiWorkflowExecutionDetailQueryQueryParams, } from './hooks/useGetAiWorkflowExecutionDetailQuery';
|
|
51
|
+
export { getAiWorkflowExecutionDetail, useGetAiWorkflowExecutionDetailQuery, } from './hooks/useGetAiWorkflowExecutionDetailQuery';
|
|
52
|
+
export type { GetAiWorkflowExecutionStepsAccountScopeErrorResponse, GetAiWorkflowExecutionStepsAccountScopeOkResponse, GetAiWorkflowExecutionStepsAccountScopeProps, GetAiWorkflowExecutionStepsAccountScopeQueryPathParams, GetAiWorkflowExecutionStepsAccountScopeQueryQueryParams, } from './hooks/useGetAiWorkflowExecutionStepsAccountScopeQuery';
|
|
53
|
+
export { getAiWorkflowExecutionStepsAccountScope, useGetAiWorkflowExecutionStepsAccountScopeQuery, } from './hooks/useGetAiWorkflowExecutionStepsAccountScopeQuery';
|
|
54
|
+
export type { GetAiWorkflowExecutionsAccountScopeErrorResponse, GetAiWorkflowExecutionsAccountScopeOkResponse, GetAiWorkflowExecutionsAccountScopeProps, GetAiWorkflowExecutionsAccountScopeQueryQueryParams, } from './hooks/useGetAiWorkflowExecutionsAccountScopeQuery';
|
|
55
|
+
export { getAiWorkflowExecutionsAccountScope, useGetAiWorkflowExecutionsAccountScopeQuery, } from './hooks/useGetAiWorkflowExecutionsAccountScopeQuery';
|
|
52
56
|
export type { GetAllRepositoriesSummaryErrorResponse, GetAllRepositoriesSummaryOkResponse, GetAllRepositoriesSummaryProps, GetAllRepositoriesSummaryQueryPathParams, } from './hooks/useGetAllRepositoriesSummaryQuery';
|
|
53
57
|
export { getAllRepositoriesSummary, useGetAllRepositoriesSummaryQuery, } from './hooks/useGetAllRepositoriesSummaryQuery';
|
|
54
58
|
export type { GetArtifactChainOfCustodyV2ErrorResponse, GetArtifactChainOfCustodyV2OkResponse, GetArtifactChainOfCustodyV2Props, GetArtifactChainOfCustodyV2QueryPathParams, } from './hooks/useGetArtifactChainOfCustodyV2Query';
|
|
@@ -155,6 +159,8 @@ export type { GetSscaSummaryErrorResponse, GetSscaSummaryOkResponse, GetSscaSumm
|
|
|
155
159
|
export { getSscaSummary, useGetSscaSummaryQuery } from './hooks/useGetSscaSummaryQuery';
|
|
156
160
|
export type { ImportLicenseFamilyConfigErrorResponse, ImportLicenseFamilyConfigMutationPathParams, ImportLicenseFamilyConfigOkResponse, ImportLicenseFamilyConfigProps, ImportLicenseFamilyConfigRequestBody, } from './hooks/useImportLicenseFamilyConfigMutation';
|
|
157
161
|
export { importLicenseFamilyConfig, useImportLicenseFamilyConfigMutation, } from './hooks/useImportLicenseFamilyConfigMutation';
|
|
162
|
+
export type { ListAgentStatusesErrorResponse, ListAgentStatusesOkResponse, ListAgentStatusesProps, ListAgentStatusesQueryQueryParams, } from './hooks/useListAgentStatusesQuery';
|
|
163
|
+
export { listAgentStatuses, useListAgentStatusesQuery } from './hooks/useListAgentStatusesQuery';
|
|
158
164
|
export type { ListArtifactSourcesErrorResponse, ListArtifactSourcesOkResponse, ListArtifactSourcesProps, ListArtifactSourcesQueryPathParams, ListArtifactSourcesQueryQueryParams, ListArtifactSourcesRequestBody, } from './hooks/useListArtifactSourcesQuery';
|
|
159
165
|
export { listArtifactSources, useListArtifactSourcesQuery, } from './hooks/useListArtifactSourcesQuery';
|
|
160
166
|
export type { ListAttestationsErrorResponse, ListAttestationsMutationPathParams, ListAttestationsMutationQueryParams, ListAttestationsOkResponse, ListAttestationsProps, ListAttestationsRequestBody, } from './hooks/useListAttestationsMutation';
|
|
@@ -169,8 +175,8 @@ export type { PostComplianceResultStatsOverviewErrorResponse, PostComplianceResu
|
|
|
169
175
|
export { postComplianceResultStatsOverview, usePostComplianceResultStatsOverviewMutation, } from './hooks/usePostComplianceResultStatsOverviewMutation';
|
|
170
176
|
export type { ResetLicenseFamilyConfigErrorResponse, ResetLicenseFamilyConfigMutationPathParams, ResetLicenseFamilyConfigMutationQueryParams, ResetLicenseFamilyConfigOkResponse, ResetLicenseFamilyConfigProps, } from './hooks/useResetLicenseFamilyConfigMutation';
|
|
171
177
|
export { resetLicenseFamilyConfig, useResetLicenseFamilyConfigMutation, } from './hooks/useResetLicenseFamilyConfigMutation';
|
|
172
|
-
export type {
|
|
173
|
-
export {
|
|
178
|
+
export type { SaveAccountAiWorkflowConfigErrorResponse, SaveAccountAiWorkflowConfigMutationQueryParams, SaveAccountAiWorkflowConfigOkResponse, SaveAccountAiWorkflowConfigProps, SaveAccountAiWorkflowConfigRequestBody, } from './hooks/useSaveAccountAiWorkflowConfigMutation';
|
|
179
|
+
export { saveAccountAiWorkflowConfig, useSaveAccountAiWorkflowConfigMutation, } from './hooks/useSaveAccountAiWorkflowConfigMutation';
|
|
174
180
|
export type { SaveAutoPrConfigErrorResponse, SaveAutoPrConfigOkResponse, SaveAutoPrConfigProps, SaveAutoPrConfigRequestBody, } from './hooks/useSaveAutoPrConfigMutation';
|
|
175
181
|
export { saveAutoPrConfig, useSaveAutoPrConfigMutation } from './hooks/useSaveAutoPrConfigMutation';
|
|
176
182
|
export type { SaveConnectorConfigErrorResponse, SaveConnectorConfigOkResponse, SaveConnectorConfigProps, SaveConnectorConfigRequestBody, } from './hooks/useSaveConnectorConfigMutation';
|
|
@@ -179,6 +185,8 @@ export type { SetBaselineForArtifactV2ErrorResponse, SetBaselineForArtifactV2Mut
|
|
|
179
185
|
export { setBaselineForArtifactV2, useSetBaselineForArtifactV2Mutation, } from './hooks/useSetBaselineForArtifactV2Mutation';
|
|
180
186
|
export type { SscaLicenseUsageErrorResponse, SscaLicenseUsageOkResponse, SscaLicenseUsageProps, SscaLicenseUsageQueryQueryParams, } from './hooks/useSscaLicenseUsageQuery';
|
|
181
187
|
export { sscaLicenseUsage, useSscaLicenseUsageQuery } from './hooks/useSscaLicenseUsageQuery';
|
|
188
|
+
export type { ToggleAgentStatusErrorResponse, ToggleAgentStatusOkResponse, ToggleAgentStatusProps, ToggleAgentStatusRequestBody, } from './hooks/useToggleAgentStatusMutation';
|
|
189
|
+
export { toggleAgentStatus, useToggleAgentStatusMutation, } from './hooks/useToggleAgentStatusMutation';
|
|
182
190
|
export type { UpdateRemediationTrackerErrorResponse, UpdateRemediationTrackerMutationPathParams, UpdateRemediationTrackerOkResponse, UpdateRemediationTrackerProps, UpdateRemediationTrackerRequestBody, } from './hooks/useUpdateRemediationTrackerMutation';
|
|
183
191
|
export { updateRemediationTracker, useUpdateRemediationTrackerMutation, } from './hooks/useUpdateRemediationTrackerMutation';
|
|
184
192
|
export type { UpsertEolAutoTicketConfigErrorResponse, UpsertEolAutoTicketConfigMutationPathParams, UpsertEolAutoTicketConfigOkResponse, UpsertEolAutoTicketConfigProps, UpsertEolAutoTicketConfigRequestBody, } from './hooks/useUpsertEolAutoTicketConfigMutation';
|
|
@@ -220,6 +228,7 @@ export type { FetchComplianceResultByArtifactRequestBodyRequestBody } from './re
|
|
|
220
228
|
export type { FetchComplianceResultRequestBodyRequestBody } from './requestBodies/FetchComplianceResultRequestBodyRequestBody';
|
|
221
229
|
export type { FetchComplianeResultChecksStatsRequestBodyRequestBody } from './requestBodies/FetchComplianeResultChecksStatsRequestBodyRequestBody';
|
|
222
230
|
export type { IntegrationStepConfigRequestBodyRequestBody } from './requestBodies/IntegrationStepConfigRequestBodyRequestBody';
|
|
231
|
+
export type { ListSbomComponentsRequestBodyRequestBody } from './requestBodies/ListSbomComponentsRequestBodyRequestBody';
|
|
223
232
|
export type { NormalisedSbomComponentRequestBodyRequestBody } from './requestBodies/NormalisedSbomComponentRequestBodyRequestBody';
|
|
224
233
|
export type { OidcIdTokenRequestBodyRequestBody } from './requestBodies/OidcIdTokenRequestBodyRequestBody';
|
|
225
234
|
export type { OrchestrationStepDriftRequestBodyRequestBody } from './requestBodies/OrchestrationStepDriftRequestBodyRequestBody';
|
|
@@ -330,6 +339,8 @@ export type { UpdateIntegrationResponseBodyResponse } from './responses/UpdateIn
|
|
|
330
339
|
export type { VersionResponseBodyResponse } from './responses/VersionResponseBodyResponse';
|
|
331
340
|
export type { ActivityDetails } from './schemas/ActivityDetails';
|
|
332
341
|
export type { AffectedArtifactInfo } from './schemas/AffectedArtifactInfo';
|
|
342
|
+
export type { AgentToggleRequest } from './schemas/AgentToggleRequest';
|
|
343
|
+
export type { AgentToggleStatus } from './schemas/AgentToggleStatus';
|
|
333
344
|
export type { AiBomComponentViewRequestBody } from './schemas/AiBomComponentViewRequestBody';
|
|
334
345
|
export type { AiBomComponentViewResponse } from './schemas/AiBomComponentViewResponse';
|
|
335
346
|
export type { AiBomExternalReference } from './schemas/AiBomExternalReference';
|
|
@@ -425,12 +436,9 @@ export type { AutoPrVersioningRule } from './schemas/AutoPrVersioningRule';
|
|
|
425
436
|
export type { BaselineRequestBody } from './schemas/BaselineRequestBody';
|
|
426
437
|
export type { BaselineResponseBody } from './schemas/BaselineResponseBody';
|
|
427
438
|
export type { BaselineV2RequestBody } from './schemas/BaselineV2RequestBody';
|
|
428
|
-
export type { BatchAccountResult } from './schemas/BatchAccountResult';
|
|
429
439
|
export type { BatchComponentRemediationItem } from './schemas/BatchComponentRemediationItem';
|
|
430
440
|
export type { BatchComponentRemediationRequest } from './schemas/BatchComponentRemediationRequest';
|
|
431
441
|
export type { BatchComponentRemediationResponse } from './schemas/BatchComponentRemediationResponse';
|
|
432
|
-
export type { BatchTriggerRequest } from './schemas/BatchTriggerRequest';
|
|
433
|
-
export type { BatchTriggerResponse } from './schemas/BatchTriggerResponse';
|
|
434
442
|
export type { BulkDownloadJobResponse } from './schemas/BulkDownloadJobResponse';
|
|
435
443
|
export type { CategoryScorecard } from './schemas/CategoryScorecard';
|
|
436
444
|
export type { CategoryScorecardCheck } from './schemas/CategoryScorecardCheck';
|
|
@@ -586,9 +594,11 @@ export type { LicenseFamilyResponse } from './schemas/LicenseFamilyResponse';
|
|
|
586
594
|
export type { LicenseFilter } from './schemas/LicenseFilter';
|
|
587
595
|
export type { LicenseUsageResponse } from './schemas/LicenseUsageResponse';
|
|
588
596
|
export type { ListIntegrationReposResponse } from './schemas/ListIntegrationReposResponse';
|
|
597
|
+
export type { ListSbomComponentsRequest } from './schemas/ListSbomComponentsRequest';
|
|
589
598
|
export type { MaliciousDetail } from './schemas/MaliciousDetail';
|
|
590
599
|
export type { MaliciousPackageReference } from './schemas/MaliciousPackageReference';
|
|
591
600
|
export type { NameOperator } from './schemas/NameOperator';
|
|
601
|
+
export type { NonContainerListingSpec } from './schemas/NonContainerListingSpec';
|
|
592
602
|
export type { NormalisedSbomComponentRequestBody } from './schemas/NormalisedSbomComponentRequestBody';
|
|
593
603
|
export type { NormalizedSbomComponentDto } from './schemas/NormalizedSbomComponentDto';
|
|
594
604
|
export type { OidcIdTokenRequest } from './schemas/OidcIdTokenRequest';
|
|
@@ -625,7 +635,6 @@ export type { RemediationArtifactDeploymentsListingResponse } from './schemas/Re
|
|
|
625
635
|
export type { RemediationArtifactDetailsResponse } from './schemas/RemediationArtifactDetailsResponse';
|
|
626
636
|
export type { RemediationArtifactListingRequestBody } from './schemas/RemediationArtifactListingRequestBody';
|
|
627
637
|
export type { RemediationArtifactListingResponse } from './schemas/RemediationArtifactListingResponse';
|
|
628
|
-
export type { RemediationBatchDetail } from './schemas/RemediationBatchDetail';
|
|
629
638
|
export type { RemediationCodePreview } from './schemas/RemediationCodePreview';
|
|
630
639
|
export type { RemediationCondition } from './schemas/RemediationCondition';
|
|
631
640
|
export type { RemediationCount } from './schemas/RemediationCount';
|
|
@@ -661,6 +670,7 @@ export type { SbomComponentRequestDto } from './schemas/SbomComponentRequestDto'
|
|
|
661
670
|
export type { SbomDetails } from './schemas/SbomDetails';
|
|
662
671
|
export type { SbomDetailsForScorecard } from './schemas/SbomDetailsForScorecard';
|
|
663
672
|
export type { SbomInfo } from './schemas/SbomInfo';
|
|
673
|
+
export type { SbomListingArtifactSpec } from './schemas/SbomListingArtifactSpec';
|
|
664
674
|
export type { SbomMetadata } from './schemas/SbomMetadata';
|
|
665
675
|
export type { SbomMetadataV2 } from './schemas/SbomMetadataV2';
|
|
666
676
|
export type { SbomProcess } from './schemas/SbomProcess';
|
|
@@ -693,6 +703,8 @@ export type { TargetVersionVulnerability } from './schemas/TargetVersionVulnerab
|
|
|
693
703
|
export type { TicketInfo } from './schemas/TicketInfo';
|
|
694
704
|
export type { TokenIssueResponseBody } from './schemas/TokenIssueResponseBody';
|
|
695
705
|
export type { TokenIssueTokenResponseBody } from './schemas/TokenIssueTokenResponseBody';
|
|
706
|
+
export type { TriageFindingDetail } from './schemas/TriageFindingDetail';
|
|
707
|
+
export type { TriageFindingSummary } from './schemas/TriageFindingSummary';
|
|
696
708
|
export type { TriggerType } from './schemas/TriggerType';
|
|
697
709
|
export type { UpdateAiWorkflowExecutionStatusRequest } from './schemas/UpdateAiWorkflowExecutionStatusRequest';
|
|
698
710
|
export type { UpdateAiWorkflowExecutionStatusResponse } from './schemas/UpdateAiWorkflowExecutionStatusResponse';
|
|
@@ -702,6 +714,8 @@ export type { VerificationStatus } from './schemas/VerificationStatus';
|
|
|
702
714
|
export type { VersionInfo } from './schemas/VersionInfo';
|
|
703
715
|
export type { Violations } from './schemas/Violations';
|
|
704
716
|
export type { VulnerabilityActivity } from './schemas/VulnerabilityActivity';
|
|
717
|
+
export type { VulnerabilityFindingDetail } from './schemas/VulnerabilityFindingDetail';
|
|
718
|
+
export type { VulnerabilityFindingSummary } from './schemas/VulnerabilityFindingSummary';
|
|
705
719
|
export type { VulnerabilityInfo } from './schemas/VulnerabilityInfo';
|
|
706
720
|
export type { VulnerabilitySeverity } from './schemas/VulnerabilitySeverity';
|
|
707
721
|
export type { VulnerabilitySource } from './schemas/VulnerabilitySource';
|
|
@@ -20,9 +20,11 @@ export { fetchComplianceResultsByComplianceId, useFetchComplianceResultsByCompli
|
|
|
20
20
|
export { fetchComplianceResultsGroupById, useFetchComplianceResultsGroupByIdMutation, } from './hooks/useFetchComplianceResultsGroupByIdMutation';
|
|
21
21
|
export { fetchPluginsForWorkflow, useFetchPluginsForWorkflowQuery, } from './hooks/useFetchPluginsForWorkflowQuery';
|
|
22
22
|
export { fetchReposInIntegration, useFetchReposInIntegrationQuery, } from './hooks/useFetchReposInIntegrationQuery';
|
|
23
|
-
export {
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
23
|
+
export { getAccountAiWorkflowConfig, useGetAccountAiWorkflowConfigQuery, } from './hooks/useGetAccountAiWorkflowConfigQuery';
|
|
24
|
+
export { getAiWorkflowExecutionAffectedTargets, useGetAiWorkflowExecutionAffectedTargetsQuery, } from './hooks/useGetAiWorkflowExecutionAffectedTargetsQuery';
|
|
25
|
+
export { getAiWorkflowExecutionDetail, useGetAiWorkflowExecutionDetailQuery, } from './hooks/useGetAiWorkflowExecutionDetailQuery';
|
|
26
|
+
export { getAiWorkflowExecutionStepsAccountScope, useGetAiWorkflowExecutionStepsAccountScopeQuery, } from './hooks/useGetAiWorkflowExecutionStepsAccountScopeQuery';
|
|
27
|
+
export { getAiWorkflowExecutionsAccountScope, useGetAiWorkflowExecutionsAccountScopeQuery, } from './hooks/useGetAiWorkflowExecutionsAccountScopeQuery';
|
|
26
28
|
export { getAllRepositoriesSummary, useGetAllRepositoriesSummaryQuery, } from './hooks/useGetAllRepositoriesSummaryQuery';
|
|
27
29
|
export { getArtifactChainOfCustodyV2, useGetArtifactChainOfCustodyV2Query, } from './hooks/useGetArtifactChainOfCustodyV2Query';
|
|
28
30
|
export { getArtifactComponentDependenciesByPurl, useGetArtifactComponentDependenciesByPurlQuery, } from './hooks/useGetArtifactComponentDependenciesByPurlQuery';
|
|
@@ -76,6 +78,7 @@ export { getRepoRulesEvaluationTrend, useGetRepoRulesEvaluationTrendQuery, } fro
|
|
|
76
78
|
export { getSbomScorecard, useGetSbomScorecardQuery } from './hooks/useGetSbomScorecardQuery';
|
|
77
79
|
export { getSscaSummary, useGetSscaSummaryQuery } from './hooks/useGetSscaSummaryQuery';
|
|
78
80
|
export { importLicenseFamilyConfig, useImportLicenseFamilyConfigMutation, } from './hooks/useImportLicenseFamilyConfigMutation';
|
|
81
|
+
export { listAgentStatuses, useListAgentStatusesQuery } from './hooks/useListAgentStatusesQuery';
|
|
79
82
|
export { listArtifactSources, useListArtifactSourcesQuery, } from './hooks/useListArtifactSourcesQuery';
|
|
80
83
|
export { listAttestations, useListAttestationsMutation } from './hooks/useListAttestationsMutation';
|
|
81
84
|
export { listIntegrations, useListIntegrationsQuery } from './hooks/useListIntegrationsQuery';
|
|
@@ -83,10 +86,11 @@ export { listRemediations, useListRemediationsQuery } from './hooks/useListRemed
|
|
|
83
86
|
export { postComplianceResultStatsEvaluationBreakdownArtifactType, usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation, } from './hooks/usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation';
|
|
84
87
|
export { postComplianceResultStatsOverview, usePostComplianceResultStatsOverviewMutation, } from './hooks/usePostComplianceResultStatsOverviewMutation';
|
|
85
88
|
export { resetLicenseFamilyConfig, useResetLicenseFamilyConfigMutation, } from './hooks/useResetLicenseFamilyConfigMutation';
|
|
86
|
-
export {
|
|
89
|
+
export { saveAccountAiWorkflowConfig, useSaveAccountAiWorkflowConfigMutation, } from './hooks/useSaveAccountAiWorkflowConfigMutation';
|
|
87
90
|
export { saveAutoPrConfig, useSaveAutoPrConfigMutation } from './hooks/useSaveAutoPrConfigMutation';
|
|
88
91
|
export { saveConnectorConfig, useSaveConnectorConfigMutation, } from './hooks/useSaveConnectorConfigMutation';
|
|
89
92
|
export { setBaselineForArtifactV2, useSetBaselineForArtifactV2Mutation, } from './hooks/useSetBaselineForArtifactV2Mutation';
|
|
90
93
|
export { sscaLicenseUsage, useSscaLicenseUsageQuery } from './hooks/useSscaLicenseUsageQuery';
|
|
94
|
+
export { toggleAgentStatus, useToggleAgentStatusMutation, } from './hooks/useToggleAgentStatusMutation';
|
|
91
95
|
export { updateRemediationTracker, useUpdateRemediationTrackerMutation, } from './hooks/useUpdateRemediationTrackerMutation';
|
|
92
96
|
export { upsertEolAutoTicketConfig, useUpsertEolAutoTicketConfigMutation, } from './hooks/useUpsertEolAutoTicketConfigMutation';
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
export interface AffectedArtifactInfo {
|
|
2
2
|
artifact_id?: string;
|
|
3
3
|
artifact_name?: string;
|
|
4
|
+
/**
|
|
5
|
+
* Whether this target is a source code repository or a container image
|
|
6
|
+
*/
|
|
7
|
+
artifact_type?: 'CONTAINER' | 'REPOSITORY';
|
|
4
8
|
artifact_version?: string;
|
|
5
9
|
base_branch?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Whether this artifact is deployed to any production environment
|
|
12
|
+
*/
|
|
13
|
+
deployed_to_prod?: boolean;
|
|
6
14
|
/**
|
|
7
15
|
* Environment type (Production, NonProduction)
|
|
8
16
|
*/
|
|
@@ -12,12 +20,24 @@ export interface AffectedArtifactInfo {
|
|
|
12
20
|
* Names of non-production environments
|
|
13
21
|
*/
|
|
14
22
|
non_prod_env_names?: string[];
|
|
23
|
+
/**
|
|
24
|
+
* Organization identifier of the affected artifact
|
|
25
|
+
*/
|
|
26
|
+
org_identifier?: string;
|
|
15
27
|
package_name?: string;
|
|
16
28
|
package_version?: string;
|
|
17
29
|
/**
|
|
18
30
|
* Names of production environments
|
|
19
31
|
*/
|
|
20
32
|
prod_env_names?: string[];
|
|
33
|
+
/**
|
|
34
|
+
* Project identifier of the affected artifact
|
|
35
|
+
*/
|
|
36
|
+
project_identifier?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Package URL of the affected component (used in create-PR flow)
|
|
39
|
+
*/
|
|
40
|
+
purl?: string;
|
|
21
41
|
repo_name?: string;
|
|
22
42
|
repo_url?: string;
|
|
23
43
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|