@harnessio/react-ssca-manager-client 0.84.24 → 0.84.26

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 (96) hide show
  1. package/dist/ssca-manager/src/services/hooks/useGetAccountAiWorkflowConfigQuery.d.ts +20 -0
  2. package/dist/ssca-manager/src/services/hooks/useGetAccountAiWorkflowConfigQuery.js +14 -0
  3. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionDetailQuery.d.ts +19 -0
  4. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionDetailQuery.js +14 -0
  5. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionStepsAccountScopeQuery.d.ts +23 -0
  6. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionStepsAccountScopeQuery.js +14 -0
  7. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionsAccountScopeQuery.d.ts +39 -0
  8. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionsAccountScopeQuery.js +14 -0
  9. package/dist/ssca-manager/src/services/hooks/useSaveAccountAiWorkflowConfigMutation.d.ts +22 -0
  10. package/dist/ssca-manager/src/services/hooks/useSaveAccountAiWorkflowConfigMutation.js +14 -0
  11. package/dist/ssca-manager/src/services/index.d.ts +42 -5
  12. package/dist/ssca-manager/src/services/index.js +5 -2
  13. package/dist/ssca-manager/src/services/requestBodies/ListSbomComponentsRequestBodyRequestBody.d.ts +2 -0
  14. package/dist/ssca-manager/src/services/schemas/AiBomComponentViewRequestBody.d.ts +13 -0
  15. package/dist/ssca-manager/src/services/schemas/AiBomComponentViewRequestBody.js +4 -0
  16. package/dist/ssca-manager/src/services/schemas/AiBomComponentViewResponse.d.ts +63 -0
  17. package/dist/ssca-manager/src/services/schemas/AiBomComponentViewResponse.js +1 -0
  18. package/dist/ssca-manager/src/services/schemas/AiBomExternalReference.d.ts +13 -0
  19. package/dist/ssca-manager/src/services/schemas/AiBomExternalReference.js +4 -0
  20. package/dist/ssca-manager/src/services/schemas/AiBomModelCard.d.ts +11 -0
  21. package/dist/ssca-manager/src/services/schemas/AiBomModelCard.js +4 -0
  22. package/dist/ssca-manager/src/services/schemas/AiBomModelPipeline.d.ts +36 -0
  23. package/dist/ssca-manager/src/services/schemas/AiBomModelPipeline.js +4 -0
  24. package/dist/ssca-manager/src/services/schemas/AiBomOccurrence.d.ts +21 -0
  25. package/dist/ssca-manager/src/services/schemas/AiBomOccurrence.js +4 -0
  26. package/dist/ssca-manager/src/services/schemas/AiBomSummaryResponse.d.ts +43 -0
  27. package/dist/ssca-manager/src/services/schemas/AiBomSummaryResponse.js +4 -0
  28. package/dist/ssca-manager/src/services/schemas/AiWorkflowConfigRequest.d.ts +6 -6
  29. package/dist/ssca-manager/src/services/schemas/AiWorkflowConfigResponse.d.ts +14 -3
  30. package/dist/ssca-manager/src/services/schemas/AiWorkflowExcludedScope.d.ts +10 -0
  31. package/dist/ssca-manager/src/services/schemas/AiWorkflowExcludedScope.js +4 -0
  32. package/dist/ssca-manager/src/services/schemas/AiWorkflowExclusionScope.d.ts +13 -0
  33. package/dist/ssca-manager/src/services/schemas/AiWorkflowExclusionScope.js +0 -3
  34. package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionDetailResponse.d.ts +67 -13
  35. package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionSummary.d.ts +40 -9
  36. package/dist/ssca-manager/src/services/schemas/AiWorkflowInfrastructureConfig.d.ts +23 -0
  37. package/dist/ssca-manager/src/services/schemas/AiWorkflowInfrastructureConfig.js +4 -0
  38. package/dist/ssca-manager/src/services/schemas/AppendAiWorkflowStepExecutionResponse.d.ts +8 -0
  39. package/dist/ssca-manager/src/services/schemas/AppendAiWorkflowStepExecutionResponse.js +4 -0
  40. package/dist/ssca-manager/src/services/schemas/ArtifactListingPipelineResponse.d.ts +2 -0
  41. package/dist/ssca-manager/src/services/schemas/BatchAccountResult.d.ts +11 -0
  42. package/dist/ssca-manager/src/services/schemas/BatchAccountResult.js +4 -0
  43. package/dist/ssca-manager/src/services/schemas/BatchTriggerRequest.d.ts +10 -0
  44. package/dist/ssca-manager/src/services/schemas/BatchTriggerRequest.js +4 -0
  45. package/dist/ssca-manager/src/services/schemas/BatchTriggerResponse.d.ts +5 -0
  46. package/dist/ssca-manager/src/services/schemas/BatchTriggerResponse.js +4 -0
  47. package/dist/ssca-manager/src/services/schemas/ExecutionContextV2.d.ts +1 -1
  48. package/dist/ssca-manager/src/services/schemas/ExecutionDetail.d.ts +2 -0
  49. package/dist/ssca-manager/src/services/schemas/ExecutionType.d.ts +1 -1
  50. package/dist/ssca-manager/src/services/schemas/GitlabExecutionContext.d.ts +16 -0
  51. package/dist/ssca-manager/src/services/schemas/GitlabExecutionContext.js +1 -0
  52. package/dist/ssca-manager/src/services/schemas/GitlabExecutionDetail.d.ts +15 -0
  53. package/dist/ssca-manager/src/services/schemas/GitlabExecutionDetail.js +1 -0
  54. package/dist/ssca-manager/src/services/schemas/GitlabRunner.d.ts +4 -0
  55. package/dist/ssca-manager/src/services/schemas/GitlabRunner.js +4 -0
  56. package/dist/ssca-manager/src/services/schemas/GitlabRunnerDetail.d.ts +9 -0
  57. package/dist/ssca-manager/src/services/schemas/GitlabRunnerDetail.js +1 -0
  58. package/dist/ssca-manager/src/services/schemas/InternalAffectedArtifact.d.ts +15 -0
  59. package/dist/ssca-manager/src/services/schemas/InternalAffectedArtifact.js +4 -0
  60. package/dist/ssca-manager/src/services/schemas/InternalAlertContext.d.ts +16 -0
  61. package/dist/ssca-manager/src/services/schemas/InternalAlertContext.js +4 -0
  62. package/dist/ssca-manager/src/services/schemas/InternalIdentificationResult.d.ts +9 -0
  63. package/dist/ssca-manager/src/services/schemas/InternalIdentificationResult.js +1 -0
  64. package/dist/ssca-manager/src/services/schemas/InternalRecommendedVersion.d.ts +24 -0
  65. package/dist/ssca-manager/src/services/schemas/InternalRecommendedVersion.js +4 -0
  66. package/dist/ssca-manager/src/services/schemas/InternalStepExecution.d.ts +5 -0
  67. package/dist/ssca-manager/src/services/schemas/InternalStepExecution.js +4 -0
  68. package/dist/ssca-manager/src/services/schemas/InternalStoreIdentificationResultRequest.d.ts +9 -0
  69. package/dist/ssca-manager/src/services/schemas/InternalStoreIdentificationResultRequest.js +1 -0
  70. package/dist/ssca-manager/src/services/schemas/ListSbomComponentsRequest.d.ts +6 -0
  71. package/dist/ssca-manager/src/services/schemas/ListSbomComponentsRequest.js +1 -0
  72. package/dist/ssca-manager/src/services/schemas/NonContainerListingSpec.d.ts +16 -0
  73. package/dist/ssca-manager/src/services/schemas/NonContainerListingSpec.js +1 -0
  74. package/dist/ssca-manager/src/services/schemas/RemediationBatchDetail.d.ts +20 -0
  75. package/dist/ssca-manager/src/services/schemas/RemediationBatchDetail.js +1 -0
  76. package/dist/ssca-manager/src/services/schemas/RunnerDetail.d.ts +1 -1
  77. package/dist/ssca-manager/src/services/schemas/SaveOrchestrationRequestV2.d.ts +4 -0
  78. package/dist/ssca-manager/src/services/schemas/SbomComponentRequestDto.d.ts +33 -0
  79. package/dist/ssca-manager/src/services/schemas/SbomListingArtifactSpec.d.ts +3 -0
  80. package/dist/ssca-manager/src/services/schemas/SbomListingArtifactSpec.js +4 -0
  81. package/dist/ssca-manager/src/services/schemas/SscaSummary.d.ts +25 -0
  82. package/dist/ssca-manager/src/services/schemas/StoreAiWorkflowExecutionResultRequest.d.ts +14 -0
  83. package/dist/ssca-manager/src/services/schemas/StoreAiWorkflowExecutionResultRequest.js +4 -0
  84. package/dist/ssca-manager/src/services/schemas/StoreAiWorkflowExecutionResultResponse.d.ts +11 -0
  85. package/dist/ssca-manager/src/services/schemas/StoreAiWorkflowExecutionResultResponse.js +4 -0
  86. package/dist/ssca-manager/src/services/schemas/UpdateAiWorkflowExecutionStatusRequest.d.ts +10 -0
  87. package/dist/ssca-manager/src/services/schemas/UpdateAiWorkflowExecutionStatusRequest.js +4 -0
  88. package/dist/ssca-manager/src/services/schemas/UpdateAiWorkflowExecutionStatusResponse.d.ts +4 -0
  89. package/dist/ssca-manager/src/services/schemas/UpdateAiWorkflowExecutionStatusResponse.js +4 -0
  90. package/package.json +1 -1
  91. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionStepsQuery.d.ts +0 -25
  92. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionStepsQuery.js +0 -14
  93. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionsQuery.d.ts +0 -43
  94. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionsQuery.js +0 -14
  95. package/dist/ssca-manager/src/services/schemas/AiWorkflowExecutionListResponse.d.ts +0 -24
  96. /package/dist/ssca-manager/src/services/{schemas/AiWorkflowExecutionListResponse.js → requestBodies/ListSbomComponentsRequestBodyRequestBody.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
+ }
@@ -0,0 +1,19 @@
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 GetAiWorkflowExecutionDetailQueryHeaderParams {
9
+ 'Harness-Account': string;
10
+ }
11
+ export type GetAiWorkflowExecutionDetailOkResponse = ResponseWithPagination<AiWorkflowExecutionDetailResponse>;
12
+ export type GetAiWorkflowExecutionDetailErrorResponse = unknown;
13
+ export interface GetAiWorkflowExecutionDetailProps extends GetAiWorkflowExecutionDetailQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetAiWorkflowExecutionDetailQueryHeaderParams>, 'url'> {
14
+ }
15
+ export declare function getAiWorkflowExecutionDetail(props: GetAiWorkflowExecutionDetailProps): Promise<GetAiWorkflowExecutionDetailOkResponse>;
16
+ /**
17
+ * Get detailed information for a specific AI workflow execution including affected artifacts and production deployment info
18
+ */
19
+ 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], ({ signal }) => getAiWorkflowExecutionDetail(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,23 @@
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
+ }
11
+ export interface GetAiWorkflowExecutionStepsAccountScopeQueryHeaderParams {
12
+ 'Harness-Account': string;
13
+ }
14
+ export type GetAiWorkflowExecutionStepsAccountScopeOkResponse = ResponseWithPagination<AiWorkflowExecutionStepsResponse>;
15
+ export type GetAiWorkflowExecutionStepsAccountScopeErrorResponse = unknown;
16
+ export interface GetAiWorkflowExecutionStepsAccountScopeProps extends GetAiWorkflowExecutionStepsAccountScopeQueryPathParams, Omit<FetcherOptions<GetAiWorkflowExecutionStepsAccountScopeQueryQueryParams, unknown, GetAiWorkflowExecutionStepsAccountScopeQueryHeaderParams>, 'url'> {
17
+ queryParams: GetAiWorkflowExecutionStepsAccountScopeQueryQueryParams;
18
+ }
19
+ export declare function getAiWorkflowExecutionStepsAccountScope(props: GetAiWorkflowExecutionStepsAccountScopeProps): Promise<GetAiWorkflowExecutionStepsAccountScopeOkResponse>;
20
+ /**
21
+ * Get step details for a specific AI workflow execution (account scope).
22
+ */
23
+ export declare function useGetAiWorkflowExecutionStepsAccountScopeQuery(props: GetAiWorkflowExecutionStepsAccountScopeProps, options?: Omit<UseQueryOptions<GetAiWorkflowExecutionStepsAccountScopeOkResponse, GetAiWorkflowExecutionStepsAccountScopeErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAiWorkflowExecutionStepsAccountScopeOkResponse, 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 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,39 @@
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
+ }
27
+ export interface GetAiWorkflowExecutionsAccountScopeQueryHeaderParams {
28
+ 'Harness-Account': string;
29
+ }
30
+ export type GetAiWorkflowExecutionsAccountScopeOkResponse = ResponseWithPagination<AiWorkflowExecutionSummary[]>;
31
+ export type GetAiWorkflowExecutionsAccountScopeErrorResponse = unknown;
32
+ export interface GetAiWorkflowExecutionsAccountScopeProps extends Omit<FetcherOptions<GetAiWorkflowExecutionsAccountScopeQueryQueryParams, unknown, GetAiWorkflowExecutionsAccountScopeQueryHeaderParams>, 'url'> {
33
+ queryParams: GetAiWorkflowExecutionsAccountScopeQueryQueryParams;
34
+ }
35
+ export declare function getAiWorkflowExecutionsAccountScope(props: GetAiWorkflowExecutionsAccountScopeProps): Promise<GetAiWorkflowExecutionsAccountScopeOkResponse>;
36
+ /**
37
+ * Get AI workflow executions for the account across all orgs/projects
38
+ */
39
+ 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,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
+ }
@@ -43,10 +43,14 @@ 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 { GetAiWorkflowExecutionStepsErrorResponse, GetAiWorkflowExecutionStepsOkResponse, GetAiWorkflowExecutionStepsProps, GetAiWorkflowExecutionStepsQueryPathParams, GetAiWorkflowExecutionStepsQueryQueryParams, } from './hooks/useGetAiWorkflowExecutionStepsQuery';
47
- export { getAiWorkflowExecutionSteps, useGetAiWorkflowExecutionStepsQuery, } from './hooks/useGetAiWorkflowExecutionStepsQuery';
48
- export type { GetAiWorkflowExecutionsErrorResponse, GetAiWorkflowExecutionsOkResponse, GetAiWorkflowExecutionsProps, GetAiWorkflowExecutionsQueryPathParams, GetAiWorkflowExecutionsQueryQueryParams, } from './hooks/useGetAiWorkflowExecutionsQuery';
49
- export { getAiWorkflowExecutions, useGetAiWorkflowExecutionsQuery, } from './hooks/useGetAiWorkflowExecutionsQuery';
46
+ export type { GetAccountAiWorkflowConfigErrorResponse, GetAccountAiWorkflowConfigOkResponse, GetAccountAiWorkflowConfigProps, GetAccountAiWorkflowConfigQueryQueryParams, } from './hooks/useGetAccountAiWorkflowConfigQuery';
47
+ export { getAccountAiWorkflowConfig, useGetAccountAiWorkflowConfigQuery, } from './hooks/useGetAccountAiWorkflowConfigQuery';
48
+ export type { GetAiWorkflowExecutionDetailErrorResponse, GetAiWorkflowExecutionDetailOkResponse, GetAiWorkflowExecutionDetailProps, GetAiWorkflowExecutionDetailQueryPathParams, } from './hooks/useGetAiWorkflowExecutionDetailQuery';
49
+ export { getAiWorkflowExecutionDetail, useGetAiWorkflowExecutionDetailQuery, } from './hooks/useGetAiWorkflowExecutionDetailQuery';
50
+ export type { GetAiWorkflowExecutionStepsAccountScopeErrorResponse, GetAiWorkflowExecutionStepsAccountScopeOkResponse, GetAiWorkflowExecutionStepsAccountScopeProps, GetAiWorkflowExecutionStepsAccountScopeQueryPathParams, GetAiWorkflowExecutionStepsAccountScopeQueryQueryParams, } from './hooks/useGetAiWorkflowExecutionStepsAccountScopeQuery';
51
+ export { getAiWorkflowExecutionStepsAccountScope, useGetAiWorkflowExecutionStepsAccountScopeQuery, } from './hooks/useGetAiWorkflowExecutionStepsAccountScopeQuery';
52
+ export type { GetAiWorkflowExecutionsAccountScopeErrorResponse, GetAiWorkflowExecutionsAccountScopeOkResponse, GetAiWorkflowExecutionsAccountScopeProps, GetAiWorkflowExecutionsAccountScopeQueryQueryParams, } from './hooks/useGetAiWorkflowExecutionsAccountScopeQuery';
53
+ export { getAiWorkflowExecutionsAccountScope, useGetAiWorkflowExecutionsAccountScopeQuery, } from './hooks/useGetAiWorkflowExecutionsAccountScopeQuery';
50
54
  export type { GetAllRepositoriesSummaryErrorResponse, GetAllRepositoriesSummaryOkResponse, GetAllRepositoriesSummaryProps, GetAllRepositoriesSummaryQueryPathParams, } from './hooks/useGetAllRepositoriesSummaryQuery';
51
55
  export { getAllRepositoriesSummary, useGetAllRepositoriesSummaryQuery, } from './hooks/useGetAllRepositoriesSummaryQuery';
52
56
  export type { GetArtifactChainOfCustodyV2ErrorResponse, GetArtifactChainOfCustodyV2OkResponse, GetArtifactChainOfCustodyV2Props, GetArtifactChainOfCustodyV2QueryPathParams, } from './hooks/useGetArtifactChainOfCustodyV2Query';
@@ -167,6 +171,8 @@ export type { PostComplianceResultStatsOverviewErrorResponse, PostComplianceResu
167
171
  export { postComplianceResultStatsOverview, usePostComplianceResultStatsOverviewMutation, } from './hooks/usePostComplianceResultStatsOverviewMutation';
168
172
  export type { ResetLicenseFamilyConfigErrorResponse, ResetLicenseFamilyConfigMutationPathParams, ResetLicenseFamilyConfigMutationQueryParams, ResetLicenseFamilyConfigOkResponse, ResetLicenseFamilyConfigProps, } from './hooks/useResetLicenseFamilyConfigMutation';
169
173
  export { resetLicenseFamilyConfig, useResetLicenseFamilyConfigMutation, } from './hooks/useResetLicenseFamilyConfigMutation';
174
+ export type { SaveAccountAiWorkflowConfigErrorResponse, SaveAccountAiWorkflowConfigMutationQueryParams, SaveAccountAiWorkflowConfigOkResponse, SaveAccountAiWorkflowConfigProps, SaveAccountAiWorkflowConfigRequestBody, } from './hooks/useSaveAccountAiWorkflowConfigMutation';
175
+ export { saveAccountAiWorkflowConfig, useSaveAccountAiWorkflowConfigMutation, } from './hooks/useSaveAccountAiWorkflowConfigMutation';
170
176
  export type { SaveAutoPrConfigErrorResponse, SaveAutoPrConfigOkResponse, SaveAutoPrConfigProps, SaveAutoPrConfigRequestBody, } from './hooks/useSaveAutoPrConfigMutation';
171
177
  export { saveAutoPrConfig, useSaveAutoPrConfigMutation } from './hooks/useSaveAutoPrConfigMutation';
172
178
  export type { SaveConnectorConfigErrorResponse, SaveConnectorConfigOkResponse, SaveConnectorConfigProps, SaveConnectorConfigRequestBody, } from './hooks/useSaveConnectorConfigMutation';
@@ -216,6 +222,7 @@ export type { FetchComplianceResultByArtifactRequestBodyRequestBody } from './re
216
222
  export type { FetchComplianceResultRequestBodyRequestBody } from './requestBodies/FetchComplianceResultRequestBodyRequestBody';
217
223
  export type { FetchComplianeResultChecksStatsRequestBodyRequestBody } from './requestBodies/FetchComplianeResultChecksStatsRequestBodyRequestBody';
218
224
  export type { IntegrationStepConfigRequestBodyRequestBody } from './requestBodies/IntegrationStepConfigRequestBodyRequestBody';
225
+ export type { ListSbomComponentsRequestBodyRequestBody } from './requestBodies/ListSbomComponentsRequestBodyRequestBody';
219
226
  export type { NormalisedSbomComponentRequestBodyRequestBody } from './requestBodies/NormalisedSbomComponentRequestBodyRequestBody';
220
227
  export type { OidcIdTokenRequestBodyRequestBody } from './requestBodies/OidcIdTokenRequestBodyRequestBody';
221
228
  export type { OrchestrationStepDriftRequestBodyRequestBody } from './requestBodies/OrchestrationStepDriftRequestBodyRequestBody';
@@ -326,16 +333,24 @@ export type { UpdateIntegrationResponseBodyResponse } from './responses/UpdateIn
326
333
  export type { VersionResponseBodyResponse } from './responses/VersionResponseBodyResponse';
327
334
  export type { ActivityDetails } from './schemas/ActivityDetails';
328
335
  export type { AffectedArtifactInfo } from './schemas/AffectedArtifactInfo';
336
+ export type { AiBomComponentViewRequestBody } from './schemas/AiBomComponentViewRequestBody';
337
+ export type { AiBomComponentViewResponse } from './schemas/AiBomComponentViewResponse';
338
+ export type { AiBomExternalReference } from './schemas/AiBomExternalReference';
339
+ export type { AiBomModelCard } from './schemas/AiBomModelCard';
340
+ export type { AiBomModelPipeline } from './schemas/AiBomModelPipeline';
341
+ export type { AiBomOccurrence } from './schemas/AiBomOccurrence';
342
+ export type { AiBomSummaryResponse } from './schemas/AiBomSummaryResponse';
329
343
  export type { AiWorkflowAlertConfig } from './schemas/AiWorkflowAlertConfig';
330
344
  export type { AiWorkflowConfigRequest } from './schemas/AiWorkflowConfigRequest';
331
345
  export type { AiWorkflowConfigResponse } from './schemas/AiWorkflowConfigResponse';
346
+ export type { AiWorkflowExcludedScope } from './schemas/AiWorkflowExcludedScope';
332
347
  export type { AiWorkflowExclusionScope } from './schemas/AiWorkflowExclusionScope';
333
348
  export type { AiWorkflowExecutionDetailResponse } from './schemas/AiWorkflowExecutionDetailResponse';
334
- export type { AiWorkflowExecutionListResponse } from './schemas/AiWorkflowExecutionListResponse';
335
349
  export type { AiWorkflowExecutionRequest } from './schemas/AiWorkflowExecutionRequest';
336
350
  export type { AiWorkflowExecutionStatusEnum } from './schemas/AiWorkflowExecutionStatusEnum';
337
351
  export type { AiWorkflowExecutionStepsResponse } from './schemas/AiWorkflowExecutionStepsResponse';
338
352
  export type { AiWorkflowExecutionSummary } from './schemas/AiWorkflowExecutionSummary';
353
+ export type { AiWorkflowInfrastructureConfig } from './schemas/AiWorkflowInfrastructureConfig';
339
354
  export type { AiWorkflowResults } from './schemas/AiWorkflowResults';
340
355
  export type { AiWorkflowStepExecution } from './schemas/AiWorkflowStepExecution';
341
356
  export type { AiWorkflowTriggerConfig } from './schemas/AiWorkflowTriggerConfig';
@@ -343,6 +358,7 @@ export type { AiWorkflowTriggerRequest } from './schemas/AiWorkflowTriggerReques
343
358
  export type { AiWorkflowTriggerResponse } from './schemas/AiWorkflowTriggerResponse';
344
359
  export type { AiWorkflowTypeEnum } from './schemas/AiWorkflowTypeEnum';
345
360
  export type { AlertContext } from './schemas/AlertContext';
361
+ export type { AppendAiWorkflowStepExecutionResponse } from './schemas/AppendAiWorkflowStepExecutionResponse';
346
362
  export type { Artifact } from './schemas/Artifact';
347
363
  export type { ArtifactAndDeploymentsResponseBody } from './schemas/ArtifactAndDeploymentsResponseBody';
348
364
  export type { ArtifactChainOfCustody } from './schemas/ArtifactChainOfCustody';
@@ -412,9 +428,12 @@ export type { AutoPrVersioningRule } from './schemas/AutoPrVersioningRule';
412
428
  export type { BaselineRequestBody } from './schemas/BaselineRequestBody';
413
429
  export type { BaselineResponseBody } from './schemas/BaselineResponseBody';
414
430
  export type { BaselineV2RequestBody } from './schemas/BaselineV2RequestBody';
431
+ export type { BatchAccountResult } from './schemas/BatchAccountResult';
415
432
  export type { BatchComponentRemediationItem } from './schemas/BatchComponentRemediationItem';
416
433
  export type { BatchComponentRemediationRequest } from './schemas/BatchComponentRemediationRequest';
417
434
  export type { BatchComponentRemediationResponse } from './schemas/BatchComponentRemediationResponse';
435
+ export type { BatchTriggerRequest } from './schemas/BatchTriggerRequest';
436
+ export type { BatchTriggerResponse } from './schemas/BatchTriggerResponse';
418
437
  export type { BulkDownloadJobResponse } from './schemas/BulkDownloadJobResponse';
419
438
  export type { CategoryScorecard } from './schemas/CategoryScorecard';
420
439
  export type { CategoryScorecardCheck } from './schemas/CategoryScorecardCheck';
@@ -531,6 +550,10 @@ export type { GithubExecutionContext } from './schemas/GithubExecutionContext';
531
550
  export type { GithubExecutionDetail } from './schemas/GithubExecutionDetail';
532
551
  export type { GithubRunner } from './schemas/GithubRunner';
533
552
  export type { GithubRunnerDetail } from './schemas/GithubRunnerDetail';
553
+ export type { GitlabExecutionContext } from './schemas/GitlabExecutionContext';
554
+ export type { GitlabExecutionDetail } from './schemas/GitlabExecutionDetail';
555
+ export type { GitlabRunner } from './schemas/GitlabRunner';
556
+ export type { GitlabRunnerDetail } from './schemas/GitlabRunnerDetail';
534
557
  export type { GraphQlError } from './schemas/GraphQlError';
535
558
  export type { GraphQlRequest } from './schemas/GraphQlRequest';
536
559
  export type { GraphQlResponse } from './schemas/GraphQlResponse';
@@ -551,6 +574,12 @@ export type { IntegrationType } from './schemas/IntegrationType';
551
574
  export type { IntegrityVerification } from './schemas/IntegrityVerification';
552
575
  export type { IntegrityVerificationActivity } from './schemas/IntegrityVerificationActivity';
553
576
  export type { IntegrityVerificationModelPipeline } from './schemas/IntegrityVerificationModelPipeline';
577
+ export type { InternalAffectedArtifact } from './schemas/InternalAffectedArtifact';
578
+ export type { InternalAlertContext } from './schemas/InternalAlertContext';
579
+ export type { InternalIdentificationResult } from './schemas/InternalIdentificationResult';
580
+ export type { InternalRecommendedVersion } from './schemas/InternalRecommendedVersion';
581
+ export type { InternalStepExecution } from './schemas/InternalStepExecution';
582
+ export type { InternalStoreIdentificationResultRequest } from './schemas/InternalStoreIdentificationResultRequest';
554
583
  export type { LayerType } from './schemas/LayerType';
555
584
  export type { LicenseDrift } from './schemas/LicenseDrift';
556
585
  export type { LicenseDriftSummary } from './schemas/LicenseDriftSummary';
@@ -560,9 +589,11 @@ export type { LicenseFamilyResponse } from './schemas/LicenseFamilyResponse';
560
589
  export type { LicenseFilter } from './schemas/LicenseFilter';
561
590
  export type { LicenseUsageResponse } from './schemas/LicenseUsageResponse';
562
591
  export type { ListIntegrationReposResponse } from './schemas/ListIntegrationReposResponse';
592
+ export type { ListSbomComponentsRequest } from './schemas/ListSbomComponentsRequest';
563
593
  export type { MaliciousDetail } from './schemas/MaliciousDetail';
564
594
  export type { MaliciousPackageReference } from './schemas/MaliciousPackageReference';
565
595
  export type { NameOperator } from './schemas/NameOperator';
596
+ export type { NonContainerListingSpec } from './schemas/NonContainerListingSpec';
566
597
  export type { NormalisedSbomComponentRequestBody } from './schemas/NormalisedSbomComponentRequestBody';
567
598
  export type { NormalizedSbomComponentDto } from './schemas/NormalizedSbomComponentDto';
568
599
  export type { OidcIdTokenRequest } from './schemas/OidcIdTokenRequest';
@@ -599,6 +630,7 @@ export type { RemediationArtifactDeploymentsListingResponse } from './schemas/Re
599
630
  export type { RemediationArtifactDetailsResponse } from './schemas/RemediationArtifactDetailsResponse';
600
631
  export type { RemediationArtifactListingRequestBody } from './schemas/RemediationArtifactListingRequestBody';
601
632
  export type { RemediationArtifactListingResponse } from './schemas/RemediationArtifactListingResponse';
633
+ export type { RemediationBatchDetail } from './schemas/RemediationBatchDetail';
602
634
  export type { RemediationCodePreview } from './schemas/RemediationCodePreview';
603
635
  export type { RemediationCondition } from './schemas/RemediationCondition';
604
636
  export type { RemediationCount } from './schemas/RemediationCount';
@@ -634,6 +666,7 @@ export type { SbomComponentRequestDto } from './schemas/SbomComponentRequestDto'
634
666
  export type { SbomDetails } from './schemas/SbomDetails';
635
667
  export type { SbomDetailsForScorecard } from './schemas/SbomDetailsForScorecard';
636
668
  export type { SbomInfo } from './schemas/SbomInfo';
669
+ export type { SbomListingArtifactSpec } from './schemas/SbomListingArtifactSpec';
637
670
  export type { SbomMetadata } from './schemas/SbomMetadata';
638
671
  export type { SbomMetadataV2 } from './schemas/SbomMetadataV2';
639
672
  export type { SbomProcess } from './schemas/SbomProcess';
@@ -659,12 +692,16 @@ export type { SlsaVerificationRequestBody } from './schemas/SlsaVerificationRequ
659
692
  export type { SlsaVerificationRequestBodyV2 } from './schemas/SlsaVerificationRequestBodyV2';
660
693
  export type { SscaSummary } from './schemas/SscaSummary';
661
694
  export type { StoIssueCount } from './schemas/StoIssueCount';
695
+ export type { StoreAiWorkflowExecutionResultRequest } from './schemas/StoreAiWorkflowExecutionResultRequest';
696
+ export type { StoreAiWorkflowExecutionResultResponse } from './schemas/StoreAiWorkflowExecutionResultResponse';
662
697
  export type { SubjectFilter } from './schemas/SubjectFilter';
663
698
  export type { TargetVersionVulnerability } from './schemas/TargetVersionVulnerability';
664
699
  export type { TicketInfo } from './schemas/TicketInfo';
665
700
  export type { TokenIssueResponseBody } from './schemas/TokenIssueResponseBody';
666
701
  export type { TokenIssueTokenResponseBody } from './schemas/TokenIssueTokenResponseBody';
667
702
  export type { TriggerType } from './schemas/TriggerType';
703
+ export type { UpdateAiWorkflowExecutionStatusRequest } from './schemas/UpdateAiWorkflowExecutionStatusRequest';
704
+ export type { UpdateAiWorkflowExecutionStatusResponse } from './schemas/UpdateAiWorkflowExecutionStatusResponse';
668
705
  export type { UpdateIntegration } from './schemas/UpdateIntegration';
669
706
  export type { VerificationActivity } from './schemas/VerificationActivity';
670
707
  export type { VerificationStatus } from './schemas/VerificationStatus';
@@ -20,8 +20,10 @@ 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 { getAiWorkflowExecutionSteps, useGetAiWorkflowExecutionStepsQuery, } from './hooks/useGetAiWorkflowExecutionStepsQuery';
24
- export { getAiWorkflowExecutions, useGetAiWorkflowExecutionsQuery, } from './hooks/useGetAiWorkflowExecutionsQuery';
23
+ export { getAccountAiWorkflowConfig, useGetAccountAiWorkflowConfigQuery, } from './hooks/useGetAccountAiWorkflowConfigQuery';
24
+ export { getAiWorkflowExecutionDetail, useGetAiWorkflowExecutionDetailQuery, } from './hooks/useGetAiWorkflowExecutionDetailQuery';
25
+ export { getAiWorkflowExecutionStepsAccountScope, useGetAiWorkflowExecutionStepsAccountScopeQuery, } from './hooks/useGetAiWorkflowExecutionStepsAccountScopeQuery';
26
+ export { getAiWorkflowExecutionsAccountScope, useGetAiWorkflowExecutionsAccountScopeQuery, } from './hooks/useGetAiWorkflowExecutionsAccountScopeQuery';
25
27
  export { getAllRepositoriesSummary, useGetAllRepositoriesSummaryQuery, } from './hooks/useGetAllRepositoriesSummaryQuery';
26
28
  export { getArtifactChainOfCustodyV2, useGetArtifactChainOfCustodyV2Query, } from './hooks/useGetArtifactChainOfCustodyV2Query';
27
29
  export { getArtifactComponentDependenciesByPurl, useGetArtifactComponentDependenciesByPurlQuery, } from './hooks/useGetArtifactComponentDependenciesByPurlQuery';
@@ -82,6 +84,7 @@ export { listRemediations, useListRemediationsQuery } from './hooks/useListRemed
82
84
  export { postComplianceResultStatsEvaluationBreakdownArtifactType, usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation, } from './hooks/usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation';
83
85
  export { postComplianceResultStatsOverview, usePostComplianceResultStatsOverviewMutation, } from './hooks/usePostComplianceResultStatsOverviewMutation';
84
86
  export { resetLicenseFamilyConfig, useResetLicenseFamilyConfigMutation, } from './hooks/useResetLicenseFamilyConfigMutation';
87
+ export { saveAccountAiWorkflowConfig, useSaveAccountAiWorkflowConfigMutation, } from './hooks/useSaveAccountAiWorkflowConfigMutation';
85
88
  export { saveAutoPrConfig, useSaveAutoPrConfigMutation } from './hooks/useSaveAutoPrConfigMutation';
86
89
  export { saveConnectorConfig, useSaveConnectorConfigMutation, } from './hooks/useSaveConnectorConfigMutation';
87
90
  export { setBaselineForArtifactV2, useSetBaselineForArtifactV2Mutation, } from './hooks/useSetBaselineForArtifactV2Mutation';
@@ -0,0 +1,2 @@
1
+ import type { ListSbomComponentsRequest } from '../schemas/ListSbomComponentsRequest';
2
+ export type ListSbomComponentsRequestBodyRequestBody = ListSbomComponentsRequest;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Filter and search criteria for AI-BOM components
3
+ */
4
+ export interface AiBomComponentViewRequestBody {
5
+ /**
6
+ * Filter by component type (e.g. model, pkg, agent, framework)
7
+ */
8
+ ai_component_type?: string;
9
+ /**
10
+ * Search by component name
11
+ */
12
+ search?: string;
13
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,63 @@
1
+ import type { AiBomExternalReference } from '../schemas/AiBomExternalReference';
2
+ import type { AiBomModelCard } from '../schemas/AiBomModelCard';
3
+ import type { AiBomOccurrence } from '../schemas/AiBomOccurrence';
4
+ /**
5
+ * AI-BOM component details for the AI Bill of Materials view
6
+ */
7
+ export interface AiBomComponentViewResponse {
8
+ /**
9
+ * AI component classification derived from bom-ref prefix (e.g. model, pkg, agent)
10
+ */
11
+ ai_component_type?: string;
12
+ /**
13
+ * Detection confidence score (0.0 to 1.0)
14
+ * @format float
15
+ */
16
+ ai_detection_confidence?: number;
17
+ /**
18
+ * Detection technique used (e.g. source-code-analysis)
19
+ */
20
+ ai_detection_technique?: string;
21
+ /**
22
+ * External references such as model card URLs
23
+ */
24
+ ai_external_references?: AiBomExternalReference[];
25
+ ai_model_card?: AiBomModelCard;
26
+ /**
27
+ * Canonical model name (e.g. gpt-4o, claude-3-5-sonnet-20240620)
28
+ */
29
+ ai_model_name?: string;
30
+ /**
31
+ * All source code locations where this component was detected
32
+ */
33
+ ai_occurrences?: AiBomOccurrence[];
34
+ /**
35
+ * AI/ML provider name (e.g. OpenAI, Anthropic, HuggingFace)
36
+ */
37
+ ai_provider?: string;
38
+ /**
39
+ * Programming language (e.g. python)
40
+ */
41
+ language?: string;
42
+ /**
43
+ * Total number of source code occurrences
44
+ */
45
+ occurrence_count?: number;
46
+ /**
47
+ * Unique component identifier (bom-ref)
48
+ */
49
+ package_id?: string;
50
+ /**
51
+ * Component name (e.g. gpt-4, langchain_openai)
52
+ */
53
+ package_name?: string;
54
+ /**
55
+ * Source file where the component was first detected
56
+ */
57
+ package_source_info?: string;
58
+ /**
59
+ * CycloneDX component type (e.g. machine-learning-model, library, framework)
60
+ */
61
+ package_type?: string;
62
+ package_version?: string;
63
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * External reference for an AI/ML component
3
+ */
4
+ export interface AiBomExternalReference {
5
+ /**
6
+ * Reference type (e.g. model-card)
7
+ */
8
+ type?: string;
9
+ /**
10
+ * URL of the external reference
11
+ */
12
+ url?: string;
13
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Model card metadata for ML models
3
+ */
4
+ export interface AiBomModelCard {
5
+ /**
6
+ * Model parameters and configuration
7
+ */
8
+ model_parameters?: {
9
+ [key: string]: any;
10
+ };
11
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,36 @@
1
+ /**
2
+ * AI-BOM details for an artifact in the pipeline view
3
+ */
4
+ export interface AiBomModelPipeline {
5
+ /**
6
+ * @format int64
7
+ */
8
+ agents?: number;
9
+ /**
10
+ * Total number of AI assets
11
+ * @format int64
12
+ */
13
+ ai_assets?: number;
14
+ /**
15
+ * @format int64
16
+ */
17
+ datasets?: number;
18
+ /**
19
+ * @format int64
20
+ */
21
+ libraries?: number;
22
+ /**
23
+ * @format int64
24
+ */
25
+ mcp?: number;
26
+ /**
27
+ * @format int64
28
+ */
29
+ models?: number;
30
+ stage_execution_identifier?: string;
31
+ stage_identifier?: string;
32
+ stage_name?: string;
33
+ step_execution_identifier?: string;
34
+ step_identifier?: string;
35
+ step_name?: string;
36
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Source location where an AI/ML component was detected
3
+ */
4
+ export interface AiBomOccurrence {
5
+ /**
6
+ * Additional context about the detection (e.g. matched text)
7
+ */
8
+ additional_context?: string;
9
+ /**
10
+ * Line number in the file
11
+ */
12
+ line?: number;
13
+ /**
14
+ * File path or source identifier
15
+ */
16
+ location?: string;
17
+ /**
18
+ * Character offset within the line
19
+ */
20
+ offset?: number;
21
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};