@harnessio/react-ssca-manager-client 0.84.15 → 0.84.17

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 (46) hide show
  1. package/dist/ssca-manager/src/services/hooks/useDownloadAttestationQuery.d.ts +5 -1
  2. package/dist/ssca-manager/src/services/hooks/useDownloadAttestationQuery.js +1 -1
  3. package/dist/ssca-manager/src/services/hooks/useDownloadSbomQuery.d.ts +5 -1
  4. package/dist/ssca-manager/src/services/hooks/useDownloadSbomQuery.js +1 -1
  5. package/dist/ssca-manager/src/services/hooks/useGetArtifactSourcesListQuery.d.ts +28 -0
  6. package/dist/ssca-manager/src/services/hooks/useGetArtifactSourcesListQuery.js +14 -0
  7. package/dist/ssca-manager/src/services/hooks/useGetArtifactV2DetailComponentViewQuery.d.ts +1 -1
  8. package/dist/ssca-manager/src/services/hooks/useGetAttestationDetailsQuery.d.ts +21 -0
  9. package/dist/ssca-manager/src/services/hooks/useGetAttestationDetailsQuery.js +14 -0
  10. package/dist/ssca-manager/src/services/hooks/useGetAttestationSummaryBySourceMutation.d.ts +23 -0
  11. package/dist/ssca-manager/src/services/hooks/useGetAttestationSummaryBySourceMutation.js +14 -0
  12. package/dist/ssca-manager/src/services/hooks/useGetEolAutoTicketConfigQuery.d.ts +20 -0
  13. package/dist/ssca-manager/src/services/hooks/useGetEolAutoTicketConfigQuery.js +14 -0
  14. package/dist/ssca-manager/src/services/hooks/useListAttestationsMutation.d.ts +1 -0
  15. package/dist/ssca-manager/src/services/hooks/useUpsertEolAutoTicketConfigMutation.d.ts +23 -0
  16. package/dist/ssca-manager/src/services/hooks/useUpsertEolAutoTicketConfigMutation.js +14 -0
  17. package/dist/ssca-manager/src/services/index.d.ts +22 -3
  18. package/dist/ssca-manager/src/services/index.js +5 -0
  19. package/dist/ssca-manager/src/services/requestBodies/CooldownConfigRequestBodyRequestBody.d.ts +2 -0
  20. package/dist/ssca-manager/src/services/responses/AttestationListingResponseBodyResponse.d.ts +1 -1
  21. package/dist/ssca-manager/src/services/responses/CooldownConfigResponseBodyResponse.d.ts +2 -0
  22. package/dist/ssca-manager/src/services/responses/CooldownConfigResponseBodyResponse.js +1 -0
  23. package/dist/ssca-manager/src/services/schemas/ArtifactSbomResponseBody.d.ts +4 -0
  24. package/dist/ssca-manager/src/services/schemas/ArtifactSourceListItem.d.ts +21 -0
  25. package/dist/ssca-manager/src/services/schemas/ArtifactSourceListItem.js +4 -0
  26. package/dist/ssca-manager/src/services/schemas/ArtifactSourcesListResponse.d.ts +9 -0
  27. package/dist/ssca-manager/src/services/schemas/ArtifactSourcesListResponse.js +1 -0
  28. package/dist/ssca-manager/src/services/schemas/AttestationListingRequest.d.ts +2 -2
  29. package/dist/ssca-manager/src/services/schemas/AttestationSource.d.ts +1 -1
  30. package/dist/ssca-manager/src/services/schemas/AttestationSubjectSummary.d.ts +1 -1
  31. package/dist/ssca-manager/src/services/schemas/AttestationType.d.ts +1 -1
  32. package/dist/ssca-manager/src/services/schemas/CooldownConfigRequestBody.d.ts +16 -0
  33. package/dist/ssca-manager/src/services/schemas/CooldownConfigRequestBody.js +4 -0
  34. package/dist/ssca-manager/src/services/schemas/CooldownConfigResponseBody.d.ts +12 -0
  35. package/dist/ssca-manager/src/services/schemas/CooldownConfigResponseBody.js +4 -0
  36. package/dist/ssca-manager/src/services/schemas/CooldownViolationsResponseBody.d.ts +18 -0
  37. package/dist/ssca-manager/src/services/schemas/CooldownViolationsResponseBody.js +4 -0
  38. package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigRequest.d.ts +4 -0
  39. package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigRequest.js +4 -0
  40. package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigResponse.d.ts +9 -0
  41. package/dist/ssca-manager/src/services/schemas/EolAutoTicketConfigResponse.js +4 -0
  42. package/dist/ssca-manager/src/services/schemas/SubjectFilter.d.ts +6 -0
  43. package/dist/ssca-manager/src/services/schemas/SubjectFilter.js +1 -0
  44. package/package.json +1 -1
  45. package/dist/ssca-manager/src/services/schemas/SubjectNameFilter.d.ts +0 -8
  46. /package/dist/ssca-manager/src/services/{schemas/SubjectNameFilter.js → requestBodies/CooldownConfigRequestBodyRequestBody.js} +0 -0
@@ -7,12 +7,16 @@ export interface DownloadAttestationQueryPathParams {
7
7
  project: string;
8
8
  digest: string;
9
9
  }
10
+ export interface DownloadAttestationQueryQueryParams {
11
+ decode?: boolean;
12
+ }
10
13
  export interface DownloadAttestationQueryHeaderParams {
11
14
  'Harness-Account': string;
12
15
  }
13
16
  export type DownloadAttestationOkResponse = ResponseWithPagination<AttestationDownloadResponseResponse>;
14
17
  export type DownloadAttestationErrorResponse = unknown;
15
- export interface DownloadAttestationProps extends DownloadAttestationQueryPathParams, Omit<FetcherOptions<unknown, unknown, DownloadAttestationQueryHeaderParams>, 'url'> {
18
+ export interface DownloadAttestationProps extends DownloadAttestationQueryPathParams, Omit<FetcherOptions<DownloadAttestationQueryQueryParams, unknown, DownloadAttestationQueryHeaderParams>, 'url'> {
19
+ queryParams: DownloadAttestationQueryQueryParams;
16
20
  }
17
21
  export declare function downloadAttestation(props: DownloadAttestationProps): Promise<DownloadAttestationOkResponse>;
18
22
  /**
@@ -10,5 +10,5 @@ export function downloadAttestation(props) {
10
10
  * Download DSSE attestation envelope by digest
11
11
  */
12
12
  export function useDownloadAttestationQuery(props, options) {
13
- return useQuery(['downloadAttestation', props.org, props.project, props.digest], ({ signal }) => downloadAttestation(Object.assign(Object.assign({}, props), { signal })), options);
13
+ return useQuery(['downloadAttestation', props.org, props.project, props.digest, props.queryParams], ({ signal }) => downloadAttestation(Object.assign(Object.assign({}, props), { signal })), options);
14
14
  }
@@ -7,12 +7,16 @@ export interface DownloadSbomQueryPathParams {
7
7
  project: string;
8
8
  'orchestration-id': string;
9
9
  }
10
+ export interface DownloadSbomQueryQueryParams {
11
+ enriched?: boolean;
12
+ }
10
13
  export interface DownloadSbomQueryHeaderParams {
11
14
  'Harness-Account': string;
12
15
  }
13
16
  export type DownloadSbomOkResponse = ResponseWithPagination<ArtifactSbomResponseBodyResponse>;
14
17
  export type DownloadSbomErrorResponse = unknown;
15
- export interface DownloadSbomProps extends DownloadSbomQueryPathParams, Omit<FetcherOptions<unknown, unknown, DownloadSbomQueryHeaderParams>, 'url'> {
18
+ export interface DownloadSbomProps extends DownloadSbomQueryPathParams, Omit<FetcherOptions<DownloadSbomQueryQueryParams, unknown, DownloadSbomQueryHeaderParams>, 'url'> {
19
+ queryParams: DownloadSbomQueryQueryParams;
16
20
  }
17
21
  export declare function downloadSbom(props: DownloadSbomProps): Promise<DownloadSbomOkResponse>;
18
22
  /**
@@ -10,5 +10,5 @@ export function downloadSbom(props) {
10
10
  * Download SBOM for an artifact
11
11
  */
12
12
  export function useDownloadSbomQuery(props, options) {
13
- return useQuery(['downloadSbom', props.org, props.project, props['orchestration-id']], ({ signal }) => downloadSbom(Object.assign(Object.assign({}, props), { signal })), options);
13
+ return useQuery(['downloadSbom', props.org, props.project, props['orchestration-id'], props.queryParams], ({ signal }) => downloadSbom(Object.assign(Object.assign({}, props), { signal })), options);
14
14
  }
@@ -0,0 +1,28 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ArtifactSourcesListResponse } from '../schemas/ArtifactSourcesListResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface GetArtifactSourcesListQueryPathParams {
6
+ org: string;
7
+ project: string;
8
+ }
9
+ export interface GetArtifactSourcesListQueryQueryParams {
10
+ search?: string;
11
+ /**
12
+ * @default 100
13
+ */
14
+ limit?: number;
15
+ }
16
+ export interface GetArtifactSourcesListQueryHeaderParams {
17
+ 'Harness-Account': string;
18
+ }
19
+ export type GetArtifactSourcesListOkResponse = ResponseWithPagination<ArtifactSourcesListResponse>;
20
+ export type GetArtifactSourcesListErrorResponse = unknown;
21
+ export interface GetArtifactSourcesListProps extends GetArtifactSourcesListQueryPathParams, Omit<FetcherOptions<GetArtifactSourcesListQueryQueryParams, unknown, GetArtifactSourcesListQueryHeaderParams>, 'url'> {
22
+ queryParams: GetArtifactSourcesListQueryQueryParams;
23
+ }
24
+ export declare function getArtifactSourcesList(props: GetArtifactSourcesListProps): Promise<GetArtifactSourcesListOkResponse>;
25
+ /**
26
+ * Returns a lightweight project-scoped list of artifact sources (id, name, type, subtype) for UI selection. Optional search filters by name. Default limit is 100; maximum is 2000.
27
+ */
28
+ export declare function useGetArtifactSourcesListQuery(props: GetArtifactSourcesListProps, options?: Omit<UseQueryOptions<GetArtifactSourcesListOkResponse, GetArtifactSourcesListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetArtifactSourcesListOkResponse, 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 getArtifactSourcesList(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/artifact-sources/list`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns a lightweight project-scoped list of artifact sources (id, name, type, subtype) for UI selection. Optional search filters by name. Default limit is 100; maximum is 2000.
11
+ */
12
+ export function useGetArtifactSourcesListQuery(props, options) {
13
+ return useQuery(['getArtifactSourcesList', props.org, props.project, props.queryParams], ({ signal }) => getArtifactSourcesList(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -24,7 +24,7 @@ export interface GetArtifactV2DetailComponentViewQueryQueryParams {
24
24
  /**
25
25
  * @default "package_name"
26
26
  */
27
- sort?: 'license_family' | 'package_name' | 'package_supplier';
27
+ sort?: 'eol_score' | 'eol_status' | 'license_family' | 'package_name' | 'package_supplier' | 'vulnerabilities';
28
28
  enforce_elasticsearch?: boolean;
29
29
  }
30
30
  export interface GetArtifactV2DetailComponentViewQueryHeaderParams {
@@ -0,0 +1,21 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { AttestationDetailsResponseBodyResponse } from '../responses/AttestationDetailsResponseBodyResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface GetAttestationDetailsQueryPathParams {
6
+ org: string;
7
+ project: string;
8
+ attestation: string;
9
+ }
10
+ export interface GetAttestationDetailsQueryHeaderParams {
11
+ 'Harness-Account': string;
12
+ }
13
+ export type GetAttestationDetailsOkResponse = ResponseWithPagination<AttestationDetailsResponseBodyResponse>;
14
+ export type GetAttestationDetailsErrorResponse = unknown;
15
+ export interface GetAttestationDetailsProps extends GetAttestationDetailsQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetAttestationDetailsQueryHeaderParams>, 'url'> {
16
+ }
17
+ export declare function getAttestationDetails(props: GetAttestationDetailsProps): Promise<GetAttestationDetailsOkResponse>;
18
+ /**
19
+ * Returns stored attestation metadata and subjects for a single attestation by document id.
20
+ */
21
+ export declare function useGetAttestationDetailsQuery(props: GetAttestationDetailsProps, options?: Omit<UseQueryOptions<GetAttestationDetailsOkResponse, GetAttestationDetailsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAttestationDetailsOkResponse, 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 getAttestationDetails(props) {
7
+ return fetcher(Object.assign({ url: `/v2/orgs/${props.org}/projects/${props.project}/attestations/${props.attestation}/details`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns stored attestation metadata and subjects for a single attestation by document id.
11
+ */
12
+ export function useGetAttestationDetailsQuery(props, options) {
13
+ return useQuery(['getAttestationDetails', props.org, props.project, props.attestation], ({ signal }) => getAttestationDetails(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { AttestationSummaryBySourceResponseBodyResponse } from '../responses/AttestationSummaryBySourceResponseBodyResponse';
3
+ import type { AttestationSummaryBySourceRequestBodyRequestBody } from '../requestBodies/AttestationSummaryBySourceRequestBodyRequestBody';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetAttestationSummaryBySourceMutationPathParams {
7
+ org: string;
8
+ project: string;
9
+ }
10
+ export interface GetAttestationSummaryBySourceMutationHeaderParams {
11
+ 'Harness-Account': string;
12
+ }
13
+ export type GetAttestationSummaryBySourceRequestBody = AttestationSummaryBySourceRequestBodyRequestBody;
14
+ export type GetAttestationSummaryBySourceOkResponse = ResponseWithPagination<AttestationSummaryBySourceResponseBodyResponse>;
15
+ export type GetAttestationSummaryBySourceErrorResponse = unknown;
16
+ export interface GetAttestationSummaryBySourceProps extends GetAttestationSummaryBySourceMutationPathParams, Omit<FetcherOptions<unknown, GetAttestationSummaryBySourceRequestBody, GetAttestationSummaryBySourceMutationHeaderParams>, 'url'> {
17
+ body: GetAttestationSummaryBySourceRequestBody;
18
+ }
19
+ export declare function getAttestationSummaryBySource(props: GetAttestationSummaryBySourceProps): Promise<GetAttestationSummaryBySourceOkResponse>;
20
+ /**
21
+ * Attestation counts grouped by source
22
+ */
23
+ export declare function useGetAttestationSummaryBySourceMutation(options?: Omit<UseMutationOptions<GetAttestationSummaryBySourceOkResponse, GetAttestationSummaryBySourceErrorResponse, GetAttestationSummaryBySourceProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetAttestationSummaryBySourceOkResponse, unknown, GetAttestationSummaryBySourceProps, 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 getAttestationSummaryBySource(props) {
7
+ return fetcher(Object.assign({ url: `/v2/orgs/${props.org}/projects/${props.project}/attestations/summary-by-source`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Attestation counts grouped by source
11
+ */
12
+ export function useGetAttestationSummaryBySourceMutation(options) {
13
+ return useMutation((mutateProps) => getAttestationSummaryBySource(mutateProps), options);
14
+ }
@@ -0,0 +1,20 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { EolAutoTicketConfigResponse } from '../schemas/EolAutoTicketConfigResponse';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface GetEolAutoTicketConfigQueryPathParams {
6
+ org: string;
7
+ project: string;
8
+ }
9
+ export interface GetEolAutoTicketConfigQueryHeaderParams {
10
+ 'Harness-Account': string;
11
+ }
12
+ export type GetEolAutoTicketConfigOkResponse = ResponseWithPagination<EolAutoTicketConfigResponse>;
13
+ export type GetEolAutoTicketConfigErrorResponse = unknown;
14
+ export interface GetEolAutoTicketConfigProps extends GetEolAutoTicketConfigQueryPathParams, Omit<FetcherOptions<unknown, unknown, GetEolAutoTicketConfigQueryHeaderParams>, 'url'> {
15
+ }
16
+ export declare function getEolAutoTicketConfig(props: GetEolAutoTicketConfigProps): Promise<GetEolAutoTicketConfigOkResponse>;
17
+ /**
18
+ * Retrieves the project-scoped EOL auto ticket configuration.
19
+ */
20
+ export declare function useGetEolAutoTicketConfigQuery(props: GetEolAutoTicketConfigProps, options?: Omit<UseQueryOptions<GetEolAutoTicketConfigOkResponse, GetEolAutoTicketConfigErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetEolAutoTicketConfigOkResponse, 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 getEolAutoTicketConfig(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/eol-auto-ticket/config`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves the project-scoped EOL auto ticket configuration.
11
+ */
12
+ export function useGetEolAutoTicketConfigQuery(props, options) {
13
+ return useQuery(['getEolAutoTicketConfig', props.org, props.project], ({ signal }) => getEolAutoTicketConfig(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -25,6 +25,7 @@ export interface ListAttestationsMutationQueryParams {
25
25
  */
26
26
  sort?: 'created_at' | 'updated_at';
27
27
  search?: string;
28
+ data_source?: 'ELASTICSEARCH' | 'MONGODB' | 'UDP';
28
29
  }
29
30
  export interface ListAttestationsMutationHeaderParams {
30
31
  'Harness-Account': string;
@@ -0,0 +1,23 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { EolAutoTicketConfigResponse } from '../schemas/EolAutoTicketConfigResponse';
3
+ import type { EolAutoTicketConfigRequest } from '../schemas/EolAutoTicketConfigRequest';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface UpsertEolAutoTicketConfigMutationPathParams {
7
+ org: string;
8
+ project: string;
9
+ }
10
+ export interface UpsertEolAutoTicketConfigMutationHeaderParams {
11
+ 'Harness-Account': string;
12
+ }
13
+ export type UpsertEolAutoTicketConfigRequestBody = EolAutoTicketConfigRequest;
14
+ export type UpsertEolAutoTicketConfigOkResponse = ResponseWithPagination<EolAutoTicketConfigResponse>;
15
+ export type UpsertEolAutoTicketConfigErrorResponse = unknown;
16
+ export interface UpsertEolAutoTicketConfigProps extends UpsertEolAutoTicketConfigMutationPathParams, Omit<FetcherOptions<unknown, UpsertEolAutoTicketConfigRequestBody, UpsertEolAutoTicketConfigMutationHeaderParams>, 'url'> {
17
+ body: UpsertEolAutoTicketConfigRequestBody;
18
+ }
19
+ export declare function upsertEolAutoTicketConfig(props: UpsertEolAutoTicketConfigProps): Promise<UpsertEolAutoTicketConfigOkResponse>;
20
+ /**
21
+ * Creates the project-scoped EOL auto ticket configuration if it does not exist, or updates it if it already exists. Use this instead of separate create and update calls.
22
+ */
23
+ export declare function useUpsertEolAutoTicketConfigMutation(options?: Omit<UseMutationOptions<UpsertEolAutoTicketConfigOkResponse, UpsertEolAutoTicketConfigErrorResponse, UpsertEolAutoTicketConfigProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpsertEolAutoTicketConfigOkResponse, unknown, UpsertEolAutoTicketConfigProps, 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 upsertEolAutoTicketConfig(props) {
7
+ return fetcher(Object.assign({ url: `/v1/orgs/${props.org}/projects/${props.project}/eol-auto-ticket/config`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ * Creates the project-scoped EOL auto ticket configuration if it does not exist, or updates it if it already exists. Use this instead of separate create and update calls.
11
+ */
12
+ export function useUpsertEolAutoTicketConfigMutation(options) {
13
+ return useMutation((mutateProps) => upsertEolAutoTicketConfig(mutateProps), options);
14
+ }
@@ -25,9 +25,9 @@ export type { CreateTicketErrorResponse, CreateTicketMutationPathParams, CreateT
25
25
  export { createTicket, useCreateTicketMutation } from './hooks/useCreateTicketMutation';
26
26
  export type { DeleteIntegrationErrorResponse, DeleteIntegrationMutationPathParams, DeleteIntegrationOkResponse, DeleteIntegrationProps, } from './hooks/useDeleteIntegrationMutation';
27
27
  export { deleteIntegration, useDeleteIntegrationMutation, } from './hooks/useDeleteIntegrationMutation';
28
- export type { DownloadAttestationErrorResponse, DownloadAttestationOkResponse, DownloadAttestationProps, DownloadAttestationQueryPathParams, } from './hooks/useDownloadAttestationQuery';
28
+ export type { DownloadAttestationErrorResponse, DownloadAttestationOkResponse, DownloadAttestationProps, DownloadAttestationQueryPathParams, DownloadAttestationQueryQueryParams, } from './hooks/useDownloadAttestationQuery';
29
29
  export { downloadAttestation, useDownloadAttestationQuery, } from './hooks/useDownloadAttestationQuery';
30
- export type { DownloadSbomErrorResponse, DownloadSbomOkResponse, DownloadSbomProps, DownloadSbomQueryPathParams, } from './hooks/useDownloadSbomQuery';
30
+ export type { DownloadSbomErrorResponse, DownloadSbomOkResponse, DownloadSbomProps, DownloadSbomQueryPathParams, DownloadSbomQueryQueryParams, } from './hooks/useDownloadSbomQuery';
31
31
  export { downloadSbom, useDownloadSbomQuery } from './hooks/useDownloadSbomQuery';
32
32
  export type { ExcludeArtifactErrorResponse, ExcludeArtifactMutationPathParams, ExcludeArtifactOkResponse, ExcludeArtifactProps, ExcludeArtifactRequestBody, } from './hooks/useExcludeArtifactMutation';
33
33
  export { excludeArtifact, useExcludeArtifactMutation } from './hooks/useExcludeArtifactMutation';
@@ -59,6 +59,8 @@ export type { GetArtifactInRemediationDetailsErrorResponse, GetArtifactInRemedia
59
59
  export { getArtifactInRemediationDetails, useGetArtifactInRemediationDetailsQuery, } from './hooks/useGetArtifactInRemediationDetailsQuery';
60
60
  export type { GetArtifactListForRemediationErrorResponse, GetArtifactListForRemediationOkResponse, GetArtifactListForRemediationProps, GetArtifactListForRemediationQueryPathParams, GetArtifactListForRemediationQueryQueryParams, GetArtifactListForRemediationRequestBody, } from './hooks/useGetArtifactListForRemediationQuery';
61
61
  export { getArtifactListForRemediation, useGetArtifactListForRemediationQuery, } from './hooks/useGetArtifactListForRemediationQuery';
62
+ export type { GetArtifactSourcesListErrorResponse, GetArtifactSourcesListOkResponse, GetArtifactSourcesListProps, GetArtifactSourcesListQueryPathParams, GetArtifactSourcesListQueryQueryParams, } from './hooks/useGetArtifactSourcesListQuery';
63
+ export { getArtifactSourcesList, useGetArtifactSourcesListQuery, } from './hooks/useGetArtifactSourcesListQuery';
62
64
  export type { GetArtifactV2ComponentVulnerabilityListByPurlErrorResponse, GetArtifactV2ComponentVulnerabilityListByPurlOkResponse, GetArtifactV2ComponentVulnerabilityListByPurlProps, GetArtifactV2ComponentVulnerabilityListByPurlQueryPathParams, GetArtifactV2ComponentVulnerabilityListByPurlQueryQueryParams, } from './hooks/useGetArtifactV2ComponentVulnerabilityListByPurlQuery';
63
65
  export { getArtifactV2ComponentVulnerabilityListByPurl, useGetArtifactV2ComponentVulnerabilityListByPurlQuery, } from './hooks/useGetArtifactV2ComponentVulnerabilityListByPurlQuery';
64
66
  export type { GetArtifactV2DetailComponentViewErrorResponse, GetArtifactV2DetailComponentViewOkResponse, GetArtifactV2DetailComponentViewProps, GetArtifactV2DetailComponentViewQueryPathParams, GetArtifactV2DetailComponentViewQueryQueryParams, GetArtifactV2DetailComponentViewRequestBody, } from './hooks/useGetArtifactV2DetailComponentViewQuery';
@@ -67,6 +69,10 @@ export type { GetArtifactV2DetailDeploymentViewErrorResponse, GetArtifactV2Detai
67
69
  export { getArtifactV2DetailDeploymentView, useGetArtifactV2DetailDeploymentViewQuery, } from './hooks/useGetArtifactV2DetailDeploymentViewQuery';
68
70
  export type { GetArtifactV2OverviewErrorResponse, GetArtifactV2OverviewOkResponse, GetArtifactV2OverviewProps, GetArtifactV2OverviewQueryPathParams, } from './hooks/useGetArtifactV2OverviewQuery';
69
71
  export { getArtifactV2Overview, useGetArtifactV2OverviewQuery, } from './hooks/useGetArtifactV2OverviewQuery';
72
+ export type { GetAttestationDetailsErrorResponse, GetAttestationDetailsOkResponse, GetAttestationDetailsProps, GetAttestationDetailsQueryPathParams, } from './hooks/useGetAttestationDetailsQuery';
73
+ export { getAttestationDetails, useGetAttestationDetailsQuery, } from './hooks/useGetAttestationDetailsQuery';
74
+ export type { GetAttestationSummaryBySourceErrorResponse, GetAttestationSummaryBySourceMutationPathParams, GetAttestationSummaryBySourceOkResponse, GetAttestationSummaryBySourceProps, GetAttestationSummaryBySourceRequestBody, } from './hooks/useGetAttestationSummaryBySourceMutation';
75
+ export { getAttestationSummaryBySource, useGetAttestationSummaryBySourceMutation, } from './hooks/useGetAttestationSummaryBySourceMutation';
70
76
  export type { GetAttestationSummaryByTypeErrorResponse, GetAttestationSummaryByTypeMutationPathParams, GetAttestationSummaryByTypeOkResponse, GetAttestationSummaryByTypeProps, GetAttestationSummaryByTypeRequestBody, } from './hooks/useGetAttestationSummaryByTypeMutation';
71
77
  export { getAttestationSummaryByType, useGetAttestationSummaryByTypeMutation, } from './hooks/useGetAttestationSummaryByTypeMutation';
72
78
  export type { GetAutoPrConfigErrorResponse, GetAutoPrConfigOkResponse, GetAutoPrConfigProps, GetAutoPrConfigQueryQueryParams, } from './hooks/useGetAutoPrConfigQuery';
@@ -111,6 +117,8 @@ export type { GetDeploymentsListForArtifactInRemediationErrorResponse, GetDeploy
111
117
  export { getDeploymentsListForArtifactInRemediation, useGetDeploymentsListForArtifactInRemediationQuery, } from './hooks/useGetDeploymentsListForArtifactInRemediationQuery';
112
118
  export type { GetEnvironmentListForRemediationErrorResponse, GetEnvironmentListForRemediationOkResponse, GetEnvironmentListForRemediationProps, GetEnvironmentListForRemediationQueryPathParams, GetEnvironmentListForRemediationQueryQueryParams, } from './hooks/useGetEnvironmentListForRemediationQuery';
113
119
  export { getEnvironmentListForRemediation, useGetEnvironmentListForRemediationQuery, } from './hooks/useGetEnvironmentListForRemediationQuery';
120
+ export type { GetEolAutoTicketConfigErrorResponse, GetEolAutoTicketConfigOkResponse, GetEolAutoTicketConfigProps, GetEolAutoTicketConfigQueryPathParams, } from './hooks/useGetEolAutoTicketConfigQuery';
121
+ export { getEolAutoTicketConfig, useGetEolAutoTicketConfigQuery, } from './hooks/useGetEolAutoTicketConfigQuery';
114
122
  export type { GetHarnessPipelineIntegrationErrorResponse, GetHarnessPipelineIntegrationOkResponse, GetHarnessPipelineIntegrationProps, GetHarnessPipelineIntegrationQueryPathParams, } from './hooks/useGetHarnessPipelineIntegrationQuery';
115
123
  export { getHarnessPipelineIntegration, useGetHarnessPipelineIntegrationQuery, } from './hooks/useGetHarnessPipelineIntegrationQuery';
116
124
  export type { GetIntegrationReposErrorResponse, GetIntegrationReposOkResponse, GetIntegrationReposProps, GetIntegrationReposQueryPathParams, } from './hooks/useGetIntegrationReposQuery';
@@ -163,6 +171,8 @@ export type { SscaLicenseUsageErrorResponse, SscaLicenseUsageOkResponse, SscaLic
163
171
  export { sscaLicenseUsage, useSscaLicenseUsageQuery } from './hooks/useSscaLicenseUsageQuery';
164
172
  export type { UpdateRemediationTrackerErrorResponse, UpdateRemediationTrackerMutationPathParams, UpdateRemediationTrackerOkResponse, UpdateRemediationTrackerProps, UpdateRemediationTrackerRequestBody, } from './hooks/useUpdateRemediationTrackerMutation';
165
173
  export { updateRemediationTracker, useUpdateRemediationTrackerMutation, } from './hooks/useUpdateRemediationTrackerMutation';
174
+ export type { UpsertEolAutoTicketConfigErrorResponse, UpsertEolAutoTicketConfigMutationPathParams, UpsertEolAutoTicketConfigOkResponse, UpsertEolAutoTicketConfigProps, UpsertEolAutoTicketConfigRequestBody, } from './hooks/useUpsertEolAutoTicketConfigMutation';
175
+ export { upsertEolAutoTicketConfig, useUpsertEolAutoTicketConfigMutation, } from './hooks/useUpsertEolAutoTicketConfigMutation';
166
176
  export type { AiWorkflowExecutionRequestBodyRequestBody } from './requestBodies/AiWorkflowExecutionRequestBodyRequestBody';
167
177
  export type { ArtifactComponentsRequestBodyRequestBody } from './requestBodies/ArtifactComponentsRequestBodyRequestBody';
168
178
  export type { ArtifactListingPipelineRequestBodyRequestBody } from './requestBodies/ArtifactListingPipelineRequestBodyRequestBody';
@@ -186,6 +196,7 @@ export type { ComplianceResultsOverviewRequestBodyRequestBody } from './requestB
186
196
  export type { ComplianceStandardsRequestBodyRequestBody } from './requestBodies/ComplianceStandardsRequestBodyRequestBody';
187
197
  export type { ConfigRequestBodyRequestBody } from './requestBodies/ConfigRequestBodyRequestBody';
188
198
  export type { ConfigureReposRequestRequestBody } from './requestBodies/ConfigureReposRequestRequestBody';
199
+ export type { CooldownConfigRequestBodyRequestBody } from './requestBodies/CooldownConfigRequestBodyRequestBody';
189
200
  export type { CreateComplianceResultRequestBodyRequestBody } from './requestBodies/CreateComplianceResultRequestBodyRequestBody';
190
201
  export type { CreateComplianceStandardRequestBodyRequestBody } from './requestBodies/CreateComplianceStandardRequestBodyRequestBody';
191
202
  export type { CreateIntegrationRequestBodyRequestBody } from './requestBodies/CreateIntegrationRequestBodyRequestBody';
@@ -264,6 +275,7 @@ export type { ComponentListResponseBodyResponse } from './responses/ComponentLis
264
275
  export type { ComponentSearchResponseBodyResponse } from './responses/ComponentSearchResponseBodyResponse';
265
276
  export type { ComponentVulnerabilityListResponseBodyResponse } from './responses/ComponentVulnerabilityListResponseBodyResponse';
266
277
  export type { ConfigResponseBodyResponse } from './responses/ConfigResponseBodyResponse';
278
+ export type { CooldownConfigResponseBodyResponse } from './responses/CooldownConfigResponseBodyResponse';
267
279
  export type { CreateIntegrationResponseBodyResponse } from './responses/CreateIntegrationResponseBodyResponse';
268
280
  export type { CreateTicketResponseBodyResponse } from './responses/CreateTicketResponseBodyResponse';
269
281
  export type { EnforceSbomResponseBodyResponse } from './responses/EnforceSbomResponseBodyResponse';
@@ -336,6 +348,8 @@ export type { ArtifactOssRisksSummary } from './schemas/ArtifactOssRisksSummary'
336
348
  export type { ArtifactSbomDriftRequestBody } from './schemas/ArtifactSbomDriftRequestBody';
337
349
  export type { ArtifactSbomDriftResponse } from './schemas/ArtifactSbomDriftResponse';
338
350
  export type { ArtifactSbomResponseBody } from './schemas/ArtifactSbomResponseBody';
351
+ export type { ArtifactSourceListItem } from './schemas/ArtifactSourceListItem';
352
+ export type { ArtifactSourcesListResponse } from './schemas/ArtifactSourcesListResponse';
339
353
  export type { ArtifactSourcesListingResponse } from './schemas/ArtifactSourcesListingResponse';
340
354
  export type { ArtifactSpec } from './schemas/ArtifactSpec';
341
355
  export type { ArtifactType } from './schemas/ArtifactType';
@@ -446,6 +460,9 @@ export type { ConnectorConfigResponse } from './schemas/ConnectorConfigResponse'
446
460
  export type { ContactInfo } from './schemas/ContactInfo';
447
461
  export type { ContainerArtifactFilter } from './schemas/ContainerArtifactFilter';
448
462
  export type { ContainerArtifactMetadata } from './schemas/ContainerArtifactMetadata';
463
+ export type { CooldownConfigRequestBody } from './schemas/CooldownConfigRequestBody';
464
+ export type { CooldownConfigResponseBody } from './schemas/CooldownConfigResponseBody';
465
+ export type { CooldownViolationsResponseBody } from './schemas/CooldownViolationsResponseBody';
449
466
  export type { CreateComplianceResult } from './schemas/CreateComplianceResult';
450
467
  export type { CreateComplianceResultV2 } from './schemas/CreateComplianceResultV2';
451
468
  export type { CreateIntegrationRequest } from './schemas/CreateIntegrationRequest';
@@ -479,6 +496,8 @@ export type { EnforcementSummaryResponse } from './schemas/EnforcementSummaryRes
479
496
  export type { EnvironmentInfo } from './schemas/EnvironmentInfo';
480
497
  export type { EnvironmentType } from './schemas/EnvironmentType';
481
498
  export type { EnvironmentTypeFilter } from './schemas/EnvironmentTypeFilter';
499
+ export type { EolAutoTicketConfigRequest } from './schemas/EolAutoTicketConfigRequest';
500
+ export type { EolAutoTicketConfigResponse } from './schemas/EolAutoTicketConfigResponse';
482
501
  export type { EolStatus } from './schemas/EolStatus';
483
502
  export type { Error } from './schemas/Error';
484
503
  export type { ExcludeArtifactRequest } from './schemas/ExcludeArtifactRequest';
@@ -622,7 +641,7 @@ export type { SlsaVerificationRequestBody } from './schemas/SlsaVerificationRequ
622
641
  export type { SlsaVerificationRequestBodyV2 } from './schemas/SlsaVerificationRequestBodyV2';
623
642
  export type { SscaSummary } from './schemas/SscaSummary';
624
643
  export type { StoIssueCount } from './schemas/StoIssueCount';
625
- export type { SubjectNameFilter } from './schemas/SubjectNameFilter';
644
+ export type { SubjectFilter } from './schemas/SubjectFilter';
626
645
  export type { TargetVersionVulnerability } from './schemas/TargetVersionVulnerability';
627
646
  export type { TicketInfo } from './schemas/TicketInfo';
628
647
  export type { TokenIssueResponseBody } from './schemas/TokenIssueResponseBody';
@@ -28,10 +28,13 @@ export { getArtifactComponentOverviewByPurl, useGetArtifactComponentOverviewByPu
28
28
  export { getArtifactComponentRemediationByPurl, useGetArtifactComponentRemediationByPurlQuery, } from './hooks/useGetArtifactComponentRemediationByPurlQuery';
29
29
  export { getArtifactInRemediationDetails, useGetArtifactInRemediationDetailsQuery, } from './hooks/useGetArtifactInRemediationDetailsQuery';
30
30
  export { getArtifactListForRemediation, useGetArtifactListForRemediationQuery, } from './hooks/useGetArtifactListForRemediationQuery';
31
+ export { getArtifactSourcesList, useGetArtifactSourcesListQuery, } from './hooks/useGetArtifactSourcesListQuery';
31
32
  export { getArtifactV2ComponentVulnerabilityListByPurl, useGetArtifactV2ComponentVulnerabilityListByPurlQuery, } from './hooks/useGetArtifactV2ComponentVulnerabilityListByPurlQuery';
32
33
  export { getArtifactV2DetailComponentView, useGetArtifactV2DetailComponentViewQuery, } from './hooks/useGetArtifactV2DetailComponentViewQuery';
33
34
  export { getArtifactV2DetailDeploymentView, useGetArtifactV2DetailDeploymentViewQuery, } from './hooks/useGetArtifactV2DetailDeploymentViewQuery';
34
35
  export { getArtifactV2Overview, useGetArtifactV2OverviewQuery, } from './hooks/useGetArtifactV2OverviewQuery';
36
+ export { getAttestationDetails, useGetAttestationDetailsQuery, } from './hooks/useGetAttestationDetailsQuery';
37
+ export { getAttestationSummaryBySource, useGetAttestationSummaryBySourceMutation, } from './hooks/useGetAttestationSummaryBySourceMutation';
35
38
  export { getAttestationSummaryByType, useGetAttestationSummaryByTypeMutation, } from './hooks/useGetAttestationSummaryByTypeMutation';
36
39
  export { getAutoPrConfig, useGetAutoPrConfigQuery } from './hooks/useGetAutoPrConfigQuery';
37
40
  export { getAutoPrPresets, useGetAutoPrPresetsQuery } from './hooks/useGetAutoPrPresetsQuery';
@@ -54,6 +57,7 @@ export { getComponents, useGetComponentsQuery } from './hooks/useGetComponentsQu
54
57
  export { getConnectorConfig, useGetConnectorConfigQuery } from './hooks/useGetConnectorConfigQuery';
55
58
  export { getDeploymentsListForArtifactInRemediation, useGetDeploymentsListForArtifactInRemediationQuery, } from './hooks/useGetDeploymentsListForArtifactInRemediationQuery';
56
59
  export { getEnvironmentListForRemediation, useGetEnvironmentListForRemediationQuery, } from './hooks/useGetEnvironmentListForRemediationQuery';
60
+ export { getEolAutoTicketConfig, useGetEolAutoTicketConfigQuery, } from './hooks/useGetEolAutoTicketConfigQuery';
57
61
  export { getHarnessPipelineIntegration, useGetHarnessPipelineIntegrationQuery, } from './hooks/useGetHarnessPipelineIntegrationQuery';
58
62
  export { getIntegrationRepos, useGetIntegrationReposQuery, } from './hooks/useGetIntegrationReposQuery';
59
63
  export { getIntegrationsConfig, useGetIntegrationsConfigQuery, } from './hooks/useGetIntegrationsConfigQuery';
@@ -80,3 +84,4 @@ export { saveConnectorConfig, useSaveConnectorConfigMutation, } from './hooks/us
80
84
  export { setBaselineForArtifactV2, useSetBaselineForArtifactV2Mutation, } from './hooks/useSetBaselineForArtifactV2Mutation';
81
85
  export { sscaLicenseUsage, useSscaLicenseUsageQuery } from './hooks/useSscaLicenseUsageQuery';
82
86
  export { updateRemediationTracker, useUpdateRemediationTrackerMutation, } from './hooks/useUpdateRemediationTrackerMutation';
87
+ export { upsertEolAutoTicketConfig, useUpsertEolAutoTicketConfigMutation, } from './hooks/useUpsertEolAutoTicketConfigMutation';
@@ -0,0 +1,2 @@
1
+ import type { CooldownConfigRequestBody } from '../schemas/CooldownConfigRequestBody';
2
+ export type CooldownConfigRequestBodyRequestBody = CooldownConfigRequestBody;
@@ -1,2 +1,2 @@
1
1
  import type { AttestationListingResponse } from '../schemas/AttestationListingResponse';
2
- export type AttestationListingResponseBodyResponse = AttestationListingResponse;
2
+ export type AttestationListingResponseBodyResponse = AttestationListingResponse[];
@@ -0,0 +1,2 @@
1
+ import type { CooldownConfigResponseBody } from '../schemas/CooldownConfigResponseBody';
2
+ export type CooldownConfigResponseBodyResponse = CooldownConfigResponseBody;
@@ -2,5 +2,9 @@
2
2
  *
3
3
  */
4
4
  export interface ArtifactSbomResponseBody {
5
+ /**
6
+ * Only present when enriched=true. PENDING means enrichment not ready yet.
7
+ */
8
+ license_enrichment_status?: 'COMPLETE' | 'PENDING';
5
9
  sbom?: string;
6
10
  }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Lightweight artifact source row for selection UIs
3
+ */
4
+ export interface ArtifactSourceListItem {
5
+ /**
6
+ * Artifact source unique identifier (UUID)
7
+ */
8
+ id?: string;
9
+ /**
10
+ * Display name of the artifact source
11
+ */
12
+ name?: string;
13
+ /**
14
+ * Artifact source subtype when applicable
15
+ */
16
+ subtype?: string | null;
17
+ /**
18
+ * Artifact source type
19
+ */
20
+ type?: 'CONTAINER' | 'NON_CONTAINER' | 'REPOSITORY';
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 {};
@@ -0,0 +1,9 @@
1
+ import type { ArtifactSourceListItem } from '../schemas/ArtifactSourceListItem';
2
+ export interface ArtifactSourcesListResponse {
3
+ sources?: ArtifactSourceListItem[];
4
+ /**
5
+ * Total number of artifact sources matching the filter (before limit)
6
+ * @format int64
7
+ */
8
+ total_count?: number;
9
+ }
@@ -1,5 +1,5 @@
1
1
  import type { AttestationSource } from '../schemas/AttestationSource';
2
- import type { SubjectNameFilter } from '../schemas/SubjectNameFilter';
2
+ import type { SubjectFilter } from '../schemas/SubjectFilter';
3
3
  import type { AttestationType } from '../schemas/AttestationType';
4
4
  /**
5
5
  * List filters (arrays are OR matches). Filters creation time when start/end set. Optional subject_filter matches subject name via operator.
@@ -19,7 +19,7 @@ export interface AttestationListingRequest {
19
19
  * @format int64
20
20
  */
21
21
  start_time?: number;
22
- subject_filter?: SubjectNameFilter;
22
+ subject_filter?: SubjectFilter[];
23
23
  /**
24
24
  * Filter by attestation types (any match).
25
25
  */
@@ -2,4 +2,4 @@
2
2
  * Source CI/CD system that generated the attestation
3
3
  * @default "Others"
4
4
  */
5
- export type AttestationSource = 'GithubActions' | 'Harness' | 'Jenkins' | 'Others';
5
+ export type AttestationSource = 'GithubActions' | 'Gitlab' | 'Harness' | 'Jenkins' | 'Others';
@@ -3,7 +3,7 @@ export interface AttestationSubjectSummary {
3
3
  /**
4
4
  * Subject digest (algorithm and value).
5
5
  */
6
- digest?: AttestationSubjectDigestSummary | null;
6
+ digest?: AttestationSubjectDigestSummary;
7
7
  /**
8
8
  * Subject name.
9
9
  */
@@ -2,4 +2,4 @@
2
2
  * Type/category of the attestation
3
3
  * @default "Custom"
4
4
  */
5
- export type AttestationType = 'Build' | 'Code' | 'Custom' | 'Deploy' | 'Security' | 'Test';
5
+ export type AttestationType = 'Build' | 'Code' | 'Custom' | 'Deploy' | 'Security' | 'SecurityScan' | 'Test';
@@ -0,0 +1,16 @@
1
+ export interface CooldownConfigRequestBody {
2
+ enabled: boolean;
3
+ number_of_days: number;
4
+ /**
5
+ * Organization identifier
6
+ */
7
+ org?: string;
8
+ /**
9
+ * Project identifier
10
+ */
11
+ project?: string;
12
+ /**
13
+ * Whether cooldown violations are surfaced as a warning or an error.
14
+ */
15
+ severity: 'error' | 'warning';
16
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,12 @@
1
+ export interface CooldownConfigResponseBody {
2
+ enabled?: boolean;
3
+ number_of_days?: number;
4
+ /**
5
+ * The scope at which this configuration is set (account/org/project)
6
+ */
7
+ scope?: string;
8
+ /**
9
+ * Whether cooldown violations are surfaced as a warning or an error.
10
+ */
11
+ severity?: 'error' | 'warning';
12
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,18 @@
1
+ export interface CooldownViolationsResponseBody {
2
+ /**
3
+ * The configured cooldown period in days
4
+ */
5
+ cooldown_period_days?: number;
6
+ /**
7
+ * Total number of SBOM components for the orchestration
8
+ */
9
+ total_components?: number;
10
+ /**
11
+ * Package URLs of components released within the cooldown window
12
+ */
13
+ violating_purls?: string[];
14
+ /**
15
+ * Number of components violating the cooldown period
16
+ */
17
+ violation_count?: number;
18
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ export interface EolAutoTicketConfigRequest {
2
+ artifact_source_ids: string[];
3
+ enabled: boolean;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,9 @@
1
+ export interface EolAutoTicketConfigResponse {
2
+ artifact_source_ids?: string[];
3
+ /**
4
+ * @format int64
5
+ */
6
+ created_at?: number;
7
+ enabled?: boolean;
8
+ id?: string;
9
+ }
@@ -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,6 @@
1
+ import type { Operator } from '../schemas/Operator';
2
+ export interface SubjectFilter {
3
+ field_name: 'Digest' | 'Name';
4
+ operator: Operator;
5
+ value: string;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ssca-manager-client",
3
- "version": "0.84.15",
3
+ "version": "0.84.17",
4
4
  "description": "Harness SSCA manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",
@@ -1,8 +0,0 @@
1
- import type { Operator } from '../schemas/Operator';
2
- /**
3
- * Subject name matching via operator (same shape as LicenseFilter).
4
- */
5
- export interface SubjectNameFilter {
6
- operator: Operator;
7
- value: string;
8
- }