@harnessio/react-ssca-manager-client 0.84.25 → 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 (32) 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 +14 -8
  12. package/dist/ssca-manager/src/services/index.js +5 -4
  13. package/dist/ssca-manager/src/services/requestBodies/ListSbomComponentsRequestBodyRequestBody.d.ts +2 -0
  14. package/dist/ssca-manager/src/services/requestBodies/ListSbomComponentsRequestBodyRequestBody.js +1 -0
  15. package/dist/ssca-manager/src/services/schemas/AiWorkflowConfigRequest.d.ts +0 -6
  16. package/dist/ssca-manager/src/services/schemas/AiWorkflowConfigResponse.d.ts +0 -3
  17. package/dist/ssca-manager/src/services/schemas/BatchAccountResult.d.ts +1 -1
  18. package/dist/ssca-manager/src/services/schemas/ListSbomComponentsRequest.d.ts +6 -0
  19. package/dist/ssca-manager/src/services/schemas/ListSbomComponentsRequest.js +1 -0
  20. package/dist/ssca-manager/src/services/schemas/NonContainerListingSpec.d.ts +16 -0
  21. package/dist/ssca-manager/src/services/schemas/NonContainerListingSpec.js +1 -0
  22. package/dist/ssca-manager/src/services/schemas/SbomListingArtifactSpec.d.ts +3 -0
  23. package/dist/ssca-manager/src/services/schemas/SbomListingArtifactSpec.js +4 -0
  24. package/package.json +1 -1
  25. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowConfigQuery.d.ts +0 -25
  26. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowConfigQuery.js +0 -14
  27. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionStepsQuery.d.ts +0 -23
  28. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionStepsQuery.js +0 -14
  29. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionsQuery.d.ts +0 -39
  30. package/dist/ssca-manager/src/services/hooks/useGetAiWorkflowExecutionsQuery.js +0 -14
  31. package/dist/ssca-manager/src/services/hooks/useSaveAiWorkflowConfigMutation.d.ts +0 -28
  32. package/dist/ssca-manager/src/services/hooks/useSaveAiWorkflowConfigMutation.js +0 -14
@@ -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,12 +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 { GetAiWorkflowConfigErrorResponse, GetAiWorkflowConfigOkResponse, GetAiWorkflowConfigProps, GetAiWorkflowConfigQueryPathParams, GetAiWorkflowConfigQueryQueryParams, } from './hooks/useGetAiWorkflowConfigQuery';
47
- export { getAiWorkflowConfig, useGetAiWorkflowConfigQuery, } from './hooks/useGetAiWorkflowConfigQuery';
48
- export type { GetAiWorkflowExecutionStepsErrorResponse, GetAiWorkflowExecutionStepsOkResponse, GetAiWorkflowExecutionStepsProps, GetAiWorkflowExecutionStepsQueryPathParams, GetAiWorkflowExecutionStepsQueryQueryParams, } from './hooks/useGetAiWorkflowExecutionStepsQuery';
49
- export { getAiWorkflowExecutionSteps, useGetAiWorkflowExecutionStepsQuery, } from './hooks/useGetAiWorkflowExecutionStepsQuery';
50
- export type { GetAiWorkflowExecutionsErrorResponse, GetAiWorkflowExecutionsOkResponse, GetAiWorkflowExecutionsProps, GetAiWorkflowExecutionsQueryQueryParams, } from './hooks/useGetAiWorkflowExecutionsQuery';
51
- 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';
52
54
  export type { GetAllRepositoriesSummaryErrorResponse, GetAllRepositoriesSummaryOkResponse, GetAllRepositoriesSummaryProps, GetAllRepositoriesSummaryQueryPathParams, } from './hooks/useGetAllRepositoriesSummaryQuery';
53
55
  export { getAllRepositoriesSummary, useGetAllRepositoriesSummaryQuery, } from './hooks/useGetAllRepositoriesSummaryQuery';
54
56
  export type { GetArtifactChainOfCustodyV2ErrorResponse, GetArtifactChainOfCustodyV2OkResponse, GetArtifactChainOfCustodyV2Props, GetArtifactChainOfCustodyV2QueryPathParams, } from './hooks/useGetArtifactChainOfCustodyV2Query';
@@ -169,8 +171,8 @@ export type { PostComplianceResultStatsOverviewErrorResponse, PostComplianceResu
169
171
  export { postComplianceResultStatsOverview, usePostComplianceResultStatsOverviewMutation, } from './hooks/usePostComplianceResultStatsOverviewMutation';
170
172
  export type { ResetLicenseFamilyConfigErrorResponse, ResetLicenseFamilyConfigMutationPathParams, ResetLicenseFamilyConfigMutationQueryParams, ResetLicenseFamilyConfigOkResponse, ResetLicenseFamilyConfigProps, } from './hooks/useResetLicenseFamilyConfigMutation';
171
173
  export { resetLicenseFamilyConfig, useResetLicenseFamilyConfigMutation, } from './hooks/useResetLicenseFamilyConfigMutation';
172
- export type { SaveAiWorkflowConfigErrorResponse, SaveAiWorkflowConfigMutationPathParams, SaveAiWorkflowConfigMutationQueryParams, SaveAiWorkflowConfigOkResponse, SaveAiWorkflowConfigProps, SaveAiWorkflowConfigRequestBody, } from './hooks/useSaveAiWorkflowConfigMutation';
173
- export { saveAiWorkflowConfig, useSaveAiWorkflowConfigMutation, } from './hooks/useSaveAiWorkflowConfigMutation';
174
+ export type { SaveAccountAiWorkflowConfigErrorResponse, SaveAccountAiWorkflowConfigMutationQueryParams, SaveAccountAiWorkflowConfigOkResponse, SaveAccountAiWorkflowConfigProps, SaveAccountAiWorkflowConfigRequestBody, } from './hooks/useSaveAccountAiWorkflowConfigMutation';
175
+ export { saveAccountAiWorkflowConfig, useSaveAccountAiWorkflowConfigMutation, } from './hooks/useSaveAccountAiWorkflowConfigMutation';
174
176
  export type { SaveAutoPrConfigErrorResponse, SaveAutoPrConfigOkResponse, SaveAutoPrConfigProps, SaveAutoPrConfigRequestBody, } from './hooks/useSaveAutoPrConfigMutation';
175
177
  export { saveAutoPrConfig, useSaveAutoPrConfigMutation } from './hooks/useSaveAutoPrConfigMutation';
176
178
  export type { SaveConnectorConfigErrorResponse, SaveConnectorConfigOkResponse, SaveConnectorConfigProps, SaveConnectorConfigRequestBody, } from './hooks/useSaveConnectorConfigMutation';
@@ -220,6 +222,7 @@ export type { FetchComplianceResultByArtifactRequestBodyRequestBody } from './re
220
222
  export type { FetchComplianceResultRequestBodyRequestBody } from './requestBodies/FetchComplianceResultRequestBodyRequestBody';
221
223
  export type { FetchComplianeResultChecksStatsRequestBodyRequestBody } from './requestBodies/FetchComplianeResultChecksStatsRequestBodyRequestBody';
222
224
  export type { IntegrationStepConfigRequestBodyRequestBody } from './requestBodies/IntegrationStepConfigRequestBodyRequestBody';
225
+ export type { ListSbomComponentsRequestBodyRequestBody } from './requestBodies/ListSbomComponentsRequestBodyRequestBody';
223
226
  export type { NormalisedSbomComponentRequestBodyRequestBody } from './requestBodies/NormalisedSbomComponentRequestBodyRequestBody';
224
227
  export type { OidcIdTokenRequestBodyRequestBody } from './requestBodies/OidcIdTokenRequestBodyRequestBody';
225
228
  export type { OrchestrationStepDriftRequestBodyRequestBody } from './requestBodies/OrchestrationStepDriftRequestBodyRequestBody';
@@ -586,9 +589,11 @@ export type { LicenseFamilyResponse } from './schemas/LicenseFamilyResponse';
586
589
  export type { LicenseFilter } from './schemas/LicenseFilter';
587
590
  export type { LicenseUsageResponse } from './schemas/LicenseUsageResponse';
588
591
  export type { ListIntegrationReposResponse } from './schemas/ListIntegrationReposResponse';
592
+ export type { ListSbomComponentsRequest } from './schemas/ListSbomComponentsRequest';
589
593
  export type { MaliciousDetail } from './schemas/MaliciousDetail';
590
594
  export type { MaliciousPackageReference } from './schemas/MaliciousPackageReference';
591
595
  export type { NameOperator } from './schemas/NameOperator';
596
+ export type { NonContainerListingSpec } from './schemas/NonContainerListingSpec';
592
597
  export type { NormalisedSbomComponentRequestBody } from './schemas/NormalisedSbomComponentRequestBody';
593
598
  export type { NormalizedSbomComponentDto } from './schemas/NormalizedSbomComponentDto';
594
599
  export type { OidcIdTokenRequest } from './schemas/OidcIdTokenRequest';
@@ -661,6 +666,7 @@ export type { SbomComponentRequestDto } from './schemas/SbomComponentRequestDto'
661
666
  export type { SbomDetails } from './schemas/SbomDetails';
662
667
  export type { SbomDetailsForScorecard } from './schemas/SbomDetailsForScorecard';
663
668
  export type { SbomInfo } from './schemas/SbomInfo';
669
+ export type { SbomListingArtifactSpec } from './schemas/SbomListingArtifactSpec';
664
670
  export type { SbomMetadata } from './schemas/SbomMetadata';
665
671
  export type { SbomMetadataV2 } from './schemas/SbomMetadataV2';
666
672
  export type { SbomProcess } from './schemas/SbomProcess';
@@ -20,9 +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 { getAiWorkflowConfig, useGetAiWorkflowConfigQuery, } from './hooks/useGetAiWorkflowConfigQuery';
24
- export { getAiWorkflowExecutionSteps, useGetAiWorkflowExecutionStepsQuery, } from './hooks/useGetAiWorkflowExecutionStepsQuery';
25
- 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';
26
27
  export { getAllRepositoriesSummary, useGetAllRepositoriesSummaryQuery, } from './hooks/useGetAllRepositoriesSummaryQuery';
27
28
  export { getArtifactChainOfCustodyV2, useGetArtifactChainOfCustodyV2Query, } from './hooks/useGetArtifactChainOfCustodyV2Query';
28
29
  export { getArtifactComponentDependenciesByPurl, useGetArtifactComponentDependenciesByPurlQuery, } from './hooks/useGetArtifactComponentDependenciesByPurlQuery';
@@ -83,7 +84,7 @@ export { listRemediations, useListRemediationsQuery } from './hooks/useListRemed
83
84
  export { postComplianceResultStatsEvaluationBreakdownArtifactType, usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation, } from './hooks/usePostComplianceResultStatsEvaluationBreakdownArtifactTypeMutation';
84
85
  export { postComplianceResultStatsOverview, usePostComplianceResultStatsOverviewMutation, } from './hooks/usePostComplianceResultStatsOverviewMutation';
85
86
  export { resetLicenseFamilyConfig, useResetLicenseFamilyConfigMutation, } from './hooks/useResetLicenseFamilyConfigMutation';
86
- export { saveAiWorkflowConfig, useSaveAiWorkflowConfigMutation, } from './hooks/useSaveAiWorkflowConfigMutation';
87
+ export { saveAccountAiWorkflowConfig, useSaveAccountAiWorkflowConfigMutation, } from './hooks/useSaveAccountAiWorkflowConfigMutation';
87
88
  export { saveAutoPrConfig, useSaveAutoPrConfigMutation } from './hooks/useSaveAutoPrConfigMutation';
88
89
  export { saveConnectorConfig, useSaveConnectorConfigMutation, } from './hooks/useSaveConnectorConfigMutation';
89
90
  export { setBaselineForArtifactV2, useSetBaselineForArtifactV2Mutation, } from './hooks/useSetBaselineForArtifactV2Mutation';
@@ -0,0 +1,2 @@
1
+ import type { ListSbomComponentsRequest } from '../schemas/ListSbomComponentsRequest';
2
+ export type ListSbomComponentsRequestBodyRequestBody = ListSbomComponentsRequest;
@@ -1,14 +1,8 @@
1
- import type { AiWorkflowAlertConfig } from '../schemas/AiWorkflowAlertConfig';
2
1
  import type { AiWorkflowExclusionScope } from '../schemas/AiWorkflowExclusionScope';
3
2
  import type { AiWorkflowInfrastructureConfig } from '../schemas/AiWorkflowInfrastructureConfig';
4
3
  import type { AiWorkflowTriggerConfig } from '../schemas/AiWorkflowTriggerConfig';
5
4
  import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
6
5
  export interface AiWorkflowConfigRequest {
7
- /**
8
- * Free-text instructions passed to the LLM enrichment prompt
9
- */
10
- additional_instructions?: string;
11
- alert_config?: AiWorkflowAlertConfig;
12
6
  /**
13
7
  * Master on/off switch for the remediation agent
14
8
  */
@@ -1,4 +1,3 @@
1
- import type { AiWorkflowAlertConfig } from '../schemas/AiWorkflowAlertConfig';
2
1
  import type { AiWorkflowExclusionScope } from '../schemas/AiWorkflowExclusionScope';
3
2
  import type { AiWorkflowInfrastructureConfig } from '../schemas/AiWorkflowInfrastructureConfig';
4
3
  import type { AiWorkflowTriggerConfig } from '../schemas/AiWorkflowTriggerConfig';
@@ -8,8 +7,6 @@ export interface AiWorkflowConfigResponse {
8
7
  * Account identifier
9
8
  */
10
9
  account_id?: string;
11
- additional_instructions?: string;
12
- alert_config?: AiWorkflowAlertConfig;
13
10
  /**
14
11
  * Creation timestamp in milliseconds
15
12
  * @format int64
@@ -2,7 +2,7 @@ export interface BatchAccountResult {
2
2
  accountId?: string;
3
3
  executionId?: string;
4
4
  failureMessage?: string;
5
- outcome?: 'FAILED' | 'SKIPPED_DEDUP' | 'SKIPPED_DISABLED' | 'SKIPPED_MISSING_APPROVER_GROUPS' | 'SKIPPED_RECENT_EXECUTION' | 'TRIGGERED';
5
+ outcome?: 'FAILED' | 'SKIPPED_BELOW_THRESHOLD' | 'SKIPPED_DEDUP' | 'SKIPPED_DISABLED' | 'SKIPPED_RECENT_EXECUTION' | 'TRIGGERED';
6
6
  pipelineExecutionId?: string;
7
7
  /**
8
8
  * @format int64
@@ -0,0 +1,6 @@
1
+ import type { OwaspFilter } from '../schemas/OwaspFilter';
2
+ import type { SbomListingArtifactSpec } from '../schemas/SbomListingArtifactSpec';
3
+ export interface ListSbomComponentsRequest<T0 extends SbomListingArtifactSpec = SbomListingArtifactSpec> {
4
+ oss_risk_filter?: OwaspFilter[];
5
+ spec: T0;
6
+ }
@@ -0,0 +1,16 @@
1
+ import type { SbomListingArtifactSpec } from '../schemas/SbomListingArtifactSpec';
2
+ export interface NonContainerListingSpec extends SbomListingArtifactSpec {
3
+ /**
4
+ * Artifact digest; when present, takes precedence for lookup.
5
+ */
6
+ digest?: string;
7
+ /**
8
+ * Non-container artifact name.
9
+ */
10
+ name?: string;
11
+ type: 'NON_CONTAINER';
12
+ /**
13
+ * Non-container artifact version.
14
+ */
15
+ version?: string;
16
+ }
@@ -0,0 +1,3 @@
1
+ export interface SbomListingArtifactSpec {
2
+ type: 'NON_CONTAINER';
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.84.25",
3
+ "version": "0.84.26",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,25 +0,0 @@
1
- import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { AiWorkflowConfigResponse } from '../schemas/AiWorkflowConfigResponse';
3
- import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
4
- import type { ResponseWithPagination } from '../helpers';
5
- import { FetcherOptions } from '../../../../fetcher/index.js';
6
- export interface GetAiWorkflowConfigQueryPathParams {
7
- org: string;
8
- project: string;
9
- }
10
- export interface GetAiWorkflowConfigQueryQueryParams {
11
- workflow_type?: AiWorkflowTypeEnum;
12
- }
13
- export interface GetAiWorkflowConfigQueryHeaderParams {
14
- 'Harness-Account': string;
15
- }
16
- export type GetAiWorkflowConfigOkResponse = ResponseWithPagination<AiWorkflowConfigResponse>;
17
- export type GetAiWorkflowConfigErrorResponse = unknown;
18
- export interface GetAiWorkflowConfigProps extends GetAiWorkflowConfigQueryPathParams, Omit<FetcherOptions<GetAiWorkflowConfigQueryQueryParams, unknown, GetAiWorkflowConfigQueryHeaderParams>, 'url'> {
19
- queryParams: GetAiWorkflowConfigQueryQueryParams;
20
- }
21
- export declare function getAiWorkflowConfig(props: GetAiWorkflowConfigProps): Promise<GetAiWorkflowConfigOkResponse>;
22
- /**
23
- * Get AI workflow configuration for the project. Falls back to account-level configuration when no project-scoped config exists.
24
- */
25
- export declare function useGetAiWorkflowConfigQuery(props: GetAiWorkflowConfigProps, options?: Omit<UseQueryOptions<GetAiWorkflowConfigOkResponse, GetAiWorkflowConfigErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAiWorkflowConfigOkResponse, unknown>;
@@ -1,14 +0,0 @@
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 getAiWorkflowConfig(props) {
7
- return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/ai-workflow-config`, method: 'GET' }, props));
8
- }
9
- /**
10
- * Get AI workflow configuration for the project. Falls back to account-level configuration when no project-scoped config exists.
11
- */
12
- export function useGetAiWorkflowConfigQuery(props, options) {
13
- return useQuery(['getAIWorkflowConfig', props.org, props.project, props.queryParams], ({ signal }) => getAiWorkflowConfig(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,23 +0,0 @@
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 GetAiWorkflowExecutionStepsQueryPathParams {
6
- executionId: string;
7
- }
8
- export interface GetAiWorkflowExecutionStepsQueryQueryParams {
9
- ai_workflow_type: string;
10
- }
11
- export interface GetAiWorkflowExecutionStepsQueryHeaderParams {
12
- 'Harness-Account': string;
13
- }
14
- export type GetAiWorkflowExecutionStepsOkResponse = ResponseWithPagination<AiWorkflowExecutionStepsResponse>;
15
- export type GetAiWorkflowExecutionStepsErrorResponse = unknown;
16
- export interface GetAiWorkflowExecutionStepsProps extends GetAiWorkflowExecutionStepsQueryPathParams, Omit<FetcherOptions<GetAiWorkflowExecutionStepsQueryQueryParams, unknown, GetAiWorkflowExecutionStepsQueryHeaderParams>, 'url'> {
17
- queryParams: GetAiWorkflowExecutionStepsQueryQueryParams;
18
- }
19
- export declare function getAiWorkflowExecutionSteps(props: GetAiWorkflowExecutionStepsProps): Promise<GetAiWorkflowExecutionStepsOkResponse>;
20
- /**
21
- * Get step details for a specific AI workflow execution.
22
- */
23
- export declare function useGetAiWorkflowExecutionStepsQuery(props: GetAiWorkflowExecutionStepsProps, options?: Omit<UseQueryOptions<GetAiWorkflowExecutionStepsOkResponse, GetAiWorkflowExecutionStepsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAiWorkflowExecutionStepsOkResponse, unknown>;
@@ -1,14 +0,0 @@
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 getAiWorkflowExecutionSteps(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.
11
- */
12
- export function useGetAiWorkflowExecutionStepsQuery(props, options) {
13
- return useQuery(['getAIWorkflowExecutionSteps', props.executionId, props.queryParams], ({ signal }) => getAiWorkflowExecutionSteps(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,39 +0,0 @@
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 GetAiWorkflowExecutionsQueryQueryParams {
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 GetAiWorkflowExecutionsQueryHeaderParams {
28
- 'Harness-Account': string;
29
- }
30
- export type GetAiWorkflowExecutionsOkResponse = ResponseWithPagination<AiWorkflowExecutionSummary[]>;
31
- export type GetAiWorkflowExecutionsErrorResponse = unknown;
32
- export interface GetAiWorkflowExecutionsProps extends Omit<FetcherOptions<GetAiWorkflowExecutionsQueryQueryParams, unknown, GetAiWorkflowExecutionsQueryHeaderParams>, 'url'> {
33
- queryParams: GetAiWorkflowExecutionsQueryQueryParams;
34
- }
35
- export declare function getAiWorkflowExecutions(props: GetAiWorkflowExecutionsProps): Promise<GetAiWorkflowExecutionsOkResponse>;
36
- /**
37
- * Get AI workflow executions with optional filters for status, date range, batch ID, and workflow type
38
- */
39
- export declare function useGetAiWorkflowExecutionsQuery(props: GetAiWorkflowExecutionsProps, options?: Omit<UseQueryOptions<GetAiWorkflowExecutionsOkResponse, GetAiWorkflowExecutionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAiWorkflowExecutionsOkResponse, unknown>;
@@ -1,14 +0,0 @@
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 getAiWorkflowExecutions(props) {
7
- return fetcher(Object.assign({ url: `/v1/ai-workflow-executions`, method: 'GET' }, props));
8
- }
9
- /**
10
- * Get AI workflow executions with optional filters for status, date range, batch ID, and workflow type
11
- */
12
- export function useGetAiWorkflowExecutionsQuery(props, options) {
13
- return useQuery(['getAIWorkflowExecutions', props.queryParams], ({ signal }) => getAiWorkflowExecutions(Object.assign(Object.assign({}, props), { signal })), options);
14
- }
@@ -1,28 +0,0 @@
1
- import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { AiWorkflowConfigResponse } from '../schemas/AiWorkflowConfigResponse';
3
- import type { AiWorkflowConfigRequest } from '../schemas/AiWorkflowConfigRequest';
4
- import type { AiWorkflowTypeEnum } from '../schemas/AiWorkflowTypeEnum';
5
- import type { ResponseWithPagination } from '../helpers';
6
- import { FetcherOptions } from '../../../../fetcher/index.js';
7
- export interface SaveAiWorkflowConfigMutationPathParams {
8
- org: string;
9
- project: string;
10
- }
11
- export interface SaveAiWorkflowConfigMutationQueryParams {
12
- workflow_type?: AiWorkflowTypeEnum;
13
- }
14
- export interface SaveAiWorkflowConfigMutationHeaderParams {
15
- 'Harness-Account': string;
16
- }
17
- export type SaveAiWorkflowConfigRequestBody = AiWorkflowConfigRequest;
18
- export type SaveAiWorkflowConfigOkResponse = ResponseWithPagination<AiWorkflowConfigResponse>;
19
- export type SaveAiWorkflowConfigErrorResponse = unknown;
20
- export interface SaveAiWorkflowConfigProps extends SaveAiWorkflowConfigMutationPathParams, Omit<FetcherOptions<SaveAiWorkflowConfigMutationQueryParams, SaveAiWorkflowConfigRequestBody, SaveAiWorkflowConfigMutationHeaderParams>, 'url'> {
21
- queryParams: SaveAiWorkflowConfigMutationQueryParams;
22
- body: SaveAiWorkflowConfigRequestBody;
23
- }
24
- export declare function saveAiWorkflowConfig(props: SaveAiWorkflowConfigProps): Promise<SaveAiWorkflowConfigOkResponse>;
25
- /**
26
- * Create or update AI workflow configuration for the project. The org and project path parameters scope the configuration.
27
- */
28
- export declare function useSaveAiWorkflowConfigMutation(options?: Omit<UseMutationOptions<SaveAiWorkflowConfigOkResponse, SaveAiWorkflowConfigErrorResponse, SaveAiWorkflowConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<SaveAiWorkflowConfigOkResponse, unknown, SaveAiWorkflowConfigProps, unknown>;
@@ -1,14 +0,0 @@
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 saveAiWorkflowConfig(props) {
7
- return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/ai-workflow-config`, method: 'PUT' }, props));
8
- }
9
- /**
10
- * Create or update AI workflow configuration for the project. The org and project path parameters scope the configuration.
11
- */
12
- export function useSaveAiWorkflowConfigMutation(options) {
13
- return useMutation((mutateProps) => saveAiWorkflowConfig(mutateProps), options);
14
- }