@harnessio/react-har-service-client 0.99.0 → 0.101.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/useCreateRegistryV3Mutation.d.ts +24 -0
- package/dist/har-service/src/services/hooks/useCreateRegistryV3Mutation.js +15 -0
- package/dist/har-service/src/services/hooks/useGetRebuildRegistryIndexStatusV3Query.d.ts +22 -0
- package/dist/har-service/src/services/hooks/useGetRebuildRegistryIndexStatusV3Query.js +14 -0
- package/dist/har-service/src/services/hooks/useGetRegistryV3Query.d.ts +24 -0
- package/dist/har-service/src/services/hooks/useGetRegistryV3Query.js +15 -0
- package/dist/har-service/src/services/hooks/useListPackagesV3Query.d.ts +1 -0
- package/dist/har-service/src/services/hooks/useListRegistriesV3Query.d.ts +1 -0
- package/dist/har-service/src/services/hooks/useListTreeRootsV3Query.d.ts +1 -2
- package/dist/har-service/src/services/hooks/useListVersionsV3Query.d.ts +1 -0
- package/dist/har-service/src/services/hooks/usePatchRegistryV3Mutation.d.ts +30 -0
- package/dist/har-service/src/services/hooks/usePatchRegistryV3Mutation.js +18 -0
- package/dist/har-service/src/services/hooks/useRebuildRegistryIndexV3Mutation.d.ts +1 -1
- package/dist/har-service/src/services/hooks/useRebuildRegistryIndexV3Mutation.js +1 -1
- package/dist/har-service/src/services/hooks/useResolveTreePathV3Query.d.ts +2 -2
- package/dist/har-service/src/services/hooks/useResolveTreePathV3Query.js +1 -1
- package/dist/har-service/src/services/hooks/useSearchTreeV3Query.d.ts +5 -2
- package/dist/har-service/src/services/hooks/useSearchTreeV3Query.js +4 -1
- package/dist/har-service/src/services/hooks/useUpdateRegistryV3Mutation.d.ts +30 -0
- package/dist/har-service/src/services/hooks/useUpdateRegistryV3Mutation.js +18 -0
- package/dist/har-service/src/services/index.d.ts +33 -0
- package/dist/har-service/src/services/index.js +5 -0
- package/dist/har-service/src/services/requestBodies/RegistryCreateRequestV3RequestBody.d.ts +2 -0
- package/dist/har-service/src/services/requestBodies/RegistryCreateRequestV3RequestBody.js +1 -0
- package/dist/har-service/src/services/requestBodies/RegistryPatchRequestV3RequestBody.d.ts +2 -0
- package/dist/har-service/src/services/requestBodies/RegistryPatchRequestV3RequestBody.js +1 -0
- package/dist/har-service/src/services/requestBodies/RegistryUpdateRequestV3RequestBody.d.ts +2 -0
- package/dist/har-service/src/services/requestBodies/RegistryUpdateRequestV3RequestBody.js +1 -0
- package/dist/har-service/src/services/responses/GetRebuildRegistryIndexStatusResponseV3Response.d.ts +20 -0
- package/dist/har-service/src/services/responses/GetRebuildRegistryIndexStatusResponseV3Response.js +1 -0
- package/dist/har-service/src/services/responses/RebuildRegistryIndexAcceptedV3Response.d.ts +15 -1
- package/dist/har-service/src/services/responses/RegistryResponseV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/RegistryResponseV3Response.js +1 -0
- package/dist/har-service/src/services/schemas/ApmArtifactDetailConfig.d.ts +8 -0
- package/dist/har-service/src/services/schemas/ApmArtifactDetailConfig.js +4 -0
- package/dist/har-service/src/services/schemas/ArtifactDetail.d.ts +2 -1
- package/dist/har-service/src/services/schemas/CleanupPolicyV3.d.ts +19 -0
- package/dist/har-service/src/services/schemas/CleanupPolicyV3.js +4 -0
- package/dist/har-service/src/services/schemas/DebianConfigV3.d.ts +14 -0
- package/dist/har-service/src/services/schemas/DebianConfigV3.js +4 -0
- package/dist/har-service/src/services/schemas/FilterConditionV3.d.ts +1 -1
- package/dist/har-service/src/services/schemas/FilterDataTypeV3.d.ts +1 -1
- package/dist/har-service/src/services/schemas/FilterInputTypeV3.d.ts +1 -1
- package/dist/har-service/src/services/schemas/PackageType.d.ts +1 -1
- package/dist/har-service/src/services/schemas/PackageTypeV3.d.ts +1 -1
- package/dist/har-service/src/services/schemas/RebuildRegistryIndexStatusV3.d.ts +4 -0
- package/dist/har-service/src/services/schemas/RebuildRegistryIndexStatusV3.js +4 -0
- package/dist/har-service/src/services/schemas/RegistryConfigV3.d.ts +10 -0
- package/dist/har-service/src/services/schemas/RegistryConfigV3.js +1 -0
- package/dist/har-service/src/services/schemas/RegistryCreateBodyV3.d.ts +52 -0
- package/dist/har-service/src/services/schemas/RegistryCreateBodyV3.js +1 -0
- package/dist/har-service/src/services/schemas/RegistryDetailV3.d.ts +30 -0
- package/dist/har-service/src/services/schemas/RegistryDetailV3.js +1 -0
- package/dist/har-service/src/services/schemas/RegistryMutateBodyV3.d.ts +68 -0
- package/dist/har-service/src/services/schemas/RegistryMutateBodyV3.js +1 -0
- package/dist/har-service/src/services/schemas/ScannerV3.d.ts +11 -0
- package/dist/har-service/src/services/schemas/ScannerV3.js +4 -0
- package/dist/har-service/src/services/schemas/SearchFileItemV3.d.ts +17 -0
- package/dist/har-service/src/services/schemas/SearchPackageItemV3.d.ts +26 -13
- package/dist/har-service/src/services/schemas/SearchRegistryItemV3.d.ts +24 -0
- package/dist/har-service/src/services/schemas/SearchRegistryItemV3.js +0 -3
- package/dist/har-service/src/services/schemas/SearchVersionItemV3.d.ts +32 -16
- package/dist/har-service/src/services/schemas/SigningConfigV3.d.ts +15 -0
- package/dist/har-service/src/services/schemas/SigningConfigV3.js +4 -0
- package/dist/har-service/src/services/schemas/TreeNodeItemV3.d.ts +1 -1
- package/dist/har-service/src/services/schemas/UpstreamAuthAccessKeySecretKeyV3.d.ts +27 -0
- package/dist/har-service/src/services/schemas/UpstreamAuthAccessKeySecretKeyV3.js +4 -0
- package/dist/har-service/src/services/schemas/UpstreamAuthBearerTokenV3.d.ts +14 -0
- package/dist/har-service/src/services/schemas/UpstreamAuthBearerTokenV3.js +4 -0
- package/dist/har-service/src/services/schemas/UpstreamAuthTypeV3.d.ts +6 -0
- package/dist/har-service/src/services/schemas/UpstreamAuthTypeV3.js +4 -0
- package/dist/har-service/src/services/schemas/UpstreamAuthUserPasswordV3.d.ts +16 -0
- package/dist/har-service/src/services/schemas/UpstreamAuthUserPasswordV3.js +4 -0
- package/dist/har-service/src/services/schemas/UpstreamAuthV3.d.ts +8 -0
- package/dist/har-service/src/services/schemas/UpstreamAuthV3.js +1 -0
- package/dist/har-service/src/services/schemas/UpstreamConfigV3.d.ts +36 -0
- package/dist/har-service/src/services/schemas/UpstreamConfigV3.js +1 -0
- package/dist/har-service/src/services/schemas/UpstreamSourceV3.d.ts +6 -0
- package/dist/har-service/src/services/schemas/UpstreamSourceV3.js +4 -0
- package/dist/har-service/src/services/schemas/VirtualConfigV3.d.ts +14 -0
- package/dist/har-service/src/services/schemas/VirtualConfigV3.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { RegistryResponseV3Response } from '../responses/RegistryResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { RegistryCreateRequestV3RequestBody } from '../requestBodies/RegistryCreateRequestV3RequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface CreateRegistryV3MutationQueryParams {
|
|
8
|
+
account_identifier: string;
|
|
9
|
+
org_identifier?: string;
|
|
10
|
+
project_identifier?: string;
|
|
11
|
+
}
|
|
12
|
+
export type CreateRegistryV3RequestBody = RegistryCreateRequestV3RequestBody;
|
|
13
|
+
export type CreateRegistryV3OkResponse = ResponseWithPagination<RegistryResponseV3Response>;
|
|
14
|
+
export type CreateRegistryV3ErrorResponse = ErrorV3;
|
|
15
|
+
export interface CreateRegistryV3Props extends Omit<FetcherOptions<CreateRegistryV3MutationQueryParams, CreateRegistryV3RequestBody>, 'url'> {
|
|
16
|
+
queryParams: CreateRegistryV3MutationQueryParams;
|
|
17
|
+
body: CreateRegistryV3RequestBody;
|
|
18
|
+
}
|
|
19
|
+
export declare function createRegistryV3(props: CreateRegistryV3Props): Promise<CreateRegistryV3OkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Creates a registry in the scope given by the account, org and project identifiers. The scope is taken from the query parameters, so the body carries no parent reference.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export declare function useCreateRegistryV3Mutation(options?: Omit<UseMutationOptions<CreateRegistryV3OkResponse, CreateRegistryV3ErrorResponse, CreateRegistryV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateRegistryV3OkResponse, ErrorV3, CreateRegistryV3Props, unknown>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 createRegistryV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/registries`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Creates a registry in the scope given by the account, org and project identifiers. The scope is taken from the query parameters, so the body carries no parent reference.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export function useCreateRegistryV3Mutation(options) {
|
|
14
|
+
return useMutation((mutateProps) => createRegistryV3(mutateProps), options);
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { GetRebuildRegistryIndexStatusResponseV3Response } from '../responses/GetRebuildRegistryIndexStatusResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetRebuildRegistryIndexStatusV3QueryPathParams {
|
|
7
|
+
id: string;
|
|
8
|
+
request_id: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetRebuildRegistryIndexStatusV3QueryQueryParams {
|
|
11
|
+
account_identifier: string;
|
|
12
|
+
}
|
|
13
|
+
export type GetRebuildRegistryIndexStatusV3OkResponse = ResponseWithPagination<GetRebuildRegistryIndexStatusResponseV3Response>;
|
|
14
|
+
export type GetRebuildRegistryIndexStatusV3ErrorResponse = ErrorV3;
|
|
15
|
+
export interface GetRebuildRegistryIndexStatusV3Props extends GetRebuildRegistryIndexStatusV3QueryPathParams, Omit<FetcherOptions<GetRebuildRegistryIndexStatusV3QueryQueryParams, unknown>, 'url'> {
|
|
16
|
+
queryParams: GetRebuildRegistryIndexStatusV3QueryQueryParams;
|
|
17
|
+
}
|
|
18
|
+
export declare function getRebuildRegistryIndexStatusV3(props: GetRebuildRegistryIndexStatusV3Props): Promise<GetRebuildRegistryIndexStatusV3OkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Get the status of a registry index rebuild requested through RebuildRegistryIndexV3. The status tracks this request only. A request made while a rebuild is already running stays PENDING until the follow-up rebuild that includes it starts.
|
|
21
|
+
*/
|
|
22
|
+
export declare function useGetRebuildRegistryIndexStatusV3Query(props: GetRebuildRegistryIndexStatusV3Props, options?: Omit<UseQueryOptions<GetRebuildRegistryIndexStatusV3OkResponse, GetRebuildRegistryIndexStatusV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRebuildRegistryIndexStatusV3OkResponse, 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 getRebuildRegistryIndexStatusV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/registries/${props.id}/rebuild-index/${props.request_id}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get the status of a registry index rebuild requested through RebuildRegistryIndexV3. The status tracks this request only. A request made while a rebuild is already running stays PENDING until the follow-up rebuild that includes it starts.
|
|
11
|
+
*/
|
|
12
|
+
export function useGetRebuildRegistryIndexStatusV3Query(props, options) {
|
|
13
|
+
return useQuery(['GetRebuildRegistryIndexStatusV3', props.id, props.request_id, props.queryParams], ({ signal }) => getRebuildRegistryIndexStatusV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { RegistryResponseV3Response } from '../responses/RegistryResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface GetRegistryV3QueryPathParams {
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
export interface GetRegistryV3QueryQueryParams {
|
|
10
|
+
account_identifier: string;
|
|
11
|
+
org_identifier?: string;
|
|
12
|
+
project_identifier?: string;
|
|
13
|
+
}
|
|
14
|
+
export type GetRegistryV3OkResponse = ResponseWithPagination<RegistryResponseV3Response>;
|
|
15
|
+
export type GetRegistryV3ErrorResponse = ErrorV3;
|
|
16
|
+
export interface GetRegistryV3Props extends GetRegistryV3QueryPathParams, Omit<FetcherOptions<GetRegistryV3QueryQueryParams, unknown>, 'url'> {
|
|
17
|
+
queryParams: GetRegistryV3QueryQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export declare function getRegistryV3(props: GetRegistryV3Props): Promise<GetRegistryV3OkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Retrieves a single registry by its UUID, including its configuration and other nested settings that are omitted from list results. Soft-deleted registries are returned as well, so that a caller holding a UUID can read one in order to restore it; `deletedAt` and `deletedBy` report the deletion.
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export declare function useGetRegistryV3Query(props: GetRegistryV3Props, options?: Omit<UseQueryOptions<GetRegistryV3OkResponse, GetRegistryV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRegistryV3OkResponse, ErrorV3>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 getRegistryV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/registries/${props.id}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves a single registry by its UUID, including its configuration and other nested settings that are omitted from list results. Soft-deleted registries are returned as well, so that a caller holding a UUID can read one in order to restore it; `deletedAt` and `deletedBy` report the deletion.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export function useGetRegistryV3Query(props, options) {
|
|
14
|
+
return useQuery(['GetRegistryV3', props.id, props.queryParams], ({ signal }) => getRegistryV3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
15
|
+
}
|
|
@@ -31,6 +31,7 @@ export interface ListPackagesV3QueryQueryParams {
|
|
|
31
31
|
sort?: string;
|
|
32
32
|
search_term?: string;
|
|
33
33
|
include_meta?: boolean;
|
|
34
|
+
query?: string;
|
|
34
35
|
}
|
|
35
36
|
export type ListPackagesV3OkResponse = ResponseWithPagination<ListPackageResponseV3Response>;
|
|
36
37
|
export type ListPackagesV3ErrorResponse = ErrorV3;
|
|
@@ -30,6 +30,7 @@ export interface ListRegistriesV3QueryQueryParams {
|
|
|
30
30
|
sort?: string;
|
|
31
31
|
search_term?: string;
|
|
32
32
|
include_meta?: boolean;
|
|
33
|
+
query?: string;
|
|
33
34
|
}
|
|
34
35
|
export type ListRegistriesV3OkResponse = ResponseWithPagination<ListRegistryResponseV3Response>;
|
|
35
36
|
export type ListRegistriesV3ErrorResponse = ErrorV3;
|
|
@@ -17,9 +17,8 @@ export interface ListTreeRootsV3QueryQueryParams {
|
|
|
17
17
|
* @default "exclude_deleted"
|
|
18
18
|
*/
|
|
19
19
|
deleted_filter?: 'exclude_deleted' | 'include_deleted' | 'only_deleted';
|
|
20
|
-
search?: string;
|
|
21
20
|
registry_type?: string;
|
|
22
|
-
|
|
21
|
+
package_types?: string[];
|
|
23
22
|
}
|
|
24
23
|
export type ListTreeRootsV3OkResponse = ResponseWithPagination<TreeResponseV3Response>;
|
|
25
24
|
export type ListTreeRootsV3ErrorResponse = ErrorV3;
|
|
@@ -38,6 +38,7 @@ export interface ListVersionsV3QueryQueryParams {
|
|
|
38
38
|
* refers to type of registry i.e virtual or upstream
|
|
39
39
|
*/
|
|
40
40
|
registry_type?: 'UPSTREAM' | 'VIRTUAL';
|
|
41
|
+
query?: string;
|
|
41
42
|
}
|
|
42
43
|
export type ListVersionsV3OkResponse = ResponseWithPagination<ListVersionResponseV3Response>;
|
|
43
44
|
export type ListVersionsV3ErrorResponse = ErrorV3;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { RegistryResponseV3Response } from '../responses/RegistryResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { RegistryPatchRequestV3RequestBody } from '../requestBodies/RegistryPatchRequestV3RequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface PatchRegistryV3MutationPathParams {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export interface PatchRegistryV3MutationQueryParams {
|
|
11
|
+
account_identifier: string;
|
|
12
|
+
org_identifier?: string;
|
|
13
|
+
project_identifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export type PatchRegistryV3RequestBody = RegistryPatchRequestV3RequestBody;
|
|
16
|
+
export type PatchRegistryV3OkResponse = ResponseWithPagination<RegistryResponseV3Response>;
|
|
17
|
+
export type PatchRegistryV3ErrorResponse = ErrorV3;
|
|
18
|
+
export interface PatchRegistryV3Props extends PatchRegistryV3MutationPathParams, Omit<FetcherOptions<PatchRegistryV3MutationQueryParams, PatchRegistryV3RequestBody>, 'url'> {
|
|
19
|
+
queryParams: PatchRegistryV3MutationQueryParams;
|
|
20
|
+
body: PatchRegistryV3RequestBody;
|
|
21
|
+
}
|
|
22
|
+
export declare function patchRegistryV3(props: PatchRegistryV3Props): Promise<PatchRegistryV3OkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Partially updates a registry. Only the fields present in the request body are modified;
|
|
25
|
+
* omitted fields keep their current values. Use this instead of the v1
|
|
26
|
+
* `PUT /registry/{registry_ref}`, which replaces the whole registry and therefore clears
|
|
27
|
+
* any field left out of the body.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare function usePatchRegistryV3Mutation(options?: Omit<UseMutationOptions<PatchRegistryV3OkResponse, PatchRegistryV3ErrorResponse, PatchRegistryV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PatchRegistryV3OkResponse, ErrorV3, PatchRegistryV3Props, unknown>;
|
|
@@ -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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function patchRegistryV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/registries/${props.id}`, method: 'PATCH' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Partially updates a registry. Only the fields present in the request body are modified;
|
|
11
|
+
* omitted fields keep their current values. Use this instead of the v1
|
|
12
|
+
* `PUT /registry/{registry_ref}`, which replaces the whole registry and therefore clears
|
|
13
|
+
* any field left out of the body.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export function usePatchRegistryV3Mutation(options) {
|
|
17
|
+
return useMutation((mutateProps) => patchRegistryV3(mutateProps), options);
|
|
18
|
+
}
|
|
@@ -16,6 +16,6 @@ export interface RebuildRegistryIndexV3Props extends RebuildRegistryIndexV3Mutat
|
|
|
16
16
|
}
|
|
17
17
|
export declare function rebuildRegistryIndexV3(props: RebuildRegistryIndexV3Props): Promise<RebuildRegistryIndexV3OkResponse>;
|
|
18
18
|
/**
|
|
19
|
-
* Trigger an asynchronous rebuild of the repository index for the given registry. The rebuild runs in the background; this endpoint returns immediately once the request is accepted. Index rebuild is package-type specific
|
|
19
|
+
* Trigger an asynchronous rebuild of the repository index for the given registry. The rebuild runs in the background; this endpoint returns immediately once the request is accepted. Index rebuild is package-type specific. Registries whose package type does not maintain a rebuildable index return 405.
|
|
20
20
|
*/
|
|
21
21
|
export declare function useRebuildRegistryIndexV3Mutation(options?: Omit<UseMutationOptions<RebuildRegistryIndexV3OkResponse, RebuildRegistryIndexV3ErrorResponse, RebuildRegistryIndexV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RebuildRegistryIndexV3OkResponse, ErrorV3, RebuildRegistryIndexV3Props, unknown>;
|
|
@@ -7,7 +7,7 @@ export function rebuildRegistryIndexV3(props) {
|
|
|
7
7
|
return fetcher(Object.assign({ url: `/v3/registries/${props.id}/rebuild-index`, method: 'POST' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Trigger an asynchronous rebuild of the repository index for the given registry. The rebuild runs in the background; this endpoint returns immediately once the request is accepted. Index rebuild is package-type specific
|
|
10
|
+
* Trigger an asynchronous rebuild of the repository index for the given registry. The rebuild runs in the background; this endpoint returns immediately once the request is accepted. Index rebuild is package-type specific. Registries whose package type does not maintain a rebuildable index return 405.
|
|
11
11
|
*/
|
|
12
12
|
export function useRebuildRegistryIndexV3Mutation(options) {
|
|
13
13
|
return useMutation((mutateProps) => rebuildRegistryIndexV3(mutateProps), options);
|
|
@@ -14,7 +14,7 @@ export interface ResolveTreePathV3QueryQueryParams {
|
|
|
14
14
|
*/
|
|
15
15
|
deleted_filter?: 'exclude_deleted' | 'include_deleted' | 'only_deleted';
|
|
16
16
|
registry_type?: string;
|
|
17
|
-
|
|
17
|
+
package_types?: string[];
|
|
18
18
|
cursor?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @default 50
|
|
@@ -39,7 +39,7 @@ export declare function resolveTreePathV3(props: ResolveTreePathV3Props): Promis
|
|
|
39
39
|
* pages from those endpoints with `children.pagination.nextCursor`. A file has no children.
|
|
40
40
|
*
|
|
41
41
|
* Every step must be a node the list endpoints would show under the same `scope`,
|
|
42
|
-
* `deleted_filter`, `registry_type` and `
|
|
42
|
+
* `deleted_filter`, `registry_type` and `package_types`; send the same values to both. A path
|
|
43
43
|
* that does not fully resolve, or whose registry is outside `scope` or excluded by a filter,
|
|
44
44
|
* returns 404. Resolving requires view permission on the registry, as for
|
|
45
45
|
* `ListRegistryNodesV3` (403 otherwise). A malformed path, `size` or `cursor` returns 400.
|
|
@@ -17,7 +17,7 @@ export function resolveTreePathV3(props) {
|
|
|
17
17
|
* pages from those endpoints with `children.pagination.nextCursor`. A file has no children.
|
|
18
18
|
*
|
|
19
19
|
* Every step must be a node the list endpoints would show under the same `scope`,
|
|
20
|
-
* `deleted_filter`, `registry_type` and `
|
|
20
|
+
* `deleted_filter`, `registry_type` and `package_types`; send the same values to both. A path
|
|
21
21
|
* that does not fully resolve, or whose registry is outside `scope` or excluded by a filter,
|
|
22
22
|
* returns 404. Resolving requires view permission on the registry, as for
|
|
23
23
|
* `ListRegistryNodesV3` (403 otherwise). A malformed path, `size` or `cursor` returns 400.
|
|
@@ -17,7 +17,7 @@ export interface SearchTreeV3QueryQueryParams {
|
|
|
17
17
|
packages_cursor?: string;
|
|
18
18
|
versions_cursor?: string;
|
|
19
19
|
files_cursor?: string;
|
|
20
|
-
|
|
20
|
+
package_types?: string[];
|
|
21
21
|
registry_type?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @default "exclude_deleted"
|
|
@@ -42,8 +42,11 @@ export declare function searchTreeV3(props: SearchTreeV3Props): Promise<SearchTr
|
|
|
42
42
|
* returned empty with `timedOut: true` and the other groups are returned as normal; the
|
|
43
43
|
* request fails with 504 only when every group timed out.
|
|
44
44
|
*
|
|
45
|
+
* Hits carry the same fields as `TreeNodeItemV3` except `hasChildren`: `id` is the tree node
|
|
46
|
+
* id, `entityId` the registry/package/version UUID.
|
|
47
|
+
*
|
|
45
48
|
* Registries and Files hits are always navigable. Packages and Versions hits are navigable
|
|
46
|
-
* when they carry `
|
|
49
|
+
* when they carry `id`; render the others as non-navigable.
|
|
47
50
|
*
|
|
48
51
|
*/
|
|
49
52
|
export declare function useSearchTreeV3Query(props: SearchTreeV3Props, options?: Omit<UseQueryOptions<SearchTreeV3OkResponse, SearchTreeV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<SearchTreeV3OkResponse, ErrorV3>;
|
|
@@ -18,8 +18,11 @@ export function searchTreeV3(props) {
|
|
|
18
18
|
* returned empty with `timedOut: true` and the other groups are returned as normal; the
|
|
19
19
|
* request fails with 504 only when every group timed out.
|
|
20
20
|
*
|
|
21
|
+
* Hits carry the same fields as `TreeNodeItemV3` except `hasChildren`: `id` is the tree node
|
|
22
|
+
* id, `entityId` the registry/package/version UUID.
|
|
23
|
+
*
|
|
21
24
|
* Registries and Files hits are always navigable. Packages and Versions hits are navigable
|
|
22
|
-
* when they carry `
|
|
25
|
+
* when they carry `id`; render the others as non-navigable.
|
|
23
26
|
*
|
|
24
27
|
*/
|
|
25
28
|
export function useSearchTreeV3Query(props, options) {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { RegistryResponseV3Response } from '../responses/RegistryResponseV3Response';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { RegistryUpdateRequestV3RequestBody } from '../requestBodies/RegistryUpdateRequestV3RequestBody';
|
|
5
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
6
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
|
+
export interface UpdateRegistryV3MutationPathParams {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export interface UpdateRegistryV3MutationQueryParams {
|
|
11
|
+
account_identifier: string;
|
|
12
|
+
org_identifier?: string;
|
|
13
|
+
project_identifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export type UpdateRegistryV3RequestBody = RegistryUpdateRequestV3RequestBody;
|
|
16
|
+
export type UpdateRegistryV3OkResponse = ResponseWithPagination<RegistryResponseV3Response>;
|
|
17
|
+
export type UpdateRegistryV3ErrorResponse = ErrorV3;
|
|
18
|
+
export interface UpdateRegistryV3Props extends UpdateRegistryV3MutationPathParams, Omit<FetcherOptions<UpdateRegistryV3MutationQueryParams, UpdateRegistryV3RequestBody>, 'url'> {
|
|
19
|
+
queryParams: UpdateRegistryV3MutationQueryParams;
|
|
20
|
+
body: UpdateRegistryV3RequestBody;
|
|
21
|
+
}
|
|
22
|
+
export declare function updateRegistryV3(props: UpdateRegistryV3Props): Promise<UpdateRegistryV3OkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Replaces a registry's mutable fields with the request body. The body is the complete
|
|
25
|
+
* desired state, so any field omitted from it is cleared — a caller that sends only the
|
|
26
|
+
* field it wants to change will wipe the rest. Use `PATCH` for that; it changes only the
|
|
27
|
+
* keys it receives.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare function useUpdateRegistryV3Mutation(options?: Omit<UseMutationOptions<UpdateRegistryV3OkResponse, UpdateRegistryV3ErrorResponse, UpdateRegistryV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateRegistryV3OkResponse, ErrorV3, UpdateRegistryV3Props, unknown>;
|
|
@@ -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 { useMutation } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
|
+
export function updateRegistryV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/registries/${props.id}`, method: 'PUT' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Replaces a registry's mutable fields with the request body. The body is the complete
|
|
11
|
+
* desired state, so any field omitted from it is cleared — a caller that sends only the
|
|
12
|
+
* field it wants to change will wipe the rest. Use `PATCH` for that; it changes only the
|
|
13
|
+
* keys it receives.
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
export function useUpdateRegistryV3Mutation(options) {
|
|
17
|
+
return useMutation((mutateProps) => updateRegistryV3(mutateProps), options);
|
|
18
|
+
}
|
|
@@ -27,6 +27,8 @@ export type { CreateLifecycleRuleV3ErrorResponse, CreateLifecycleRuleV3MutationQ
|
|
|
27
27
|
export { createLifecycleRuleV3, useCreateLifecycleRuleV3Mutation, } from './hooks/useCreateLifecycleRuleV3Mutation';
|
|
28
28
|
export type { CreateRegistryErrorResponse, CreateRegistryMutationQueryParams, CreateRegistryOkResponse, CreateRegistryProps, CreateRegistryRequestBody, } from './hooks/useCreateRegistryMutation';
|
|
29
29
|
export { createRegistry, useCreateRegistryMutation } from './hooks/useCreateRegistryMutation';
|
|
30
|
+
export type { CreateRegistryV3ErrorResponse, CreateRegistryV3MutationQueryParams, CreateRegistryV3OkResponse, CreateRegistryV3Props, CreateRegistryV3RequestBody, } from './hooks/useCreateRegistryV3Mutation';
|
|
31
|
+
export { createRegistryV3, useCreateRegistryV3Mutation } from './hooks/useCreateRegistryV3Mutation';
|
|
30
32
|
export type { CreateReplicationRuleErrorResponse, CreateReplicationRuleMutationQueryParams, CreateReplicationRuleOkResponse, CreateReplicationRuleProps, CreateReplicationRuleRequestBody, } from './hooks/useCreateReplicationRuleMutation';
|
|
31
33
|
export { createReplicationRule, useCreateReplicationRuleMutation, } from './hooks/useCreateReplicationRuleMutation';
|
|
32
34
|
export type { CreateWebhookErrorResponse, CreateWebhookMutationPathParams, CreateWebhookOkResponse, CreateWebhookProps, CreateWebhookRequestBody, } from './hooks/useCreateWebhookMutation';
|
|
@@ -173,6 +175,8 @@ export type { GetPackageMetadataV3ErrorResponse, GetPackageMetadataV3OkResponse,
|
|
|
173
175
|
export { getPackageMetadataV3, useGetPackageMetadataV3Query, } from './hooks/useGetPackageMetadataV3Query';
|
|
174
176
|
export type { GetPackagesStatsV3ErrorResponse, GetPackagesStatsV3MutationQueryParams, GetPackagesStatsV3OkResponse, GetPackagesStatsV3Props, GetPackagesStatsV3RequestBody, } from './hooks/useGetPackagesStatsV3Mutation';
|
|
175
177
|
export { getPackagesStatsV3, useGetPackagesStatsV3Mutation, } from './hooks/useGetPackagesStatsV3Mutation';
|
|
178
|
+
export type { GetRebuildRegistryIndexStatusV3ErrorResponse, GetRebuildRegistryIndexStatusV3OkResponse, GetRebuildRegistryIndexStatusV3Props, GetRebuildRegistryIndexStatusV3QueryPathParams, GetRebuildRegistryIndexStatusV3QueryQueryParams, } from './hooks/useGetRebuildRegistryIndexStatusV3Query';
|
|
179
|
+
export { getRebuildRegistryIndexStatusV3, useGetRebuildRegistryIndexStatusV3Query, } from './hooks/useGetRebuildRegistryIndexStatusV3Query';
|
|
176
180
|
export type { GetRegistriesStatsV3ErrorResponse, GetRegistriesStatsV3MutationQueryParams, GetRegistriesStatsV3OkResponse, GetRegistriesStatsV3Props, GetRegistriesStatsV3RequestBody, } from './hooks/useGetRegistriesStatsV3Mutation';
|
|
177
181
|
export { getRegistriesStatsV3, useGetRegistriesStatsV3Mutation, } from './hooks/useGetRegistriesStatsV3Mutation';
|
|
178
182
|
export type { GetRegistryMetadataV3ErrorResponse, GetRegistryMetadataV3OkResponse, GetRegistryMetadataV3Props, GetRegistryMetadataV3QueryPathParams, GetRegistryMetadataV3QueryQueryParams, } from './hooks/useGetRegistryMetadataV3Query';
|
|
@@ -183,6 +187,8 @@ export type { GetRegistryErrorResponse, GetRegistryOkResponse, GetRegistryProps,
|
|
|
183
187
|
export { getRegistry, useGetRegistryQuery } from './hooks/useGetRegistryQuery';
|
|
184
188
|
export type { GetRegistryRootsIndexStatusV3ErrorResponse, GetRegistryRootsIndexStatusV3OkResponse, GetRegistryRootsIndexStatusV3Props, GetRegistryRootsIndexStatusV3QueryQueryParams, } from './hooks/useGetRegistryRootsIndexStatusV3Query';
|
|
185
189
|
export { getRegistryRootsIndexStatusV3, useGetRegistryRootsIndexStatusV3Query, } from './hooks/useGetRegistryRootsIndexStatusV3Query';
|
|
190
|
+
export type { GetRegistryV3ErrorResponse, GetRegistryV3OkResponse, GetRegistryV3Props, GetRegistryV3QueryPathParams, GetRegistryV3QueryQueryParams, } from './hooks/useGetRegistryV3Query';
|
|
191
|
+
export { getRegistryV3, useGetRegistryV3Query } from './hooks/useGetRegistryV3Query';
|
|
186
192
|
export type { GetReplicationRuleErrorResponse, GetReplicationRuleOkResponse, GetReplicationRuleProps, GetReplicationRuleQueryPathParams, } from './hooks/useGetReplicationRuleQuery';
|
|
187
193
|
export { getReplicationRule, useGetReplicationRuleQuery } from './hooks/useGetReplicationRuleQuery';
|
|
188
194
|
export type { GetSigningKeyByNameV3ErrorResponse, GetSigningKeyByNameV3OkResponse, GetSigningKeyByNameV3Props, GetSigningKeyByNameV3QueryPathParams, GetSigningKeyByNameV3QueryQueryParams, } from './hooks/useGetSigningKeyByNameV3Query';
|
|
@@ -285,6 +291,8 @@ export type { ModifyRegistryErrorResponse, ModifyRegistryMutationPathParams, Mod
|
|
|
285
291
|
export { modifyRegistry, useModifyRegistryMutation } from './hooks/useModifyRegistryMutation';
|
|
286
292
|
export type { PatchLifecycleRuleV3ErrorResponse, PatchLifecycleRuleV3MutationPathParams, PatchLifecycleRuleV3MutationQueryParams, PatchLifecycleRuleV3OkResponse, PatchLifecycleRuleV3Props, PatchLifecycleRuleV3RequestBody, } from './hooks/usePatchLifecycleRuleV3Mutation';
|
|
287
293
|
export { patchLifecycleRuleV3, usePatchLifecycleRuleV3Mutation, } from './hooks/usePatchLifecycleRuleV3Mutation';
|
|
294
|
+
export type { PatchRegistryV3ErrorResponse, PatchRegistryV3MutationPathParams, PatchRegistryV3MutationQueryParams, PatchRegistryV3OkResponse, PatchRegistryV3Props, PatchRegistryV3RequestBody, } from './hooks/usePatchRegistryV3Mutation';
|
|
295
|
+
export { patchRegistryV3, usePatchRegistryV3Mutation } from './hooks/usePatchRegistryV3Mutation';
|
|
288
296
|
export type { QuarantineFilePathErrorResponse, QuarantineFilePathMutationPathParams, QuarantineFilePathOkResponse, QuarantineFilePathProps, QuarantineFilePathRequestBody, } from './hooks/useQuarantineFilePathMutation';
|
|
289
297
|
export { quarantineFilePath, useQuarantineFilePathMutation, } from './hooks/useQuarantineFilePathMutation';
|
|
290
298
|
export type { ReTriggerWebhookExecutionErrorResponse, ReTriggerWebhookExecutionOkResponse, ReTriggerWebhookExecutionProps, ReTriggerWebhookExecutionQueryPathParams, } from './hooks/useReTriggerWebhookExecutionQuery';
|
|
@@ -347,6 +355,8 @@ export type { UpdateLifecycleRuleV3ErrorResponse, UpdateLifecycleRuleV3MutationP
|
|
|
347
355
|
export { updateLifecycleRuleV3, useUpdateLifecycleRuleV3Mutation, } from './hooks/useUpdateLifecycleRuleV3Mutation';
|
|
348
356
|
export type { UpdateMetadataErrorResponse, UpdateMetadataMutationQueryParams, UpdateMetadataOkResponse, UpdateMetadataProps, UpdateMetadataRequestBody, } from './hooks/useUpdateMetadataMutation';
|
|
349
357
|
export { updateMetadata, useUpdateMetadataMutation } from './hooks/useUpdateMetadataMutation';
|
|
358
|
+
export type { UpdateRegistryV3ErrorResponse, UpdateRegistryV3MutationPathParams, UpdateRegistryV3MutationQueryParams, UpdateRegistryV3OkResponse, UpdateRegistryV3Props, UpdateRegistryV3RequestBody, } from './hooks/useUpdateRegistryV3Mutation';
|
|
359
|
+
export { updateRegistryV3, useUpdateRegistryV3Mutation } from './hooks/useUpdateRegistryV3Mutation';
|
|
350
360
|
export type { UpdateReplicationRuleErrorResponse, UpdateReplicationRuleMutationPathParams, UpdateReplicationRuleOkResponse, UpdateReplicationRuleProps, UpdateReplicationRuleRequestBody, } from './hooks/useUpdateReplicationRuleMutation';
|
|
351
361
|
export { updateReplicationRule, useUpdateReplicationRuleMutation, } from './hooks/useUpdateReplicationRuleMutation';
|
|
352
362
|
export type { UpdateSigningKeyV3ErrorResponse, UpdateSigningKeyV3MutationPathParams, UpdateSigningKeyV3MutationQueryParams, UpdateSigningKeyV3OkResponse, UpdateSigningKeyV3Props, UpdateSigningKeyV3RequestBody, } from './hooks/useUpdateSigningKeyV3Mutation';
|
|
@@ -390,7 +400,10 @@ export type { MetadataRequestV3RequestBody } from './requestBodies/MetadataReque
|
|
|
390
400
|
export type { PackagesStatsRequestV3RequestBody } from './requestBodies/PackagesStatsRequestV3RequestBody';
|
|
391
401
|
export type { QuarantineRequestRequestBody } from './requestBodies/QuarantineRequestRequestBody';
|
|
392
402
|
export type { RegistriesStatsRequestV3RequestBody } from './requestBodies/RegistriesStatsRequestV3RequestBody';
|
|
403
|
+
export type { RegistryCreateRequestV3RequestBody } from './requestBodies/RegistryCreateRequestV3RequestBody';
|
|
404
|
+
export type { RegistryPatchRequestV3RequestBody } from './requestBodies/RegistryPatchRequestV3RequestBody';
|
|
393
405
|
export type { RegistryRequestRequestBody } from './requestBodies/RegistryRequestRequestBody';
|
|
406
|
+
export type { RegistryUpdateRequestV3RequestBody } from './requestBodies/RegistryUpdateRequestV3RequestBody';
|
|
394
407
|
export type { ReplicationRuleRequestRequestBody } from './requestBodies/ReplicationRuleRequestRequestBody';
|
|
395
408
|
export type { SearchRegistryFilesRequestV3RequestBody } from './requestBodies/SearchRegistryFilesRequestV3RequestBody';
|
|
396
409
|
export type { VersionsStatsRequestV3RequestBody } from './requestBodies/VersionsStatsRequestV3RequestBody';
|
|
@@ -433,6 +446,7 @@ export type { FirewallExceptionCreatedV3Response } from './responses/FirewallExc
|
|
|
433
446
|
export type { FirewallExceptionUpdatedV3Response } from './responses/FirewallExceptionUpdatedV3Response';
|
|
434
447
|
export type { GetBulkDownloadRequestStatusResponseResponse } from './responses/GetBulkDownloadRequestStatusResponseResponse';
|
|
435
448
|
export type { GetBulkDownloadRequestStatusResponseV3Response } from './responses/GetBulkDownloadRequestStatusResponseV3Response';
|
|
449
|
+
export type { GetRebuildRegistryIndexStatusResponseV3Response } from './responses/GetRebuildRegistryIndexStatusResponseV3Response';
|
|
436
450
|
export type { HelmArtifactDetailResponseResponse } from './responses/HelmArtifactDetailResponseResponse';
|
|
437
451
|
export type { HelmArtifactManifestResponseResponse } from './responses/HelmArtifactManifestResponseResponse';
|
|
438
452
|
export type { InternalServerErrorResponse } from './responses/InternalServerErrorResponse';
|
|
@@ -487,6 +501,7 @@ export type { RedirectResponse } from './responses/RedirectResponse';
|
|
|
487
501
|
export type { RedirectV3Response } from './responses/RedirectV3Response';
|
|
488
502
|
export type { RegistriesStatsResponseV3Response } from './responses/RegistriesStatsResponseV3Response';
|
|
489
503
|
export type { RegistryResponseResponse } from './responses/RegistryResponseResponse';
|
|
504
|
+
export type { RegistryResponseV3Response } from './responses/RegistryResponseV3Response';
|
|
490
505
|
export type { ReplicationRuleResponseResponse } from './responses/ReplicationRuleResponseResponse';
|
|
491
506
|
export type { SearchTreeResponseV3Response } from './responses/SearchTreeResponseV3Response';
|
|
492
507
|
export type { SigningKeyDetailsResponseV3Response } from './responses/SigningKeyDetailsResponseV3Response';
|
|
@@ -508,6 +523,7 @@ export type { AddTagsV3 } from './schemas/AddTagsV3';
|
|
|
508
523
|
export type { AlpineArtifactDetailConfig } from './schemas/AlpineArtifactDetailConfig';
|
|
509
524
|
export type { Anonymous } from './schemas/Anonymous';
|
|
510
525
|
export type { ApiErrorsV3 } from './schemas/ApiErrorsV3';
|
|
526
|
+
export type { ApmArtifactDetailConfig } from './schemas/ApmArtifactDetailConfig';
|
|
511
527
|
export type { ArtifactDeploymentsDetail } from './schemas/ArtifactDeploymentsDetail';
|
|
512
528
|
export type { ArtifactDeploymentsDetails } from './schemas/ArtifactDeploymentsDetails';
|
|
513
529
|
export type { ArtifactDeploymentsList } from './schemas/ArtifactDeploymentsList';
|
|
@@ -553,6 +569,7 @@ export type { BulkScanEvaluationStatusDataV3 } from './schemas/BulkScanEvaluatio
|
|
|
553
569
|
export type { BulkScanResultItemV3 } from './schemas/BulkScanResultItemV3';
|
|
554
570
|
export type { CargoArtifactDetailConfig } from './schemas/CargoArtifactDetailConfig';
|
|
555
571
|
export type { CleanupPolicy } from './schemas/CleanupPolicy';
|
|
572
|
+
export type { CleanupPolicyV3 } from './schemas/CleanupPolicyV3';
|
|
556
573
|
export type { ClientSetupDetails } from './schemas/ClientSetupDetails';
|
|
557
574
|
export type { ClientSetupSection } from './schemas/ClientSetupSection';
|
|
558
575
|
export type { ClientSetupStep } from './schemas/ClientSetupStep';
|
|
@@ -577,6 +594,7 @@ export type { DailyStorage } from './schemas/DailyStorage';
|
|
|
577
594
|
export type { DartArtifactDetailConfig } from './schemas/DartArtifactDetailConfig';
|
|
578
595
|
export type { DebianArtifactDetailConfig } from './schemas/DebianArtifactDetailConfig';
|
|
579
596
|
export type { DebianConfig } from './schemas/DebianConfig';
|
|
597
|
+
export type { DebianConfigV3 } from './schemas/DebianConfigV3';
|
|
580
598
|
export type { DeletedAtMsV3 } from './schemas/DeletedAtMsV3';
|
|
581
599
|
export type { DeploymentDetails } from './schemas/DeploymentDetails';
|
|
582
600
|
export type { DeploymentMetadata } from './schemas/DeploymentMetadata';
|
|
@@ -742,13 +760,18 @@ export type { PythonArtifactDetailConfig } from './schemas/PythonArtifactDetailC
|
|
|
742
760
|
export type { QuarantinePath } from './schemas/QuarantinePath';
|
|
743
761
|
export type { QuarantineRequest } from './schemas/QuarantineRequest';
|
|
744
762
|
export type { RebuildPackageIndexRequestV3 } from './schemas/RebuildPackageIndexRequestV3';
|
|
763
|
+
export type { RebuildRegistryIndexStatusV3 } from './schemas/RebuildRegistryIndexStatusV3';
|
|
745
764
|
export type { RebuildVersionMetadataRequestV3 } from './schemas/RebuildVersionMetadataRequestV3';
|
|
746
765
|
export type { RegistriesStatsRequestInputV3 } from './schemas/RegistriesStatsRequestInputV3';
|
|
747
766
|
export type { RegistriesStatsResponseBodyV3 } from './schemas/RegistriesStatsResponseBodyV3';
|
|
748
767
|
export type { Registry } from './schemas/Registry';
|
|
749
768
|
export type { RegistryArtifactMetadata } from './schemas/RegistryArtifactMetadata';
|
|
750
769
|
export type { RegistryConfig } from './schemas/RegistryConfig';
|
|
770
|
+
export type { RegistryConfigV3 } from './schemas/RegistryConfigV3';
|
|
771
|
+
export type { RegistryCreateBodyV3 } from './schemas/RegistryCreateBodyV3';
|
|
772
|
+
export type { RegistryDetailV3 } from './schemas/RegistryDetailV3';
|
|
751
773
|
export type { RegistryMetadata } from './schemas/RegistryMetadata';
|
|
774
|
+
export type { RegistryMutateBodyV3 } from './schemas/RegistryMutateBodyV3';
|
|
752
775
|
export type { RegistryRequest } from './schemas/RegistryRequest';
|
|
753
776
|
export type { RegistryRootsIndexBuildDataV3 } from './schemas/RegistryRootsIndexBuildDataV3';
|
|
754
777
|
export type { RegistryRootsIndexStatusDataV3 } from './schemas/RegistryRootsIndexStatusDataV3';
|
|
@@ -770,6 +793,7 @@ export type { SbomDetails } from './schemas/SbomDetails';
|
|
|
770
793
|
export type { ScanMetaV3 } from './schemas/ScanMetaV3';
|
|
771
794
|
export type { ScanStatusV3 } from './schemas/ScanStatusV3';
|
|
772
795
|
export type { Scanner } from './schemas/Scanner';
|
|
796
|
+
export type { ScannerV3 } from './schemas/ScannerV3';
|
|
773
797
|
export type { SearchAncestorV3 } from './schemas/SearchAncestorV3';
|
|
774
798
|
export type { SearchFileItemV3 } from './schemas/SearchFileItemV3';
|
|
775
799
|
export type { SearchFilesGroupV3 } from './schemas/SearchFilesGroupV3';
|
|
@@ -786,6 +810,7 @@ export type { SecurityPolicyFailureDetailConfigV3 } from './schemas/SecurityPoli
|
|
|
786
810
|
export type { SecurityPolicyFailureVulnerabilityV3 } from './schemas/SecurityPolicyFailureVulnerabilityV3';
|
|
787
811
|
export type { SemverBackfillTriggerDataV3 } from './schemas/SemverBackfillTriggerDataV3';
|
|
788
812
|
export type { SigningConfig } from './schemas/SigningConfig';
|
|
813
|
+
export type { SigningConfigV3 } from './schemas/SigningConfigV3';
|
|
789
814
|
export type { SigningKeyAlgorithmV3 } from './schemas/SigningKeyAlgorithmV3';
|
|
790
815
|
export type { SigningKeyStatusV3 } from './schemas/SigningKeyStatusV3';
|
|
791
816
|
export type { SigningKeySummaryV3 } from './schemas/SigningKeySummaryV3';
|
|
@@ -817,8 +842,15 @@ export type { TypesLabelWithValues } from './schemas/TypesLabelWithValues';
|
|
|
817
842
|
export type { TypesSaveLabelInput } from './schemas/TypesSaveLabelInput';
|
|
818
843
|
export type { TypesSaveLabelValueInput } from './schemas/TypesSaveLabelValueInput';
|
|
819
844
|
export type { UpdateKeyRequestV3 } from './schemas/UpdateKeyRequestV3';
|
|
845
|
+
export type { UpstreamAuthAccessKeySecretKeyV3 } from './schemas/UpstreamAuthAccessKeySecretKeyV3';
|
|
846
|
+
export type { UpstreamAuthBearerTokenV3 } from './schemas/UpstreamAuthBearerTokenV3';
|
|
847
|
+
export type { UpstreamAuthTypeV3 } from './schemas/UpstreamAuthTypeV3';
|
|
848
|
+
export type { UpstreamAuthUserPasswordV3 } from './schemas/UpstreamAuthUserPasswordV3';
|
|
849
|
+
export type { UpstreamAuthV3 } from './schemas/UpstreamAuthV3';
|
|
820
850
|
export type { UpstreamConfig } from './schemas/UpstreamConfig';
|
|
851
|
+
export type { UpstreamConfigV3 } from './schemas/UpstreamConfigV3';
|
|
821
852
|
export type { UpstreamProxyConfigFirewallMode } from './schemas/UpstreamProxyConfigFirewallMode';
|
|
853
|
+
export type { UpstreamSourceV3 } from './schemas/UpstreamSourceV3';
|
|
822
854
|
export type { UserInfo } from './schemas/UserInfo';
|
|
823
855
|
export type { UserInfoV3 } from './schemas/UserInfoV3';
|
|
824
856
|
export type { UserPassword } from './schemas/UserPassword';
|
|
@@ -830,6 +862,7 @@ export type { VersionV3 } from './schemas/VersionV3';
|
|
|
830
862
|
export type { VersionsStatsRequestInputV3 } from './schemas/VersionsStatsRequestInputV3';
|
|
831
863
|
export type { VersionsStatsResponseBodyV3 } from './schemas/VersionsStatsResponseBodyV3';
|
|
832
864
|
export type { VirtualConfig } from './schemas/VirtualConfig';
|
|
865
|
+
export type { VirtualConfigV3 } from './schemas/VirtualConfigV3';
|
|
833
866
|
export type { VulnerabilityMetadataV3 } from './schemas/VulnerabilityMetadataV3';
|
|
834
867
|
export type { Webhook } from './schemas/Webhook';
|
|
835
868
|
export type { WebhookExecRequest } from './schemas/WebhookExecRequest';
|
|
@@ -12,6 +12,7 @@ export { createFirewallExceptionV3, useCreateFirewallExceptionV3Mutation, } from
|
|
|
12
12
|
export { createLifecycleExecutionV3, useCreateLifecycleExecutionV3Mutation, } from './hooks/useCreateLifecycleExecutionV3Mutation';
|
|
13
13
|
export { createLifecycleRuleV3, useCreateLifecycleRuleV3Mutation, } from './hooks/useCreateLifecycleRuleV3Mutation';
|
|
14
14
|
export { createRegistry, useCreateRegistryMutation } from './hooks/useCreateRegistryMutation';
|
|
15
|
+
export { createRegistryV3, useCreateRegistryV3Mutation } from './hooks/useCreateRegistryV3Mutation';
|
|
15
16
|
export { createReplicationRule, useCreateReplicationRuleMutation, } from './hooks/useCreateReplicationRuleMutation';
|
|
16
17
|
export { createWebhook, useCreateWebhookMutation } from './hooks/useCreateWebhookMutation';
|
|
17
18
|
export { defineSpaceLabel, useDefineSpaceLabelMutation } from './hooks/useDefineSpaceLabelMutation';
|
|
@@ -85,11 +86,13 @@ export { getMigrationLogsForImage, useGetMigrationLogsForImageQuery, } from './h
|
|
|
85
86
|
export { getOciArtifactTags, useGetOciArtifactTagsQuery } from './hooks/useGetOciArtifactTagsQuery';
|
|
86
87
|
export { getPackageMetadataV3, useGetPackageMetadataV3Query, } from './hooks/useGetPackageMetadataV3Query';
|
|
87
88
|
export { getPackagesStatsV3, useGetPackagesStatsV3Mutation, } from './hooks/useGetPackagesStatsV3Mutation';
|
|
89
|
+
export { getRebuildRegistryIndexStatusV3, useGetRebuildRegistryIndexStatusV3Query, } from './hooks/useGetRebuildRegistryIndexStatusV3Query';
|
|
88
90
|
export { getRegistriesStatsV3, useGetRegistriesStatsV3Mutation, } from './hooks/useGetRegistriesStatsV3Mutation';
|
|
89
91
|
export { getRegistryMetadataV3, useGetRegistryMetadataV3Query, } from './hooks/useGetRegistryMetadataV3Query';
|
|
90
92
|
export { getRegistryPublicKeyV3, useGetRegistryPublicKeyV3Query, } from './hooks/useGetRegistryPublicKeyV3Query';
|
|
91
93
|
export { getRegistry, useGetRegistryQuery } from './hooks/useGetRegistryQuery';
|
|
92
94
|
export { getRegistryRootsIndexStatusV3, useGetRegistryRootsIndexStatusV3Query, } from './hooks/useGetRegistryRootsIndexStatusV3Query';
|
|
95
|
+
export { getRegistryV3, useGetRegistryV3Query } from './hooks/useGetRegistryV3Query';
|
|
93
96
|
export { getReplicationRule, useGetReplicationRuleQuery } from './hooks/useGetReplicationRuleQuery';
|
|
94
97
|
export { getSigningKeyByNameV3, useGetSigningKeyByNameV3Query, } from './hooks/useGetSigningKeyByNameV3Query';
|
|
95
98
|
export { getSigningKeyPublicKeyV3, useGetSigningKeyPublicKeyV3Query, } from './hooks/useGetSigningKeyPublicKeyV3Query';
|
|
@@ -141,6 +144,7 @@ export { listWebhooks, useListWebhooksQuery } from './hooks/useListWebhooksQuery
|
|
|
141
144
|
export { migrateRegistryV3, useMigrateRegistryV3Mutation, } from './hooks/useMigrateRegistryV3Mutation';
|
|
142
145
|
export { modifyRegistry, useModifyRegistryMutation } from './hooks/useModifyRegistryMutation';
|
|
143
146
|
export { patchLifecycleRuleV3, usePatchLifecycleRuleV3Mutation, } from './hooks/usePatchLifecycleRuleV3Mutation';
|
|
147
|
+
export { patchRegistryV3, usePatchRegistryV3Mutation } from './hooks/usePatchRegistryV3Mutation';
|
|
144
148
|
export { quarantineFilePath, useQuarantineFilePathMutation, } from './hooks/useQuarantineFilePathMutation';
|
|
145
149
|
export { reTriggerWebhookExecution, useReTriggerWebhookExecutionQuery, } from './hooks/useReTriggerWebhookExecutionQuery';
|
|
146
150
|
export { rebuildPackageIndexV3, useRebuildPackageIndexV3Mutation, } from './hooks/useRebuildPackageIndexV3Mutation';
|
|
@@ -172,6 +176,7 @@ export { updateArtifactLabels, useUpdateArtifactLabelsMutation, } from './hooks/
|
|
|
172
176
|
export { updateFirewallExceptionV3, useUpdateFirewallExceptionV3Mutation, } from './hooks/useUpdateFirewallExceptionV3Mutation';
|
|
173
177
|
export { updateLifecycleRuleV3, useUpdateLifecycleRuleV3Mutation, } from './hooks/useUpdateLifecycleRuleV3Mutation';
|
|
174
178
|
export { updateMetadata, useUpdateMetadataMutation } from './hooks/useUpdateMetadataMutation';
|
|
179
|
+
export { updateRegistryV3, useUpdateRegistryV3Mutation } from './hooks/useUpdateRegistryV3Mutation';
|
|
175
180
|
export { updateReplicationRule, useUpdateReplicationRuleMutation, } from './hooks/useUpdateReplicationRuleMutation';
|
|
176
181
|
export { updateSigningKeyV3, useUpdateSigningKeyV3Mutation, } from './hooks/useUpdateSigningKeyV3Mutation';
|
|
177
182
|
export { updateSpaceLabel, useUpdateSpaceLabelMutation } from './hooks/useUpdateSpaceLabelMutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/har-service/src/services/responses/GetRebuildRegistryIndexStatusResponseV3Response.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { RebuildRegistryIndexStatusV3 } from '../schemas/RebuildRegistryIndexStatusV3';
|
|
2
|
+
export interface GetRebuildRegistryIndexStatusResponseV3Response {
|
|
3
|
+
data: {
|
|
4
|
+
/**
|
|
5
|
+
* Request id returned when the index rebuild was requested.
|
|
6
|
+
* @format uuid
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* Failure reason. Present only when status is `FAILED`.
|
|
11
|
+
*/
|
|
12
|
+
message?: string;
|
|
13
|
+
status: RebuildRegistryIndexStatusV3;
|
|
14
|
+
/**
|
|
15
|
+
* Unix timestamp (milliseconds) when the status last changed
|
|
16
|
+
* @format int64
|
|
17
|
+
*/
|
|
18
|
+
updatedAt: number;
|
|
19
|
+
};
|
|
20
|
+
}
|
package/dist/har-service/src/services/responses/GetRebuildRegistryIndexStatusResponseV3Response.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|