@harnessio/react-har-service-client 0.51.0 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/har-service/src/services/hooks/useCreateFirewallExceptionV3Mutation.d.ts +21 -0
- package/dist/har-service/src/services/hooks/useCreateFirewallExceptionV3Mutation.js +14 -0
- package/dist/har-service/src/services/hooks/useDeleteFirewallExceptionV3Mutation.d.ts +20 -0
- package/dist/har-service/src/services/hooks/useDeleteFirewallExceptionV3Mutation.js +14 -0
- package/dist/har-service/src/services/hooks/useGetSystemInfoV3Query.d.ts +22 -0
- package/dist/har-service/src/services/hooks/useGetSystemInfoV3Query.js +18 -0
- package/dist/har-service/src/services/hooks/useListFirewallExceptionVersionsV3Query.d.ts +30 -0
- package/dist/har-service/src/services/hooks/useListFirewallExceptionVersionsV3Query.js +14 -0
- package/dist/har-service/src/services/hooks/useListFirewallExceptionsV3Query.d.ts +38 -0
- package/dist/har-service/src/services/hooks/useListFirewallExceptionsV3Query.js +14 -0
- package/dist/har-service/src/services/hooks/useListVersionsV3Query.d.ts +1 -1
- package/dist/har-service/src/services/hooks/useRebuildVersionMetadataV3Mutation.d.ts +21 -0
- package/dist/har-service/src/services/hooks/useRebuildVersionMetadataV3Mutation.js +14 -0
- package/dist/har-service/src/services/hooks/useUpdateFirewallExceptionV3Mutation.d.ts +24 -0
- package/dist/har-service/src/services/hooks/useUpdateFirewallExceptionV3Mutation.js +14 -0
- package/dist/har-service/src/services/hooks/useUpdateStatusFirewallExceptionV3Mutation.d.ts +24 -0
- package/dist/har-service/src/services/hooks/useUpdateStatusFirewallExceptionV3Mutation.js +14 -0
- package/dist/har-service/src/services/index.d.ts +35 -12
- package/dist/har-service/src/services/index.js +8 -6
- package/dist/har-service/src/services/requestBodies/FirewallExceptionApprovalRequestV3RequestBody.d.ts +2 -0
- package/dist/har-service/src/services/requestBodies/FirewallExceptionApprovalRequestV3RequestBody.js +1 -0
- package/dist/har-service/src/services/requestBodies/FirewallExceptionCreateRequestV3RequestBody.d.ts +2 -0
- package/dist/har-service/src/services/requestBodies/FirewallExceptionCreateRequestV3RequestBody.js +1 -0
- package/dist/har-service/src/services/requestBodies/FirewallExceptionUpdateRequestV3RequestBody.d.ts +2 -0
- package/dist/har-service/src/services/requestBodies/FirewallExceptionUpdateRequestV3RequestBody.js +1 -0
- package/dist/har-service/src/services/responses/FirewallExceptionApprovedV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/FirewallExceptionApprovedV3Response.js +1 -0
- package/dist/har-service/src/services/responses/FirewallExceptionCreatedV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/FirewallExceptionCreatedV3Response.js +1 -0
- package/dist/har-service/src/services/responses/FirewallExceptionUpdatedV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/FirewallExceptionUpdatedV3Response.js +1 -0
- package/dist/har-service/src/services/responses/ListFirewallExceptionResponseV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/ListFirewallExceptionResponseV3Response.js +1 -0
- package/dist/har-service/src/services/responses/ListFirewallExceptionVersionsResponseV3Response.d.ts +7 -0
- package/dist/har-service/src/services/responses/ListFirewallExceptionVersionsResponseV3Response.js +1 -0
- package/dist/har-service/src/services/responses/RebuildVersionMetadataAcceptedV3Response.d.ts +1 -0
- package/dist/har-service/src/services/responses/RebuildVersionMetadataAcceptedV3Response.js +1 -0
- package/dist/har-service/src/services/responses/SystemInfoResponseV3Response.d.ts +4 -0
- package/dist/har-service/src/services/responses/SystemInfoResponseV3Response.js +1 -0
- package/dist/har-service/src/services/schemas/FirewallExceptionApprovalRequestV3.d.ts +11 -0
- package/dist/har-service/src/services/schemas/FirewallExceptionApprovalRequestV3.js +1 -0
- package/dist/har-service/src/services/schemas/FirewallExceptionCreateRequestV3.d.ts +31 -0
- package/dist/har-service/src/services/schemas/FirewallExceptionCreateRequestV3.js +4 -0
- package/dist/har-service/src/services/schemas/FirewallExceptionMetaV3.d.ts +35 -0
- package/dist/har-service/src/services/schemas/FirewallExceptionMetaV3.js +4 -0
- package/dist/har-service/src/services/schemas/FirewallExceptionResponseV3.d.ts +94 -0
- package/dist/har-service/src/services/schemas/FirewallExceptionResponseV3.js +1 -0
- package/dist/har-service/src/services/schemas/FirewallExceptionStatusV3.d.ts +4 -0
- package/dist/har-service/src/services/schemas/FirewallExceptionStatusV3.js +4 -0
- package/dist/har-service/src/services/schemas/FirewallExceptionUpdateRequestV3.d.ts +22 -0
- package/dist/har-service/src/services/schemas/FirewallExceptionUpdateRequestV3.js +4 -0
- package/dist/har-service/src/services/schemas/ListFirewallExceptionsResponseBodyV3.d.ts +7 -0
- package/dist/har-service/src/services/schemas/ListFirewallExceptionsResponseBodyV3.js +1 -0
- package/dist/har-service/src/services/schemas/PackageMetadata.d.ts +0 -4
- package/dist/har-service/src/services/schemas/RebuildVersionMetadataRequestV3.d.ts +9 -0
- package/dist/har-service/src/services/schemas/RebuildVersionMetadataRequestV3.js +4 -0
- package/dist/har-service/src/services/schemas/RegistryArtifactMetadata.d.ts +0 -4
- package/dist/har-service/src/services/schemas/RegistryMetadata.d.ts +0 -4
- package/dist/har-service/src/services/schemas/SystemInfoV3.d.ts +15 -0
- package/dist/har-service/src/services/schemas/SystemInfoV3.js +4 -0
- package/dist/har-service/src/services/schemas/VersionMetadata.d.ts +0 -4
- package/package.json +1 -1
- package/dist/har-service/src/services/hooks/useDeletePackageMutation.d.ts +0 -31
- package/dist/har-service/src/services/hooks/useDeletePackageMutation.js +0 -14
- package/dist/har-service/src/services/hooks/useDeleteRegistryV2Mutation.d.ts +0 -31
- package/dist/har-service/src/services/hooks/useDeleteRegistryV2Mutation.js +0 -14
- package/dist/har-service/src/services/hooks/useDeleteVersionMutation.d.ts +0 -31
- package/dist/har-service/src/services/hooks/useDeleteVersionMutation.js +0 -14
- package/dist/har-service/src/services/hooks/useRestorePackageMutation.d.ts +0 -30
- package/dist/har-service/src/services/hooks/useRestorePackageMutation.js +0 -14
- package/dist/har-service/src/services/hooks/useRestoreRegistryMutation.d.ts +0 -30
- package/dist/har-service/src/services/hooks/useRestoreRegistryMutation.js +0 -14
- package/dist/har-service/src/services/hooks/useRestoreVersionMutation.d.ts +0 -30
- package/dist/har-service/src/services/hooks/useRestoreVersionMutation.js +0 -14
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FirewallExceptionCreatedV3Response } from '../responses/FirewallExceptionCreatedV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { FirewallExceptionCreateRequestV3RequestBody } from '../requestBodies/FirewallExceptionCreateRequestV3RequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface CreateFirewallExceptionV3MutationQueryParams {
|
|
8
|
+
account_identifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type CreateFirewallExceptionV3RequestBody = FirewallExceptionCreateRequestV3RequestBody;
|
|
11
|
+
export type CreateFirewallExceptionV3OkResponse = ResponseWithPagination<FirewallExceptionCreatedV3Response>;
|
|
12
|
+
export type CreateFirewallExceptionV3ErrorResponse = ErrorV3;
|
|
13
|
+
export interface CreateFirewallExceptionV3Props extends Omit<FetcherOptions<CreateFirewallExceptionV3MutationQueryParams, CreateFirewallExceptionV3RequestBody>, 'url'> {
|
|
14
|
+
queryParams: CreateFirewallExceptionV3MutationQueryParams;
|
|
15
|
+
body: CreateFirewallExceptionV3RequestBody;
|
|
16
|
+
}
|
|
17
|
+
export declare function createFirewallExceptionV3(props: CreateFirewallExceptionV3Props): Promise<CreateFirewallExceptionV3OkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Create a firewall exception for an artifact
|
|
20
|
+
*/
|
|
21
|
+
export declare function useCreateFirewallExceptionV3Mutation(options?: Omit<UseMutationOptions<CreateFirewallExceptionV3OkResponse, CreateFirewallExceptionV3ErrorResponse, CreateFirewallExceptionV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateFirewallExceptionV3OkResponse, ErrorV3, CreateFirewallExceptionV3Props, 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 createFirewallExceptionV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/scans/exceptions`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Create a firewall exception for an artifact
|
|
11
|
+
*/
|
|
12
|
+
export function useCreateFirewallExceptionV3Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => createFirewallExceptionV3(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
3
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
4
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
5
|
+
export interface DeleteFirewallExceptionV3MutationPathParams {
|
|
6
|
+
id: string;
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteFirewallExceptionV3MutationQueryParams {
|
|
9
|
+
account_identifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type DeleteFirewallExceptionV3OkResponse = ResponseWithPagination<unknown>;
|
|
12
|
+
export type DeleteFirewallExceptionV3ErrorResponse = ErrorV3;
|
|
13
|
+
export interface DeleteFirewallExceptionV3Props extends DeleteFirewallExceptionV3MutationPathParams, Omit<FetcherOptions<DeleteFirewallExceptionV3MutationQueryParams, unknown>, 'url'> {
|
|
14
|
+
queryParams: DeleteFirewallExceptionV3MutationQueryParams;
|
|
15
|
+
}
|
|
16
|
+
export declare function deleteFirewallExceptionV3(props: DeleteFirewallExceptionV3Props): Promise<DeleteFirewallExceptionV3OkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Delete a firewall exception by ID
|
|
19
|
+
*/
|
|
20
|
+
export declare function useDeleteFirewallExceptionV3Mutation(options?: Omit<UseMutationOptions<DeleteFirewallExceptionV3OkResponse, DeleteFirewallExceptionV3ErrorResponse, DeleteFirewallExceptionV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteFirewallExceptionV3OkResponse, ErrorV3, DeleteFirewallExceptionV3Props, 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 deleteFirewallExceptionV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/scans/exceptions/${props.id}`, method: 'DELETE' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Delete a firewall exception by ID
|
|
11
|
+
*/
|
|
12
|
+
export function useDeleteFirewallExceptionV3Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => deleteFirewallExceptionV3(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { SystemInfoResponseV3Response } from '../responses/SystemInfoResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetSystemInfoV3QueryQueryParams {
|
|
7
|
+
account_identifier: string;
|
|
8
|
+
}
|
|
9
|
+
export type GetSystemInfoV3OkResponse = ResponseWithPagination<SystemInfoResponseV3Response>;
|
|
10
|
+
export type GetSystemInfoV3ErrorResponse = ErrorV3;
|
|
11
|
+
export interface GetSystemInfoV3Props extends Omit<FetcherOptions<GetSystemInfoV3QueryQueryParams, unknown>, 'url'> {
|
|
12
|
+
queryParams: GetSystemInfoV3QueryQueryParams;
|
|
13
|
+
}
|
|
14
|
+
export declare function getSystemInfoV3(props: GetSystemInfoV3Props): Promise<GetSystemInfoV3OkResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Returns system-level information for the Harness Artifact Registry,
|
|
17
|
+
* including the base registry URL for the account.
|
|
18
|
+
* Use this endpoint to discover the correct registry hostname
|
|
19
|
+
* for pulling and pushing artifacts.
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function useGetSystemInfoV3Query(props: GetSystemInfoV3Props, options?: Omit<UseQueryOptions<GetSystemInfoV3OkResponse, GetSystemInfoV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetSystemInfoV3OkResponse, ErrorV3>;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 getSystemInfoV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/system/info`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Returns system-level information for the Harness Artifact Registry,
|
|
11
|
+
* including the base registry URL for the account.
|
|
12
|
+
* Use this endpoint to discover the correct registry hostname
|
|
13
|
+
* for pulling and pushing artifacts.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export function useGetSystemInfoV3Query(props, options) {
|
|
17
|
+
return useQuery(['GetSystemInfoV3', props.queryParams], ({ signal }) => getSystemInfoV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
18
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ListFirewallExceptionVersionsResponseV3Response } from '../responses/ListFirewallExceptionVersionsResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListFirewallExceptionVersionsV3QueryQueryParams {
|
|
7
|
+
account_identifier: string;
|
|
8
|
+
registry_id?: string;
|
|
9
|
+
package_name?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @format int64
|
|
12
|
+
* @default 0
|
|
13
|
+
*/
|
|
14
|
+
page?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @format int64
|
|
17
|
+
* @default 20
|
|
18
|
+
*/
|
|
19
|
+
size?: number;
|
|
20
|
+
}
|
|
21
|
+
export type ListFirewallExceptionVersionsV3OkResponse = ResponseWithPagination<ListFirewallExceptionVersionsResponseV3Response>;
|
|
22
|
+
export type ListFirewallExceptionVersionsV3ErrorResponse = ErrorV3;
|
|
23
|
+
export interface ListFirewallExceptionVersionsV3Props extends Omit<FetcherOptions<ListFirewallExceptionVersionsV3QueryQueryParams, unknown>, 'url'> {
|
|
24
|
+
queryParams: ListFirewallExceptionVersionsV3QueryQueryParams;
|
|
25
|
+
}
|
|
26
|
+
export declare function listFirewallExceptionVersionsV3(props: ListFirewallExceptionVersionsV3Props): Promise<ListFirewallExceptionVersionsV3OkResponse>;
|
|
27
|
+
/**
|
|
28
|
+
* List versions for a specific package in a registry, for use when creating firewall exceptions
|
|
29
|
+
*/
|
|
30
|
+
export declare function useListFirewallExceptionVersionsV3Query(props: ListFirewallExceptionVersionsV3Props, options?: Omit<UseQueryOptions<ListFirewallExceptionVersionsV3OkResponse, ListFirewallExceptionVersionsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFirewallExceptionVersionsV3OkResponse, ErrorV3>;
|
|
@@ -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 listFirewallExceptionVersionsV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/scans/versions`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List versions for a specific package in a registry, for use when creating firewall exceptions
|
|
11
|
+
*/
|
|
12
|
+
export function useListFirewallExceptionVersionsV3Query(props, options) {
|
|
13
|
+
return useQuery(['ListFirewallExceptionVersionsV3', props.queryParams], ({ signal }) => listFirewallExceptionVersionsV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ListFirewallExceptionResponseV3Response } from '../responses/ListFirewallExceptionResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface ListFirewallExceptionsV3QueryQueryParams {
|
|
7
|
+
account_identifier: string;
|
|
8
|
+
org_identifier?: string;
|
|
9
|
+
project_identifier?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Status of the firewall exception
|
|
12
|
+
*/
|
|
13
|
+
status?: 'APPROVED' | 'EXPIRED' | 'PENDING' | 'REJECTED';
|
|
14
|
+
package_name?: string;
|
|
15
|
+
version?: string;
|
|
16
|
+
package_type?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @format int64
|
|
19
|
+
* @default 0
|
|
20
|
+
*/
|
|
21
|
+
page?: number;
|
|
22
|
+
/**
|
|
23
|
+
* @format int64
|
|
24
|
+
* @default 20
|
|
25
|
+
*/
|
|
26
|
+
size?: number;
|
|
27
|
+
sort?: string;
|
|
28
|
+
}
|
|
29
|
+
export type ListFirewallExceptionsV3OkResponse = ResponseWithPagination<ListFirewallExceptionResponseV3Response>;
|
|
30
|
+
export type ListFirewallExceptionsV3ErrorResponse = ErrorV3;
|
|
31
|
+
export interface ListFirewallExceptionsV3Props extends Omit<FetcherOptions<ListFirewallExceptionsV3QueryQueryParams, unknown>, 'url'> {
|
|
32
|
+
queryParams: ListFirewallExceptionsV3QueryQueryParams;
|
|
33
|
+
}
|
|
34
|
+
export declare function listFirewallExceptionsV3(props: ListFirewallExceptionsV3Props): Promise<ListFirewallExceptionsV3OkResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* List firewall exceptions with optional filters
|
|
37
|
+
*/
|
|
38
|
+
export declare function useListFirewallExceptionsV3Query(props: ListFirewallExceptionsV3Props, options?: Omit<UseQueryOptions<ListFirewallExceptionsV3OkResponse, ListFirewallExceptionsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFirewallExceptionsV3OkResponse, ErrorV3>;
|
|
@@ -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 listFirewallExceptionsV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/scans/exceptions`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* List firewall exceptions with optional filters
|
|
11
|
+
*/
|
|
12
|
+
export function useListFirewallExceptionsV3Query(props, options) {
|
|
13
|
+
return useQuery(['ListFirewallExceptionsV3', props.queryParams], ({ signal }) => listFirewallExceptionsV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { RebuildVersionMetadataAcceptedV3Response } from '../responses/RebuildVersionMetadataAcceptedV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { RebuildVersionMetadataRequestV3 } from '../schemas/RebuildVersionMetadataRequestV3';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface RebuildVersionMetadataV3MutationQueryParams {
|
|
8
|
+
account_identifier: string;
|
|
9
|
+
}
|
|
10
|
+
export type RebuildVersionMetadataV3RequestBody = RebuildVersionMetadataRequestV3;
|
|
11
|
+
export type RebuildVersionMetadataV3OkResponse = ResponseWithPagination<RebuildVersionMetadataAcceptedV3Response>;
|
|
12
|
+
export type RebuildVersionMetadataV3ErrorResponse = ErrorV3;
|
|
13
|
+
export interface RebuildVersionMetadataV3Props extends Omit<FetcherOptions<RebuildVersionMetadataV3MutationQueryParams, RebuildVersionMetadataV3RequestBody>, 'url'> {
|
|
14
|
+
queryParams: RebuildVersionMetadataV3MutationQueryParams;
|
|
15
|
+
body: RebuildVersionMetadataV3RequestBody;
|
|
16
|
+
}
|
|
17
|
+
export declare function rebuildVersionMetadataV3(props: RebuildVersionMetadataV3Props): Promise<RebuildVersionMetadataV3OkResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Trigger metadata rebuild for all versions in a registry
|
|
20
|
+
*/
|
|
21
|
+
export declare function useRebuildVersionMetadataV3Mutation(options?: Omit<UseMutationOptions<RebuildVersionMetadataV3OkResponse, RebuildVersionMetadataV3ErrorResponse, RebuildVersionMetadataV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RebuildVersionMetadataV3OkResponse, ErrorV3, RebuildVersionMetadataV3Props, 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 rebuildVersionMetadataV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/versions/rebuild-metadata`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Trigger metadata rebuild for all versions in a registry
|
|
11
|
+
*/
|
|
12
|
+
export function useRebuildVersionMetadataV3Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => rebuildVersionMetadataV3(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FirewallExceptionUpdatedV3Response } from '../responses/FirewallExceptionUpdatedV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { FirewallExceptionUpdateRequestV3RequestBody } from '../requestBodies/FirewallExceptionUpdateRequestV3RequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpdateFirewallExceptionV3MutationPathParams {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export interface UpdateFirewallExceptionV3MutationQueryParams {
|
|
11
|
+
account_identifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type UpdateFirewallExceptionV3RequestBody = FirewallExceptionUpdateRequestV3RequestBody;
|
|
14
|
+
export type UpdateFirewallExceptionV3OkResponse = ResponseWithPagination<FirewallExceptionUpdatedV3Response>;
|
|
15
|
+
export type UpdateFirewallExceptionV3ErrorResponse = ErrorV3;
|
|
16
|
+
export interface UpdateFirewallExceptionV3Props extends UpdateFirewallExceptionV3MutationPathParams, Omit<FetcherOptions<UpdateFirewallExceptionV3MutationQueryParams, UpdateFirewallExceptionV3RequestBody>, 'url'> {
|
|
17
|
+
queryParams: UpdateFirewallExceptionV3MutationQueryParams;
|
|
18
|
+
body: UpdateFirewallExceptionV3RequestBody;
|
|
19
|
+
}
|
|
20
|
+
export declare function updateFirewallExceptionV3(props: UpdateFirewallExceptionV3Props): Promise<UpdateFirewallExceptionV3OkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Update a firewall exception. Only allowed when status is PENDING.
|
|
23
|
+
*/
|
|
24
|
+
export declare function useUpdateFirewallExceptionV3Mutation(options?: Omit<UseMutationOptions<UpdateFirewallExceptionV3OkResponse, UpdateFirewallExceptionV3ErrorResponse, UpdateFirewallExceptionV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateFirewallExceptionV3OkResponse, ErrorV3, UpdateFirewallExceptionV3Props, 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 updateFirewallExceptionV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/scans/exceptions/${props.id}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Update a firewall exception. Only allowed when status is PENDING.
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateFirewallExceptionV3Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateFirewallExceptionV3(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { FirewallExceptionApprovedV3Response } from '../responses/FirewallExceptionApprovedV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { FirewallExceptionApprovalRequestV3RequestBody } from '../requestBodies/FirewallExceptionApprovalRequestV3RequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpdateStatusFirewallExceptionV3MutationPathParams {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export interface UpdateStatusFirewallExceptionV3MutationQueryParams {
|
|
11
|
+
account_identifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type UpdateStatusFirewallExceptionV3RequestBody = FirewallExceptionApprovalRequestV3RequestBody;
|
|
14
|
+
export type UpdateStatusFirewallExceptionV3OkResponse = ResponseWithPagination<FirewallExceptionApprovedV3Response>;
|
|
15
|
+
export type UpdateStatusFirewallExceptionV3ErrorResponse = ErrorV3;
|
|
16
|
+
export interface UpdateStatusFirewallExceptionV3Props extends UpdateStatusFirewallExceptionV3MutationPathParams, Omit<FetcherOptions<UpdateStatusFirewallExceptionV3MutationQueryParams, UpdateStatusFirewallExceptionV3RequestBody>, 'url'> {
|
|
17
|
+
queryParams: UpdateStatusFirewallExceptionV3MutationQueryParams;
|
|
18
|
+
body: UpdateStatusFirewallExceptionV3RequestBody;
|
|
19
|
+
}
|
|
20
|
+
export declare function updateStatusFirewallExceptionV3(props: UpdateStatusFirewallExceptionV3Props): Promise<UpdateStatusFirewallExceptionV3OkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Update the status of a firewall exception (approve or reject)
|
|
23
|
+
*/
|
|
24
|
+
export declare function useUpdateStatusFirewallExceptionV3Mutation(options?: Omit<UseMutationOptions<UpdateStatusFirewallExceptionV3OkResponse, UpdateStatusFirewallExceptionV3ErrorResponse, UpdateStatusFirewallExceptionV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateStatusFirewallExceptionV3OkResponse, ErrorV3, UpdateStatusFirewallExceptionV3Props, 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 updateStatusFirewallExceptionV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/scans/exceptions/${props.id}/status`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Update the status of a firewall exception (approve or reject)
|
|
11
|
+
*/
|
|
12
|
+
export function useUpdateStatusFirewallExceptionV3Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => updateStatusFirewallExceptionV3(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -13,6 +13,8 @@ export type { CreateBulkDownloadRequestV1ErrorResponse, CreateBulkDownloadReques
|
|
|
13
13
|
export { createBulkDownloadRequestV1, useCreateBulkDownloadRequestV1Query, } from './hooks/useCreateBulkDownloadRequestV1Query';
|
|
14
14
|
export type { CreateBulkDownloadRequestV3ErrorResponse, CreateBulkDownloadRequestV3MutationQueryParams, CreateBulkDownloadRequestV3OkResponse, CreateBulkDownloadRequestV3Props, CreateBulkDownloadRequestV3RequestBody, } from './hooks/useCreateBulkDownloadRequestV3Mutation';
|
|
15
15
|
export { createBulkDownloadRequestV3, useCreateBulkDownloadRequestV3Mutation, } from './hooks/useCreateBulkDownloadRequestV3Mutation';
|
|
16
|
+
export type { CreateFirewallExceptionV3ErrorResponse, CreateFirewallExceptionV3MutationQueryParams, CreateFirewallExceptionV3OkResponse, CreateFirewallExceptionV3Props, CreateFirewallExceptionV3RequestBody, } from './hooks/useCreateFirewallExceptionV3Mutation';
|
|
17
|
+
export { createFirewallExceptionV3, useCreateFirewallExceptionV3Mutation, } from './hooks/useCreateFirewallExceptionV3Mutation';
|
|
16
18
|
export type { CreateRegistryErrorResponse, CreateRegistryMutationQueryParams, CreateRegistryOkResponse, CreateRegistryProps, CreateRegistryRequestBody, } from './hooks/useCreateRegistryMutation';
|
|
17
19
|
export { createRegistry, useCreateRegistryMutation } from './hooks/useCreateRegistryMutation';
|
|
18
20
|
export type { CreateReplicationRuleErrorResponse, CreateReplicationRuleMutationQueryParams, CreateReplicationRuleOkResponse, CreateReplicationRuleProps, CreateReplicationRuleRequestBody, } from './hooks/useCreateReplicationRuleMutation';
|
|
@@ -27,20 +29,18 @@ export type { DeleteArtifactErrorResponse, DeleteArtifactMutationPathParams, Del
|
|
|
27
29
|
export { deleteArtifact, useDeleteArtifactMutation } from './hooks/useDeleteArtifactMutation';
|
|
28
30
|
export type { DeleteArtifactVersionErrorResponse, DeleteArtifactVersionMutationPathParams, DeleteArtifactVersionMutationQueryParams, DeleteArtifactVersionOkResponse, DeleteArtifactVersionProps, } from './hooks/useDeleteArtifactVersionMutation';
|
|
29
31
|
export { deleteArtifactVersion, useDeleteArtifactVersionMutation, } from './hooks/useDeleteArtifactVersionMutation';
|
|
32
|
+
export type { DeleteFirewallExceptionV3ErrorResponse, DeleteFirewallExceptionV3MutationPathParams, DeleteFirewallExceptionV3MutationQueryParams, DeleteFirewallExceptionV3OkResponse, DeleteFirewallExceptionV3Props, } from './hooks/useDeleteFirewallExceptionV3Mutation';
|
|
33
|
+
export { deleteFirewallExceptionV3, useDeleteFirewallExceptionV3Mutation, } from './hooks/useDeleteFirewallExceptionV3Mutation';
|
|
30
34
|
export type { DeleteMetadataErrorResponse, DeleteMetadataMutationQueryParams, DeleteMetadataOkResponse, DeleteMetadataProps, } from './hooks/useDeleteMetadataMutation';
|
|
31
35
|
export { deleteMetadata, useDeleteMetadataMutation } from './hooks/useDeleteMetadataMutation';
|
|
32
36
|
export type { DeleteMetadataV3ErrorResponse, DeleteMetadataV3MutationPathParams, DeleteMetadataV3MutationQueryParams, DeleteMetadataV3OkResponse, DeleteMetadataV3Props, } from './hooks/useDeleteMetadataV3Mutation';
|
|
33
37
|
export { deleteMetadataV3, useDeleteMetadataV3Mutation } from './hooks/useDeleteMetadataV3Mutation';
|
|
34
|
-
export type { DeletePackageErrorResponse, DeletePackageMutationPathParams, DeletePackageMutationQueryParams, DeletePackageOkResponse, DeletePackageProps, } from './hooks/useDeletePackageMutation';
|
|
35
|
-
export { deletePackage, useDeletePackageMutation } from './hooks/useDeletePackageMutation';
|
|
36
38
|
export type { DeletePackageV3ErrorResponse, DeletePackageV3MutationPathParams, DeletePackageV3MutationQueryParams, DeletePackageV3OkResponse, DeletePackageV3Props, } from './hooks/useDeletePackageV3Mutation';
|
|
37
39
|
export { deletePackageV3, useDeletePackageV3Mutation } from './hooks/useDeletePackageV3Mutation';
|
|
38
40
|
export type { DeleteQuarantineFilePathErrorResponse, DeleteQuarantineFilePathMutationPathParams, DeleteQuarantineFilePathMutationQueryParams, DeleteQuarantineFilePathOkResponse, DeleteQuarantineFilePathProps, } from './hooks/useDeleteQuarantineFilePathMutation';
|
|
39
41
|
export { deleteQuarantineFilePath, useDeleteQuarantineFilePathMutation, } from './hooks/useDeleteQuarantineFilePathMutation';
|
|
40
42
|
export type { DeleteRegistryErrorResponse, DeleteRegistryMutationPathParams, DeleteRegistryOkResponse, DeleteRegistryProps, } from './hooks/useDeleteRegistryMutation';
|
|
41
43
|
export { deleteRegistry, useDeleteRegistryMutation } from './hooks/useDeleteRegistryMutation';
|
|
42
|
-
export type { DeleteRegistryV2ErrorResponse, DeleteRegistryV2MutationPathParams, DeleteRegistryV2MutationQueryParams, DeleteRegistryV2OkResponse, DeleteRegistryV2Props, } from './hooks/useDeleteRegistryV2Mutation';
|
|
43
|
-
export { deleteRegistryV2, useDeleteRegistryV2Mutation } from './hooks/useDeleteRegistryV2Mutation';
|
|
44
44
|
export type { DeleteRegistryV3ErrorResponse, DeleteRegistryV3MutationPathParams, DeleteRegistryV3MutationQueryParams, DeleteRegistryV3OkResponse, DeleteRegistryV3Props, } from './hooks/useDeleteRegistryV3Mutation';
|
|
45
45
|
export { deleteRegistryV3, useDeleteRegistryV3Mutation } from './hooks/useDeleteRegistryV3Mutation';
|
|
46
46
|
export type { DeleteReplicationRuleErrorResponse, DeleteReplicationRuleMutationPathParams, DeleteReplicationRuleOkResponse, DeleteReplicationRuleProps, } from './hooks/useDeleteReplicationRuleMutation';
|
|
@@ -49,8 +49,6 @@ export type { DeleteSpaceLabelErrorResponse, DeleteSpaceLabelMutationPathParams,
|
|
|
49
49
|
export { deleteSpaceLabel, useDeleteSpaceLabelMutation } from './hooks/useDeleteSpaceLabelMutation';
|
|
50
50
|
export type { DeleteSpaceLabelValueErrorResponse, DeleteSpaceLabelValueMutationPathParams, DeleteSpaceLabelValueOkResponse, DeleteSpaceLabelValueProps, } from './hooks/useDeleteSpaceLabelValueMutation';
|
|
51
51
|
export { deleteSpaceLabelValue, useDeleteSpaceLabelValueMutation, } from './hooks/useDeleteSpaceLabelValueMutation';
|
|
52
|
-
export type { DeleteVersionErrorResponse, DeleteVersionMutationPathParams, DeleteVersionMutationQueryParams, DeleteVersionOkResponse, DeleteVersionProps, } from './hooks/useDeleteVersionMutation';
|
|
53
|
-
export { deleteVersion, useDeleteVersionMutation } from './hooks/useDeleteVersionMutation';
|
|
54
52
|
export type { DeleteVersionV3ErrorResponse, DeleteVersionV3MutationPathParams, DeleteVersionV3MutationQueryParams, DeleteVersionV3OkResponse, DeleteVersionV3Props, } from './hooks/useDeleteVersionV3Mutation';
|
|
55
53
|
export { deleteVersionV3, useDeleteVersionV3Mutation } from './hooks/useDeleteVersionV3Mutation';
|
|
56
54
|
export type { DeleteWebhookErrorResponse, DeleteWebhookMutationPathParams, DeleteWebhookOkResponse, DeleteWebhookProps, } from './hooks/useDeleteWebhookMutation';
|
|
@@ -141,6 +139,8 @@ export type { GetReplicationRuleErrorResponse, GetReplicationRuleOkResponse, Get
|
|
|
141
139
|
export { getReplicationRule, useGetReplicationRuleQuery } from './hooks/useGetReplicationRuleQuery';
|
|
142
140
|
export type { GetStorageDetailsErrorResponse, GetStorageDetailsOkResponse, GetStorageDetailsProps, GetStorageDetailsQueryPathParams, } from './hooks/useGetStorageDetailsQuery';
|
|
143
141
|
export { getStorageDetails, useGetStorageDetailsQuery } from './hooks/useGetStorageDetailsQuery';
|
|
142
|
+
export type { GetSystemInfoV3ErrorResponse, GetSystemInfoV3OkResponse, GetSystemInfoV3Props, GetSystemInfoV3QueryQueryParams, } from './hooks/useGetSystemInfoV3Query';
|
|
143
|
+
export { getSystemInfoV3, useGetSystemInfoV3Query } from './hooks/useGetSystemInfoV3Query';
|
|
144
144
|
export type { GetVersionMetadataV3ErrorResponse, GetVersionMetadataV3OkResponse, GetVersionMetadataV3Props, GetVersionMetadataV3QueryPathParams, GetVersionMetadataV3QueryQueryParams, } from './hooks/useGetVersionMetadataV3Query';
|
|
145
145
|
export { getVersionMetadataV3, useGetVersionMetadataV3Query, } from './hooks/useGetVersionMetadataV3Query';
|
|
146
146
|
export type { GetWebhookExecutionErrorResponse, GetWebhookExecutionOkResponse, GetWebhookExecutionProps, GetWebhookExecutionQueryPathParams, } from './hooks/useGetWebhookExecutionQuery';
|
|
@@ -153,6 +153,10 @@ export type { ListArtifactLabelsErrorResponse, ListArtifactLabelsOkResponse, Lis
|
|
|
153
153
|
export { listArtifactLabels, useListArtifactLabelsQuery } from './hooks/useListArtifactLabelsQuery';
|
|
154
154
|
export type { ListFilesV3ErrorResponse, ListFilesV3OkResponse, ListFilesV3Props, ListFilesV3QueryQueryParams, } from './hooks/useListFilesV3Query';
|
|
155
155
|
export { listFilesV3, useListFilesV3Query } from './hooks/useListFilesV3Query';
|
|
156
|
+
export type { ListFirewallExceptionVersionsV3ErrorResponse, ListFirewallExceptionVersionsV3OkResponse, ListFirewallExceptionVersionsV3Props, ListFirewallExceptionVersionsV3QueryQueryParams, } from './hooks/useListFirewallExceptionVersionsV3Query';
|
|
157
|
+
export { listFirewallExceptionVersionsV3, useListFirewallExceptionVersionsV3Query, } from './hooks/useListFirewallExceptionVersionsV3Query';
|
|
158
|
+
export type { ListFirewallExceptionsV3ErrorResponse, ListFirewallExceptionsV3OkResponse, ListFirewallExceptionsV3Props, ListFirewallExceptionsV3QueryQueryParams, } from './hooks/useListFirewallExceptionsV3Query';
|
|
159
|
+
export { listFirewallExceptionsV3, useListFirewallExceptionsV3Query, } from './hooks/useListFirewallExceptionsV3Query';
|
|
156
160
|
export type { ListMigrationImagesErrorResponse, ListMigrationImagesOkResponse, ListMigrationImagesProps, ListMigrationImagesQueryPathParams, ListMigrationImagesQueryQueryParams, } from './hooks/useListMigrationImagesQuery';
|
|
157
161
|
export { listMigrationImages, useListMigrationImagesQuery, } from './hooks/useListMigrationImagesQuery';
|
|
158
162
|
export type { ListPackagesErrorResponse, ListPackagesOkResponse, ListPackagesProps, ListPackagesQueryQueryParams, } from './hooks/useListPackagesQuery';
|
|
@@ -183,18 +187,14 @@ export type { QuarantineFilePathErrorResponse, QuarantineFilePathMutationPathPar
|
|
|
183
187
|
export { quarantineFilePath, useQuarantineFilePathMutation, } from './hooks/useQuarantineFilePathMutation';
|
|
184
188
|
export type { ReTriggerWebhookExecutionErrorResponse, ReTriggerWebhookExecutionOkResponse, ReTriggerWebhookExecutionProps, ReTriggerWebhookExecutionQueryPathParams, } from './hooks/useReTriggerWebhookExecutionQuery';
|
|
185
189
|
export { reTriggerWebhookExecution, useReTriggerWebhookExecutionQuery, } from './hooks/useReTriggerWebhookExecutionQuery';
|
|
190
|
+
export type { RebuildVersionMetadataV3ErrorResponse, RebuildVersionMetadataV3MutationQueryParams, RebuildVersionMetadataV3OkResponse, RebuildVersionMetadataV3Props, RebuildVersionMetadataV3RequestBody, } from './hooks/useRebuildVersionMetadataV3Mutation';
|
|
191
|
+
export { rebuildVersionMetadataV3, useRebuildVersionMetadataV3Mutation, } from './hooks/useRebuildVersionMetadataV3Mutation';
|
|
186
192
|
export type { RedirectHarnessArtifactErrorResponse, RedirectHarnessArtifactOkResponse, RedirectHarnessArtifactProps, RedirectHarnessArtifactQueryPathParams, RedirectHarnessArtifactQueryQueryParams, } from './hooks/useRedirectHarnessArtifactQuery';
|
|
187
193
|
export { redirectHarnessArtifact, useRedirectHarnessArtifactQuery, } from './hooks/useRedirectHarnessArtifactQuery';
|
|
188
|
-
export type { RestorePackageErrorResponse, RestorePackageMutationPathParams, RestorePackageMutationQueryParams, RestorePackageOkResponse, RestorePackageProps, } from './hooks/useRestorePackageMutation';
|
|
189
|
-
export { restorePackage, useRestorePackageMutation } from './hooks/useRestorePackageMutation';
|
|
190
194
|
export type { RestorePackageV3ErrorResponse, RestorePackageV3MutationPathParams, RestorePackageV3MutationQueryParams, RestorePackageV3OkResponse, RestorePackageV3Props, } from './hooks/useRestorePackageV3Mutation';
|
|
191
195
|
export { restorePackageV3, useRestorePackageV3Mutation } from './hooks/useRestorePackageV3Mutation';
|
|
192
|
-
export type { RestoreRegistryErrorResponse, RestoreRegistryMutationPathParams, RestoreRegistryMutationQueryParams, RestoreRegistryOkResponse, RestoreRegistryProps, } from './hooks/useRestoreRegistryMutation';
|
|
193
|
-
export { restoreRegistry, useRestoreRegistryMutation } from './hooks/useRestoreRegistryMutation';
|
|
194
196
|
export type { RestoreRegistryV3ErrorResponse, RestoreRegistryV3MutationPathParams, RestoreRegistryV3MutationQueryParams, RestoreRegistryV3OkResponse, RestoreRegistryV3Props, } from './hooks/useRestoreRegistryV3Mutation';
|
|
195
197
|
export { restoreRegistryV3, useRestoreRegistryV3Mutation, } from './hooks/useRestoreRegistryV3Mutation';
|
|
196
|
-
export type { RestoreVersionErrorResponse, RestoreVersionMutationPathParams, RestoreVersionMutationQueryParams, RestoreVersionOkResponse, RestoreVersionProps, } from './hooks/useRestoreVersionMutation';
|
|
197
|
-
export { restoreVersion, useRestoreVersionMutation } from './hooks/useRestoreVersionMutation';
|
|
198
198
|
export type { RestoreVersionV3ErrorResponse, RestoreVersionV3MutationPathParams, RestoreVersionV3MutationQueryParams, RestoreVersionV3OkResponse, RestoreVersionV3Props, } from './hooks/useRestoreVersionV3Mutation';
|
|
199
199
|
export { restoreVersionV3, useRestoreVersionV3Mutation } from './hooks/useRestoreVersionV3Mutation';
|
|
200
200
|
export type { SaveFileMetadataV3ErrorResponse, SaveFileMetadataV3MutationPathParams, SaveFileMetadataV3MutationQueryParams, SaveFileMetadataV3OkResponse, SaveFileMetadataV3Props, SaveFileMetadataV3RequestBody, } from './hooks/useSaveFileMetadataV3Mutation';
|
|
@@ -217,6 +217,8 @@ export type { StopMigrationErrorResponse, StopMigrationMutationPathParams, StopM
|
|
|
217
217
|
export { stopMigration, useStopMigrationMutation } from './hooks/useStopMigrationMutation';
|
|
218
218
|
export type { UpdateArtifactLabelsErrorResponse, UpdateArtifactLabelsMutationPathParams, UpdateArtifactLabelsMutationQueryParams, UpdateArtifactLabelsOkResponse, UpdateArtifactLabelsProps, UpdateArtifactLabelsRequestBody, } from './hooks/useUpdateArtifactLabelsMutation';
|
|
219
219
|
export { updateArtifactLabels, useUpdateArtifactLabelsMutation, } from './hooks/useUpdateArtifactLabelsMutation';
|
|
220
|
+
export type { UpdateFirewallExceptionV3ErrorResponse, UpdateFirewallExceptionV3MutationPathParams, UpdateFirewallExceptionV3MutationQueryParams, UpdateFirewallExceptionV3OkResponse, UpdateFirewallExceptionV3Props, UpdateFirewallExceptionV3RequestBody, } from './hooks/useUpdateFirewallExceptionV3Mutation';
|
|
221
|
+
export { updateFirewallExceptionV3, useUpdateFirewallExceptionV3Mutation, } from './hooks/useUpdateFirewallExceptionV3Mutation';
|
|
220
222
|
export type { UpdateMetadataErrorResponse, UpdateMetadataMutationQueryParams, UpdateMetadataOkResponse, UpdateMetadataProps, UpdateMetadataRequestBody, } from './hooks/useUpdateMetadataMutation';
|
|
221
223
|
export { updateMetadata, useUpdateMetadataMutation } from './hooks/useUpdateMetadataMutation';
|
|
222
224
|
export type { UpdateReplicationRuleErrorResponse, UpdateReplicationRuleMutationPathParams, UpdateReplicationRuleOkResponse, UpdateReplicationRuleProps, UpdateReplicationRuleRequestBody, } from './hooks/useUpdateReplicationRuleMutation';
|
|
@@ -225,6 +227,8 @@ export type { UpdateSpaceLabelErrorResponse, UpdateSpaceLabelMutationPathParams,
|
|
|
225
227
|
export { updateSpaceLabel, useUpdateSpaceLabelMutation } from './hooks/useUpdateSpaceLabelMutation';
|
|
226
228
|
export type { UpdateSpaceLabelValueErrorResponse, UpdateSpaceLabelValueMutationPathParams, UpdateSpaceLabelValueOkResponse, UpdateSpaceLabelValueProps, UpdateSpaceLabelValueRequestBody, } from './hooks/useUpdateSpaceLabelValueMutation';
|
|
227
229
|
export { updateSpaceLabelValue, useUpdateSpaceLabelValueMutation, } from './hooks/useUpdateSpaceLabelValueMutation';
|
|
230
|
+
export type { UpdateStatusFirewallExceptionV3ErrorResponse, UpdateStatusFirewallExceptionV3MutationPathParams, UpdateStatusFirewallExceptionV3MutationQueryParams, UpdateStatusFirewallExceptionV3OkResponse, UpdateStatusFirewallExceptionV3Props, UpdateStatusFirewallExceptionV3RequestBody, } from './hooks/useUpdateStatusFirewallExceptionV3Mutation';
|
|
231
|
+
export { updateStatusFirewallExceptionV3, useUpdateStatusFirewallExceptionV3Mutation, } from './hooks/useUpdateStatusFirewallExceptionV3Mutation';
|
|
228
232
|
export type { UpdateWebhookErrorResponse, UpdateWebhookMutationPathParams, UpdateWebhookOkResponse, UpdateWebhookProps, UpdateWebhookRequestBody, } from './hooks/useUpdateWebhookMutation';
|
|
229
233
|
export { updateWebhook, useUpdateWebhookMutation } from './hooks/useUpdateWebhookMutation';
|
|
230
234
|
export type { UpsertFileMetadataV3ErrorResponse, UpsertFileMetadataV3MutationPathParams, UpsertFileMetadataV3MutationQueryParams, UpsertFileMetadataV3OkResponse, UpsertFileMetadataV3Props, UpsertFileMetadataV3RequestBody, } from './hooks/useUpsertFileMetadataV3Mutation';
|
|
@@ -243,6 +247,9 @@ export type { BulkDownloadFilesRequestRequestBody } from './requestBodies/BulkDo
|
|
|
243
247
|
export type { BulkDownloadFilesRequestV3RequestBody } from './requestBodies/BulkDownloadFilesRequestV3RequestBody';
|
|
244
248
|
export type { BulkScanEvaluationRequestV3RequestBody } from './requestBodies/BulkScanEvaluationRequestV3RequestBody';
|
|
245
249
|
export type { CopyResourcesRequestV3RequestBody } from './requestBodies/CopyResourcesRequestV3RequestBody';
|
|
250
|
+
export type { FirewallExceptionApprovalRequestV3RequestBody } from './requestBodies/FirewallExceptionApprovalRequestV3RequestBody';
|
|
251
|
+
export type { FirewallExceptionCreateRequestV3RequestBody } from './requestBodies/FirewallExceptionCreateRequestV3RequestBody';
|
|
252
|
+
export type { FirewallExceptionUpdateRequestV3RequestBody } from './requestBodies/FirewallExceptionUpdateRequestV3RequestBody';
|
|
246
253
|
export type { MetadataRequestRequestBody } from './requestBodies/MetadataRequestRequestBody';
|
|
247
254
|
export type { MetadataRequestV3RequestBody } from './requestBodies/MetadataRequestV3RequestBody';
|
|
248
255
|
export type { QuarantineRequestRequestBody } from './requestBodies/QuarantineRequestRequestBody';
|
|
@@ -274,6 +281,9 @@ export type { DockerManifestsResponseResponse } from './responses/DockerManifest
|
|
|
274
281
|
export type { DownloadFileResponseResponse } from './responses/DownloadFileResponseResponse';
|
|
275
282
|
export type { DownloadFileResponseV3Response } from './responses/DownloadFileResponseV3Response';
|
|
276
283
|
export type { FileDetailResponseResponse } from './responses/FileDetailResponseResponse';
|
|
284
|
+
export type { FirewallExceptionApprovedV3Response } from './responses/FirewallExceptionApprovedV3Response';
|
|
285
|
+
export type { FirewallExceptionCreatedV3Response } from './responses/FirewallExceptionCreatedV3Response';
|
|
286
|
+
export type { FirewallExceptionUpdatedV3Response } from './responses/FirewallExceptionUpdatedV3Response';
|
|
277
287
|
export type { GetBulkDownloadRequestStatusResponseResponse } from './responses/GetBulkDownloadRequestStatusResponseResponse';
|
|
278
288
|
export type { GetBulkDownloadRequestStatusResponseV3Response } from './responses/GetBulkDownloadRequestStatusResponseV3Response';
|
|
279
289
|
export type { HelmArtifactDetailResponseResponse } from './responses/HelmArtifactDetailResponseResponse';
|
|
@@ -285,6 +295,8 @@ export type { ListArtifactScanResponseV3Response } from './responses/ListArtifac
|
|
|
285
295
|
export type { ListArtifactVersionResponseResponse } from './responses/ListArtifactVersionResponseResponse';
|
|
286
296
|
export type { ListFilesResponseResponse } from './responses/ListFilesResponseResponse';
|
|
287
297
|
export type { ListFilesResponseV3Response } from './responses/ListFilesResponseV3Response';
|
|
298
|
+
export type { ListFirewallExceptionResponseV3Response } from './responses/ListFirewallExceptionResponseV3Response';
|
|
299
|
+
export type { ListFirewallExceptionVersionsResponseV3Response } from './responses/ListFirewallExceptionVersionsResponseV3Response';
|
|
288
300
|
export type { ListMigrationImageResponseResponse } from './responses/ListMigrationImageResponseResponse';
|
|
289
301
|
export type { ListOciArtifactTagsResponseResponse } from './responses/ListOciArtifactTagsResponseResponse';
|
|
290
302
|
export type { ListPackageResponseResponse } from './responses/ListPackageResponseResponse';
|
|
@@ -306,12 +318,14 @@ export type { MetadataValuesResponseV3Response } from './responses/MetadataValue
|
|
|
306
318
|
export type { NotFoundResponse } from './responses/NotFoundResponse';
|
|
307
319
|
export type { PlainTextResponseResponse } from './responses/PlainTextResponseResponse';
|
|
308
320
|
export type { QuarantinePathResponseResponse } from './responses/QuarantinePathResponseResponse';
|
|
321
|
+
export type { RebuildVersionMetadataAcceptedV3Response } from './responses/RebuildVersionMetadataAcceptedV3Response';
|
|
309
322
|
export type { RedirectResponse } from './responses/RedirectResponse';
|
|
310
323
|
export type { RedirectV3Response } from './responses/RedirectV3Response';
|
|
311
324
|
export type { RegistryResponseResponse } from './responses/RegistryResponseResponse';
|
|
312
325
|
export type { ReplicationRuleResponseResponse } from './responses/ReplicationRuleResponseResponse';
|
|
313
326
|
export type { StorageDetailsResponseResponse } from './responses/StorageDetailsResponseResponse';
|
|
314
327
|
export type { SuccessResponse } from './responses/SuccessResponse';
|
|
328
|
+
export type { SystemInfoResponseV3Response } from './responses/SystemInfoResponseV3Response';
|
|
315
329
|
export type { UnauthenticatedResponse } from './responses/UnauthenticatedResponse';
|
|
316
330
|
export type { UnauthorizedResponse } from './responses/UnauthorizedResponse';
|
|
317
331
|
export type { WebhookExecutionResponseResponse } from './responses/WebhookExecutionResponseResponse';
|
|
@@ -387,6 +401,12 @@ export type { ExtraHeader } from './schemas/ExtraHeader';
|
|
|
387
401
|
export type { FileDetail } from './schemas/FileDetail';
|
|
388
402
|
export type { FileMetadata } from './schemas/FileMetadata';
|
|
389
403
|
export type { FileMetadataV3 } from './schemas/FileMetadataV3';
|
|
404
|
+
export type { FirewallExceptionApprovalRequestV3 } from './schemas/FirewallExceptionApprovalRequestV3';
|
|
405
|
+
export type { FirewallExceptionCreateRequestV3 } from './schemas/FirewallExceptionCreateRequestV3';
|
|
406
|
+
export type { FirewallExceptionMetaV3 } from './schemas/FirewallExceptionMetaV3';
|
|
407
|
+
export type { FirewallExceptionResponseV3 } from './schemas/FirewallExceptionResponseV3';
|
|
408
|
+
export type { FirewallExceptionStatusV3 } from './schemas/FirewallExceptionStatusV3';
|
|
409
|
+
export type { FirewallExceptionUpdateRequestV3 } from './schemas/FirewallExceptionUpdateRequestV3';
|
|
390
410
|
export type { FirewallModeV3 } from './schemas/FirewallModeV3';
|
|
391
411
|
export type { FixVersionDetailsV3 } from './schemas/FixVersionDetailsV3';
|
|
392
412
|
export type { GenericArtifactDetailConfig } from './schemas/GenericArtifactDetailConfig';
|
|
@@ -402,6 +422,7 @@ export type { ListArtifactLabel } from './schemas/ListArtifactLabel';
|
|
|
402
422
|
export type { ListArtifactVersion } from './schemas/ListArtifactVersion';
|
|
403
423
|
export type { ListFileDetail } from './schemas/ListFileDetail';
|
|
404
424
|
export type { ListFilesResponseBodyV3 } from './schemas/ListFilesResponseBodyV3';
|
|
425
|
+
export type { ListFirewallExceptionsResponseBodyV3 } from './schemas/ListFirewallExceptionsResponseBodyV3';
|
|
405
426
|
export type { ListMetadataKeysResponseBodyV3 } from './schemas/ListMetadataKeysResponseBodyV3';
|
|
406
427
|
export type { ListMetadataValuesResponseBodyV3 } from './schemas/ListMetadataValuesResponseBodyV3';
|
|
407
428
|
export type { ListMigrationImage } from './schemas/ListMigrationImage';
|
|
@@ -449,6 +470,7 @@ export type { PolicySetsV3 } from './schemas/PolicySetsV3';
|
|
|
449
470
|
export type { PythonArtifactDetailConfig } from './schemas/PythonArtifactDetailConfig';
|
|
450
471
|
export type { QuarantinePath } from './schemas/QuarantinePath';
|
|
451
472
|
export type { QuarantineRequest } from './schemas/QuarantineRequest';
|
|
473
|
+
export type { RebuildVersionMetadataRequestV3 } from './schemas/RebuildVersionMetadataRequestV3';
|
|
452
474
|
export type { Registry } from './schemas/Registry';
|
|
453
475
|
export type { RegistryArtifactMetadata } from './schemas/RegistryArtifactMetadata';
|
|
454
476
|
export type { RegistryConfig } from './schemas/RegistryConfig';
|
|
@@ -474,6 +496,7 @@ export type { Status } from './schemas/Status';
|
|
|
474
496
|
export type { StoDetails } from './schemas/StoDetails';
|
|
475
497
|
export type { StorageDetails } from './schemas/StorageDetails';
|
|
476
498
|
export type { SwiftArtifactDetailConfig } from './schemas/SwiftArtifactDetailConfig';
|
|
499
|
+
export type { SystemInfoV3 } from './schemas/SystemInfoV3';
|
|
477
500
|
export type { TabSetupStep } from './schemas/TabSetupStep';
|
|
478
501
|
export type { TabSetupStepConfig } from './schemas/TabSetupStepConfig';
|
|
479
502
|
export type { Trigger } from './schemas/Trigger';
|