@harnessio/react-har-service-client 0.91.0 → 0.93.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/useDeleteSigningKeyV3Mutation.d.ts +0 -5
- package/dist/har-service/src/services/hooks/useGenerateSigningKeyV3Mutation.d.ts +2 -4
- package/dist/har-service/src/services/hooks/useGetRegistryPublicKeyV3Query.d.ts +5 -4
- package/dist/har-service/src/services/hooks/useGetRegistryPublicKeyV3Query.js +1 -1
- package/dist/har-service/src/services/hooks/useGetRegistryRootsIndexStatusV3Query.d.ts +26 -0
- package/dist/har-service/src/services/hooks/useGetRegistryRootsIndexStatusV3Query.js +20 -0
- package/dist/har-service/src/services/hooks/useGetSigningKeyByNameV3Query.d.ts +3 -5
- package/dist/har-service/src/services/hooks/useGetSigningKeyByNameV3Query.js +2 -2
- package/dist/har-service/src/services/hooks/useGetSigningKeyPublicKeyV3Query.d.ts +10 -8
- package/dist/har-service/src/services/hooks/useGetSigningKeyPublicKeyV3Query.js +9 -3
- package/dist/har-service/src/services/hooks/useGetSigningKeySummaryV3Query.d.ts +26 -0
- package/dist/har-service/src/services/hooks/useGetSigningKeySummaryV3Query.js +20 -0
- package/dist/har-service/src/services/hooks/useGetSigningKeyV3Query.d.ts +7 -8
- package/dist/har-service/src/services/hooks/useGetSigningKeyV3Query.js +1 -1
- package/dist/har-service/src/services/hooks/useGetTrigramIndexStatusV3Query.d.ts +26 -0
- package/dist/har-service/src/services/hooks/useGetTrigramIndexStatusV3Query.js +20 -0
- package/dist/har-service/src/services/hooks/useImportSigningKeyV3Mutation.d.ts +2 -4
- package/dist/har-service/src/services/hooks/useListNodeChildrenV3Query.d.ts +35 -0
- package/dist/har-service/src/services/hooks/useListNodeChildrenV3Query.js +16 -0
- package/dist/har-service/src/services/hooks/useListPackageTypeConfigsV3Query.d.ts +25 -0
- package/dist/har-service/src/services/hooks/useListPackageTypeConfigsV3Query.js +20 -0
- package/dist/har-service/src/services/hooks/useListRegistryNodesV3Query.d.ts +35 -0
- package/dist/har-service/src/services/hooks/useListRegistryNodesV3Query.js +16 -0
- package/dist/har-service/src/services/hooks/useListSigningKeysV3Query.d.ts +4 -4
- package/dist/har-service/src/services/hooks/useListTreeRootsV3Query.d.ts +40 -0
- package/dist/har-service/src/services/hooks/useListTreeRootsV3Query.js +21 -0
- package/dist/har-service/src/services/hooks/useRollbackTerraformBackendV3Mutation.d.ts +21 -0
- package/dist/har-service/src/services/hooks/useRollbackTerraformBackendV3Mutation.js +15 -0
- package/dist/har-service/src/services/hooks/useTriggerRegistryRootsIndexBuildV3Mutation.d.ts +34 -0
- package/dist/har-service/src/services/hooks/useTriggerRegistryRootsIndexBuildV3Mutation.js +28 -0
- package/dist/har-service/src/services/hooks/useTriggerTrigramIndexBuildV3Mutation.d.ts +34 -0
- package/dist/har-service/src/services/hooks/useTriggerTrigramIndexBuildV3Mutation.js +28 -0
- package/dist/har-service/src/services/hooks/useUpdateSigningKeyV3Mutation.d.ts +3 -11
- package/dist/har-service/src/services/hooks/useUpdateSigningKeyV3Mutation.js +2 -3
- package/dist/har-service/src/services/index.d.ts +43 -6
- package/dist/har-service/src/services/index.js +10 -1
- package/dist/har-service/src/services/responses/ListPackageTypeConfigsResponseV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/ListSigningKeysResponseV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/ListSigningKeysResponseV3Response.js +1 -0
- package/dist/har-service/src/services/responses/SigningKeyDetailsResponseV3Response.d.ts +4 -0
- package/dist/har-service/src/services/responses/SigningKeyDetailsResponseV3Response.js +1 -0
- package/dist/har-service/src/services/responses/SigningKeySummaryResponseV3Response.d.ts +4 -0
- package/dist/har-service/src/services/responses/SigningKeySummaryResponseV3Response.js +1 -0
- package/dist/har-service/src/services/responses/TreeResponseV3Response.d.ts +2 -0
- package/dist/har-service/src/services/responses/TreeResponseV3Response.js +1 -0
- package/dist/har-service/src/services/schemas/GenerateKeyRequestV3.d.ts +26 -24
- package/dist/har-service/src/services/schemas/ImportKeyRequestV3.d.ts +17 -17
- package/dist/har-service/src/services/schemas/ImportKeyRequestV3.js +0 -3
- package/dist/har-service/src/services/schemas/ListPackageTypeConfigsResponseBodyV3.d.ts +14 -0
- package/dist/har-service/src/services/schemas/ListPackageTypeConfigsResponseBodyV3.js +1 -0
- package/dist/har-service/src/services/schemas/{ListSigningKeysResponseV3.d.ts → ListSigningKeysResponseBodyV3.d.ts} +1 -3
- package/dist/har-service/src/services/schemas/ListSigningKeysResponseBodyV3.js +1 -0
- package/dist/har-service/src/services/schemas/PackageTypeCapabilitiesV3.d.ts +16 -0
- package/dist/har-service/src/services/schemas/PackageTypeConfigV3.d.ts +9 -0
- package/dist/har-service/src/services/schemas/PackageTypeConfigV3.js +1 -0
- package/dist/har-service/src/services/schemas/RegistryRootsIndexBuildDataV3.d.ts +13 -0
- package/dist/har-service/src/services/schemas/RegistryRootsIndexBuildDataV3.js +4 -0
- package/dist/har-service/src/services/schemas/RegistryRootsIndexStatusDataV3.d.ts +22 -0
- package/dist/har-service/src/services/schemas/RegistryRootsIndexStatusDataV3.js +4 -0
- package/dist/har-service/src/services/schemas/SigningKeyAlgorithmV3.d.ts +6 -0
- package/dist/har-service/src/services/schemas/SigningKeyAlgorithmV3.js +4 -0
- package/dist/har-service/src/services/schemas/SigningKeyStatusV3.d.ts +6 -0
- package/dist/har-service/src/services/schemas/SigningKeyStatusV3.js +4 -0
- package/dist/har-service/src/services/schemas/SigningKeySummaryV3.d.ts +27 -0
- package/dist/har-service/src/services/schemas/SigningKeySummaryV3.js +4 -0
- package/dist/har-service/src/services/schemas/SigningKeyTypeV3.d.ts +6 -0
- package/dist/har-service/src/services/schemas/SigningKeyTypeV3.js +4 -0
- package/dist/har-service/src/services/schemas/SigningKeyV3.d.ts +20 -26
- package/dist/har-service/src/services/schemas/StorageDetails.d.ts +4 -0
- package/dist/har-service/src/services/schemas/TreeNodeItemV3.d.ts +54 -0
- package/dist/har-service/src/services/schemas/TreeNodeItemV3.js +4 -0
- package/dist/har-service/src/services/schemas/TreePaginationV3.d.ts +35 -0
- package/dist/har-service/src/services/schemas/TreePaginationV3.js +4 -0
- package/dist/har-service/src/services/schemas/TreeResponseBodyV3.d.ts +12 -0
- package/dist/har-service/src/services/schemas/TreeResponseBodyV3.js +1 -0
- package/dist/har-service/src/services/schemas/TrigramIndexBuildDataV3.d.ts +13 -0
- package/dist/har-service/src/services/schemas/TrigramIndexBuildDataV3.js +4 -0
- package/dist/har-service/src/services/schemas/TrigramIndexStateV3.d.ts +11 -0
- package/dist/har-service/src/services/schemas/TrigramIndexStateV3.js +4 -0
- package/dist/har-service/src/services/schemas/TrigramIndexStatusDataV3.d.ts +18 -0
- package/dist/har-service/src/services/schemas/TrigramIndexStatusDataV3.js +1 -0
- package/dist/har-service/src/services/schemas/UpdateKeyRequestV3.d.ts +4 -3
- package/dist/har-service/src/services/schemas/VersionStatsV3.d.ts +0 -6
- package/dist/har-service/src/services/schemas/VersionV3.d.ts +0 -18
- package/package.json +1 -1
- package/dist/har-service/src/services/hooks/useDownloadSigningKeyPublicKeyV3Query.d.ts +0 -29
- package/dist/har-service/src/services/hooks/useDownloadSigningKeyPublicKeyV3Query.js +0 -18
- package/dist/har-service/src/services/schemas/KeyMetaV3.d.ts +0 -35
- /package/dist/har-service/src/services/{schemas/ListSigningKeysResponseV3.js → responses/ListPackageTypeConfigsResponseV3Response.js} +0 -0
- /package/dist/har-service/src/services/schemas/{KeyMetaV3.js → PackageTypeCapabilitiesV3.js} +0 -0
|
@@ -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 rollbackTerraformBackendV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/versions/${props.id}/terraform-backend/rollback`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Promotes a historical Terraform Backend state version as the current state by copying it forward. The promoted state is written with a new serial. The operation is rejected while the workspace is locked.
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export function useRollbackTerraformBackendV3Mutation(options) {
|
|
14
|
+
return useMutation((mutateProps) => rollbackTerraformBackendV3(mutateProps), options);
|
|
15
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { RegistryRootsIndexBuildDataV3 } from '../schemas/RegistryRootsIndexBuildDataV3';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface TriggerRegistryRootsIndexBuildV3MutationQueryParams {
|
|
7
|
+
account_identifier: string;
|
|
8
|
+
}
|
|
9
|
+
export type TriggerRegistryRootsIndexBuildV3OkResponse = ResponseWithPagination<{
|
|
10
|
+
data: RegistryRootsIndexBuildDataV3;
|
|
11
|
+
}>;
|
|
12
|
+
export type TriggerRegistryRootsIndexBuildV3ErrorResponse = ErrorV3;
|
|
13
|
+
export interface TriggerRegistryRootsIndexBuildV3Props extends Omit<FetcherOptions<TriggerRegistryRootsIndexBuildV3MutationQueryParams, unknown>, 'url'> {
|
|
14
|
+
queryParams: TriggerRegistryRootsIndexBuildV3MutationQueryParams;
|
|
15
|
+
}
|
|
16
|
+
export declare function triggerRegistryRootsIndexBuildV3(props: TriggerRegistryRootsIndexBuildV3Props): Promise<TriggerRegistryRootsIndexBuildV3OkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Trigger the build of idx_nodes_registry_roots, the partial btree backing root-node
|
|
19
|
+
* listing in the tree view. The build runs asynchronously as a job and returns immediately
|
|
20
|
+
* once accepted; CREATE INDEX CONCURRENTLY does not block reads or writes, unlike a plain
|
|
21
|
+
* CREATE INDEX, which would hold a SHARE lock on `nodes` for the whole build.
|
|
22
|
+
*
|
|
23
|
+
* Idempotent: an index that already exists, is valid, and whose definition still matches the
|
|
24
|
+
* DDL this job would issue is skipped. An index left INVALID by an interrupted build is
|
|
25
|
+
* dropped and rebuilt. An index whose definition has *diverged* fails the job instead of
|
|
26
|
+
* being rebuilt silently - a rebuild is minutes to hours of I/O, so the operator is told to
|
|
27
|
+
* drop it explicitly. Safe to call repeatedly.
|
|
28
|
+
*
|
|
29
|
+
* Note this is an environment-wide operation. The account identifier on the request is for
|
|
30
|
+
* routing/audit only - it neither scopes nor authorizes the work, since the index covers
|
|
31
|
+
* every tenant in the database. Any authenticated caller may trigger it.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export declare function useTriggerRegistryRootsIndexBuildV3Mutation(options?: Omit<UseMutationOptions<TriggerRegistryRootsIndexBuildV3OkResponse, TriggerRegistryRootsIndexBuildV3ErrorResponse, TriggerRegistryRootsIndexBuildV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TriggerRegistryRootsIndexBuildV3OkResponse, ErrorV3, TriggerRegistryRootsIndexBuildV3Props, unknown>;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 triggerRegistryRootsIndexBuildV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/internal/tree/registry-roots-index`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Trigger the build of idx_nodes_registry_roots, the partial btree backing root-node
|
|
11
|
+
* listing in the tree view. The build runs asynchronously as a job and returns immediately
|
|
12
|
+
* once accepted; CREATE INDEX CONCURRENTLY does not block reads or writes, unlike a plain
|
|
13
|
+
* CREATE INDEX, which would hold a SHARE lock on `nodes` for the whole build.
|
|
14
|
+
*
|
|
15
|
+
* Idempotent: an index that already exists, is valid, and whose definition still matches the
|
|
16
|
+
* DDL this job would issue is skipped. An index left INVALID by an interrupted build is
|
|
17
|
+
* dropped and rebuilt. An index whose definition has *diverged* fails the job instead of
|
|
18
|
+
* being rebuilt silently - a rebuild is minutes to hours of I/O, so the operator is told to
|
|
19
|
+
* drop it explicitly. Safe to call repeatedly.
|
|
20
|
+
*
|
|
21
|
+
* Note this is an environment-wide operation. The account identifier on the request is for
|
|
22
|
+
* routing/audit only - it neither scopes nor authorizes the work, since the index covers
|
|
23
|
+
* every tenant in the database. Any authenticated caller may trigger it.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export function useTriggerRegistryRootsIndexBuildV3Mutation(options) {
|
|
27
|
+
return useMutation((mutateProps) => triggerRegistryRootsIndexBuildV3(mutateProps), options);
|
|
28
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { TrigramIndexBuildDataV3 } from '../schemas/TrigramIndexBuildDataV3';
|
|
3
|
+
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
5
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
6
|
+
export interface TriggerTrigramIndexBuildV3MutationQueryParams {
|
|
7
|
+
account_identifier: string;
|
|
8
|
+
}
|
|
9
|
+
export type TriggerTrigramIndexBuildV3OkResponse = ResponseWithPagination<{
|
|
10
|
+
data: TrigramIndexBuildDataV3;
|
|
11
|
+
}>;
|
|
12
|
+
export type TriggerTrigramIndexBuildV3ErrorResponse = ErrorV3;
|
|
13
|
+
export interface TriggerTrigramIndexBuildV3Props extends Omit<FetcherOptions<TriggerTrigramIndexBuildV3MutationQueryParams, unknown>, 'url'> {
|
|
14
|
+
queryParams: TriggerTrigramIndexBuildV3MutationQueryParams;
|
|
15
|
+
}
|
|
16
|
+
export declare function triggerTrigramIndexBuildV3(props: TriggerTrigramIndexBuildV3Props): Promise<TriggerTrigramIndexBuildV3OkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Trigger the build of the pg_trgm GIN indexes backing global search. The build runs
|
|
19
|
+
* asynchronously as a job and returns immediately once accepted; CREATE INDEX CONCURRENTLY
|
|
20
|
+
* does not block reads or writes, but it is minutes of extra I/O on a large environment,
|
|
21
|
+
* which is why it is triggered deliberately rather than at boot.
|
|
22
|
+
*
|
|
23
|
+
* Idempotent: an index that already exists, is valid, and whose definition still matches the
|
|
24
|
+
* DDL this job would issue is skipped. An index left INVALID by an interrupted build is
|
|
25
|
+
* dropped and rebuilt. An index whose definition has *diverged* fails the job instead of
|
|
26
|
+
* being rebuilt silently - a rebuild is minutes to hours of I/O, so the operator is told to
|
|
27
|
+
* drop it explicitly. Safe to call repeatedly.
|
|
28
|
+
*
|
|
29
|
+
* Note this is an environment-wide operation. The account identifier on the request is for
|
|
30
|
+
* routing/audit only - it neither scopes nor authorizes the work, since the indexes cover
|
|
31
|
+
* every tenant in the database. Any authenticated caller may trigger it.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export declare function useTriggerTrigramIndexBuildV3Mutation(options?: Omit<UseMutationOptions<TriggerTrigramIndexBuildV3OkResponse, TriggerTrigramIndexBuildV3ErrorResponse, TriggerTrigramIndexBuildV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<TriggerTrigramIndexBuildV3OkResponse, ErrorV3, TriggerTrigramIndexBuildV3Props, unknown>;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 triggerTrigramIndexBuildV3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/internal/search/trigram-indexes`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Trigger the build of the pg_trgm GIN indexes backing global search. The build runs
|
|
11
|
+
* asynchronously as a job and returns immediately once accepted; CREATE INDEX CONCURRENTLY
|
|
12
|
+
* does not block reads or writes, but it is minutes of extra I/O on a large environment,
|
|
13
|
+
* which is why it is triggered deliberately rather than at boot.
|
|
14
|
+
*
|
|
15
|
+
* Idempotent: an index that already exists, is valid, and whose definition still matches the
|
|
16
|
+
* DDL this job would issue is skipped. An index left INVALID by an interrupted build is
|
|
17
|
+
* dropped and rebuilt. An index whose definition has *diverged* fails the job instead of
|
|
18
|
+
* being rebuilt silently - a rebuild is minutes to hours of I/O, so the operator is told to
|
|
19
|
+
* drop it explicitly. Safe to call repeatedly.
|
|
20
|
+
*
|
|
21
|
+
* Note this is an environment-wide operation. The account identifier on the request is for
|
|
22
|
+
* routing/audit only - it neither scopes nor authorizes the work, since the indexes cover
|
|
23
|
+
* every tenant in the database. Any authenticated caller may trigger it.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export function useTriggerTrigramIndexBuildV3Mutation(options) {
|
|
27
|
+
return useMutation((mutateProps) => triggerTrigramIndexBuildV3(mutateProps), options);
|
|
28
|
+
}
|
|
@@ -1,24 +1,17 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { SigningKeyDetailsResponseV3Response } from '../responses/SigningKeyDetailsResponseV3Response';
|
|
3
3
|
import type { ErrorV3 } from '../schemas/ErrorV3';
|
|
4
4
|
import type { UpdateKeyRequestV3 } from '../schemas/UpdateKeyRequestV3';
|
|
5
5
|
import type { ResponseWithPagination } from '../helpers';
|
|
6
6
|
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
7
7
|
export interface UpdateSigningKeyV3MutationPathParams {
|
|
8
|
-
/**
|
|
9
|
-
* @format uuid
|
|
10
|
-
*/
|
|
11
8
|
id: string;
|
|
12
9
|
}
|
|
13
10
|
export interface UpdateSigningKeyV3MutationQueryParams {
|
|
14
11
|
account_identifier: string;
|
|
15
|
-
org_identifier?: string;
|
|
16
|
-
project_identifier?: string;
|
|
17
12
|
}
|
|
18
13
|
export type UpdateSigningKeyV3RequestBody = UpdateKeyRequestV3;
|
|
19
|
-
export type UpdateSigningKeyV3OkResponse = ResponseWithPagination<
|
|
20
|
-
data: SigningKeyV3;
|
|
21
|
-
}>;
|
|
14
|
+
export type UpdateSigningKeyV3OkResponse = ResponseWithPagination<SigningKeyDetailsResponseV3Response>;
|
|
22
15
|
export type UpdateSigningKeyV3ErrorResponse = ErrorV3;
|
|
23
16
|
export interface UpdateSigningKeyV3Props extends UpdateSigningKeyV3MutationPathParams, Omit<FetcherOptions<UpdateSigningKeyV3MutationQueryParams, UpdateSigningKeyV3RequestBody>, 'url'> {
|
|
24
17
|
queryParams: UpdateSigningKeyV3MutationQueryParams;
|
|
@@ -26,8 +19,7 @@ export interface UpdateSigningKeyV3Props extends UpdateSigningKeyV3MutationPathP
|
|
|
26
19
|
}
|
|
27
20
|
export declare function updateSigningKeyV3(props: UpdateSigningKeyV3Props): Promise<UpdateSigningKeyV3OkResponse>;
|
|
28
21
|
/**
|
|
29
|
-
* Updates a signing key's
|
|
30
|
-
* Status transitions have validation rules (e.g., cannot set REVOKED key to ACTIVE).
|
|
22
|
+
* Updates a signing key's status.
|
|
31
23
|
*
|
|
32
24
|
*/
|
|
33
25
|
export declare function useUpdateSigningKeyV3Mutation(options?: Omit<UseMutationOptions<UpdateSigningKeyV3OkResponse, UpdateSigningKeyV3ErrorResponse, UpdateSigningKeyV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateSigningKeyV3OkResponse, ErrorV3, UpdateSigningKeyV3Props, unknown>;
|
|
@@ -4,11 +4,10 @@
|
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function updateSigningKeyV3(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/v3/signing-keys/${props.id}`, method: '
|
|
7
|
+
return fetcher(Object.assign({ url: `/v3/signing-keys/${props.id}`, method: 'PATCH' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Updates a signing key's
|
|
11
|
-
* Status transitions have validation rules (e.g., cannot set REVOKED key to ACTIVE).
|
|
10
|
+
* Updates a signing key's status.
|
|
12
11
|
*
|
|
13
12
|
*/
|
|
14
13
|
export function useUpdateSigningKeyV3Mutation(options) {
|
|
@@ -67,8 +67,6 @@ export type { DeleteVersionV3ErrorResponse, DeleteVersionV3MutationPathParams, D
|
|
|
67
67
|
export { deleteVersionV3, useDeleteVersionV3Mutation } from './hooks/useDeleteVersionV3Mutation';
|
|
68
68
|
export type { DeleteWebhookErrorResponse, DeleteWebhookMutationPathParams, DeleteWebhookOkResponse, DeleteWebhookProps, } from './hooks/useDeleteWebhookMutation';
|
|
69
69
|
export { deleteWebhook, useDeleteWebhookMutation } from './hooks/useDeleteWebhookMutation';
|
|
70
|
-
export type { DownloadSigningKeyPublicKeyV3ErrorResponse, DownloadSigningKeyPublicKeyV3OkResponse, DownloadSigningKeyPublicKeyV3Props, DownloadSigningKeyPublicKeyV3QueryPathParams, DownloadSigningKeyPublicKeyV3QueryQueryParams, } from './hooks/useDownloadSigningKeyPublicKeyV3Query';
|
|
71
|
-
export { downloadSigningKeyPublicKeyV3, useDownloadSigningKeyPublicKeyV3Query, } from './hooks/useDownloadSigningKeyPublicKeyV3Query';
|
|
72
70
|
export type { EvaluateArtifactScanV3ErrorResponse, EvaluateArtifactScanV3MutationQueryParams, EvaluateArtifactScanV3OkResponse, EvaluateArtifactScanV3Props, EvaluateArtifactScanV3RequestBody, } from './hooks/useEvaluateArtifactScanV3Mutation';
|
|
73
71
|
export { evaluateArtifactScanV3, useEvaluateArtifactScanV3Mutation, } from './hooks/useEvaluateArtifactScanV3Mutation';
|
|
74
72
|
export type { FindSpaceLabelErrorResponse, FindSpaceLabelOkResponse, FindSpaceLabelProps, FindSpaceLabelQueryPathParams, FindSpaceLabelQueryQueryParams, } from './hooks/useFindSpaceLabelQuery';
|
|
@@ -175,22 +173,28 @@ export type { GetRegistriesStatsV3ErrorResponse, GetRegistriesStatsV3MutationQue
|
|
|
175
173
|
export { getRegistriesStatsV3, useGetRegistriesStatsV3Mutation, } from './hooks/useGetRegistriesStatsV3Mutation';
|
|
176
174
|
export type { GetRegistryMetadataV3ErrorResponse, GetRegistryMetadataV3OkResponse, GetRegistryMetadataV3Props, GetRegistryMetadataV3QueryPathParams, GetRegistryMetadataV3QueryQueryParams, } from './hooks/useGetRegistryMetadataV3Query';
|
|
177
175
|
export { getRegistryMetadataV3, useGetRegistryMetadataV3Query, } from './hooks/useGetRegistryMetadataV3Query';
|
|
178
|
-
export type { GetRegistryPublicKeyV3ErrorResponse, GetRegistryPublicKeyV3OkResponse, GetRegistryPublicKeyV3Props, GetRegistryPublicKeyV3QueryPathParams, } from './hooks/useGetRegistryPublicKeyV3Query';
|
|
176
|
+
export type { GetRegistryPublicKeyV3ErrorResponse, GetRegistryPublicKeyV3OkResponse, GetRegistryPublicKeyV3Props, GetRegistryPublicKeyV3QueryPathParams, GetRegistryPublicKeyV3QueryQueryParams, } from './hooks/useGetRegistryPublicKeyV3Query';
|
|
179
177
|
export { getRegistryPublicKeyV3, useGetRegistryPublicKeyV3Query, } from './hooks/useGetRegistryPublicKeyV3Query';
|
|
180
178
|
export type { GetRegistryErrorResponse, GetRegistryOkResponse, GetRegistryProps, GetRegistryQueryPathParams, } from './hooks/useGetRegistryQuery';
|
|
181
179
|
export { getRegistry, useGetRegistryQuery } from './hooks/useGetRegistryQuery';
|
|
180
|
+
export type { GetRegistryRootsIndexStatusV3ErrorResponse, GetRegistryRootsIndexStatusV3OkResponse, GetRegistryRootsIndexStatusV3Props, GetRegistryRootsIndexStatusV3QueryQueryParams, } from './hooks/useGetRegistryRootsIndexStatusV3Query';
|
|
181
|
+
export { getRegistryRootsIndexStatusV3, useGetRegistryRootsIndexStatusV3Query, } from './hooks/useGetRegistryRootsIndexStatusV3Query';
|
|
182
182
|
export type { GetReplicationRuleErrorResponse, GetReplicationRuleOkResponse, GetReplicationRuleProps, GetReplicationRuleQueryPathParams, } from './hooks/useGetReplicationRuleQuery';
|
|
183
183
|
export { getReplicationRule, useGetReplicationRuleQuery } from './hooks/useGetReplicationRuleQuery';
|
|
184
184
|
export type { GetSigningKeyByNameV3ErrorResponse, GetSigningKeyByNameV3OkResponse, GetSigningKeyByNameV3Props, GetSigningKeyByNameV3QueryPathParams, GetSigningKeyByNameV3QueryQueryParams, } from './hooks/useGetSigningKeyByNameV3Query';
|
|
185
185
|
export { getSigningKeyByNameV3, useGetSigningKeyByNameV3Query, } from './hooks/useGetSigningKeyByNameV3Query';
|
|
186
186
|
export type { GetSigningKeyPublicKeyV3ErrorResponse, GetSigningKeyPublicKeyV3OkResponse, GetSigningKeyPublicKeyV3Props, GetSigningKeyPublicKeyV3QueryPathParams, GetSigningKeyPublicKeyV3QueryQueryParams, } from './hooks/useGetSigningKeyPublicKeyV3Query';
|
|
187
187
|
export { getSigningKeyPublicKeyV3, useGetSigningKeyPublicKeyV3Query, } from './hooks/useGetSigningKeyPublicKeyV3Query';
|
|
188
|
-
export type {
|
|
188
|
+
export type { GetSigningKeySummaryV3ErrorResponse, GetSigningKeySummaryV3OkResponse, GetSigningKeySummaryV3Props, GetSigningKeySummaryV3QueryQueryParams, } from './hooks/useGetSigningKeySummaryV3Query';
|
|
189
|
+
export { getSigningKeySummaryV3, useGetSigningKeySummaryV3Query, } from './hooks/useGetSigningKeySummaryV3Query';
|
|
190
|
+
export type { GetSigningKeyV3ErrorResponse, GetSigningKeyV3OkResponse, GetSigningKeyV3Props, GetSigningKeyV3QueryPathParams, GetSigningKeyV3QueryQueryParams, } from './hooks/useGetSigningKeyV3Query';
|
|
189
191
|
export { getSigningKeyV3, useGetSigningKeyV3Query } from './hooks/useGetSigningKeyV3Query';
|
|
190
192
|
export type { GetStorageDetailsErrorResponse, GetStorageDetailsOkResponse, GetStorageDetailsProps, GetStorageDetailsQueryPathParams, } from './hooks/useGetStorageDetailsQuery';
|
|
191
193
|
export { getStorageDetails, useGetStorageDetailsQuery } from './hooks/useGetStorageDetailsQuery';
|
|
192
194
|
export type { GetSystemInfoV3ErrorResponse, GetSystemInfoV3OkResponse, GetSystemInfoV3Props, GetSystemInfoV3QueryQueryParams, } from './hooks/useGetSystemInfoV3Query';
|
|
193
195
|
export { getSystemInfoV3, useGetSystemInfoV3Query } from './hooks/useGetSystemInfoV3Query';
|
|
196
|
+
export type { GetTrigramIndexStatusV3ErrorResponse, GetTrigramIndexStatusV3OkResponse, GetTrigramIndexStatusV3Props, GetTrigramIndexStatusV3QueryQueryParams, } from './hooks/useGetTrigramIndexStatusV3Query';
|
|
197
|
+
export { getTrigramIndexStatusV3, useGetTrigramIndexStatusV3Query, } from './hooks/useGetTrigramIndexStatusV3Query';
|
|
194
198
|
export type { GetVersionMetadataV3ErrorResponse, GetVersionMetadataV3OkResponse, GetVersionMetadataV3Props, GetVersionMetadataV3QueryPathParams, GetVersionMetadataV3QueryQueryParams, } from './hooks/useGetVersionMetadataV3Query';
|
|
195
199
|
export { getVersionMetadataV3, useGetVersionMetadataV3Query, } from './hooks/useGetVersionMetadataV3Query';
|
|
196
200
|
export type { GetVersionsStatsV3ErrorResponse, GetVersionsStatsV3MutationQueryParams, GetVersionsStatsV3OkResponse, GetVersionsStatsV3Props, GetVersionsStatsV3RequestBody, } from './hooks/useGetVersionsStatsV3Mutation';
|
|
@@ -229,6 +233,10 @@ export type { ListLifecycleRulesV3ErrorResponse, ListLifecycleRulesV3OkResponse,
|
|
|
229
233
|
export { listLifecycleRulesV3, useListLifecycleRulesV3Query, } from './hooks/useListLifecycleRulesV3Query';
|
|
230
234
|
export type { ListMigrationImagesErrorResponse, ListMigrationImagesOkResponse, ListMigrationImagesProps, ListMigrationImagesQueryPathParams, ListMigrationImagesQueryQueryParams, } from './hooks/useListMigrationImagesQuery';
|
|
231
235
|
export { listMigrationImages, useListMigrationImagesQuery, } from './hooks/useListMigrationImagesQuery';
|
|
236
|
+
export type { ListNodeChildrenV3ErrorResponse, ListNodeChildrenV3OkResponse, ListNodeChildrenV3Props, ListNodeChildrenV3QueryPathParams, ListNodeChildrenV3QueryQueryParams, } from './hooks/useListNodeChildrenV3Query';
|
|
237
|
+
export { listNodeChildrenV3, useListNodeChildrenV3Query } from './hooks/useListNodeChildrenV3Query';
|
|
238
|
+
export type { ListPackageTypeConfigsV3ErrorResponse, ListPackageTypeConfigsV3OkResponse, ListPackageTypeConfigsV3Props, ListPackageTypeConfigsV3QueryQueryParams, } from './hooks/useListPackageTypeConfigsV3Query';
|
|
239
|
+
export { listPackageTypeConfigsV3, useListPackageTypeConfigsV3Query, } from './hooks/useListPackageTypeConfigsV3Query';
|
|
232
240
|
export type { ListPackagesErrorResponse, ListPackagesOkResponse, ListPackagesProps, ListPackagesQueryQueryParams, } from './hooks/useListPackagesQuery';
|
|
233
241
|
export { listPackages, useListPackagesQuery } from './hooks/useListPackagesQuery';
|
|
234
242
|
export type { ListPackagesV3ErrorResponse, ListPackagesV3OkResponse, ListPackagesV3Props, ListPackagesV3QueryQueryParams, } from './hooks/useListPackagesV3Query';
|
|
@@ -243,6 +251,8 @@ export type { ListRegistriesV3ErrorResponse, ListRegistriesV3OkResponse, ListReg
|
|
|
243
251
|
export { listRegistriesV3, useListRegistriesV3Query } from './hooks/useListRegistriesV3Query';
|
|
244
252
|
export type { ListRegistryFilesV3ErrorResponse, ListRegistryFilesV3OkResponse, ListRegistryFilesV3Props, ListRegistryFilesV3QueryPathParams, ListRegistryFilesV3QueryQueryParams, } from './hooks/useListRegistryFilesV3Query';
|
|
245
253
|
export { listRegistryFilesV3, useListRegistryFilesV3Query, } from './hooks/useListRegistryFilesV3Query';
|
|
254
|
+
export type { ListRegistryNodesV3ErrorResponse, ListRegistryNodesV3OkResponse, ListRegistryNodesV3Props, ListRegistryNodesV3QueryPathParams, ListRegistryNodesV3QueryQueryParams, } from './hooks/useListRegistryNodesV3Query';
|
|
255
|
+
export { listRegistryNodesV3, useListRegistryNodesV3Query, } from './hooks/useListRegistryNodesV3Query';
|
|
246
256
|
export type { ListReplicationRulesErrorResponse, ListReplicationRulesOkResponse, ListReplicationRulesProps, ListReplicationRulesQueryQueryParams, } from './hooks/useListReplicationRulesQuery';
|
|
247
257
|
export { listReplicationRules, useListReplicationRulesQuery, } from './hooks/useListReplicationRulesQuery';
|
|
248
258
|
export type { ListSigningKeysV3ErrorResponse, ListSigningKeysV3OkResponse, ListSigningKeysV3Props, ListSigningKeysV3QueryQueryParams, } from './hooks/useListSigningKeysV3Query';
|
|
@@ -251,6 +261,8 @@ export type { ListSpaceLabelValuesErrorResponse, ListSpaceLabelValuesOkResponse,
|
|
|
251
261
|
export { listSpaceLabelValues, useListSpaceLabelValuesQuery, } from './hooks/useListSpaceLabelValuesQuery';
|
|
252
262
|
export type { ListSpaceLabelsErrorResponse, ListSpaceLabelsOkResponse, ListSpaceLabelsProps, ListSpaceLabelsQueryPathParams, ListSpaceLabelsQueryQueryParams, } from './hooks/useListSpaceLabelsQuery';
|
|
253
263
|
export { listSpaceLabels, useListSpaceLabelsQuery } from './hooks/useListSpaceLabelsQuery';
|
|
264
|
+
export type { ListTreeRootsV3ErrorResponse, ListTreeRootsV3OkResponse, ListTreeRootsV3Props, ListTreeRootsV3QueryQueryParams, } from './hooks/useListTreeRootsV3Query';
|
|
265
|
+
export { listTreeRootsV3, useListTreeRootsV3Query } from './hooks/useListTreeRootsV3Query';
|
|
254
266
|
export type { ListVersionDeploymentsV3ErrorResponse, ListVersionDeploymentsV3OkResponse, ListVersionDeploymentsV3Props, ListVersionDeploymentsV3QueryPathParams, ListVersionDeploymentsV3QueryQueryParams, } from './hooks/useListVersionDeploymentsV3Query';
|
|
255
267
|
export { listVersionDeploymentsV3, useListVersionDeploymentsV3Query, } from './hooks/useListVersionDeploymentsV3Query';
|
|
256
268
|
export type { ListVersionsErrorResponse, ListVersionsOkResponse, ListVersionsProps, ListVersionsQueryQueryParams, } from './hooks/useListVersionsQuery';
|
|
@@ -285,6 +297,8 @@ export type { RestoreRegistryV3ErrorResponse, RestoreRegistryV3MutationPathParam
|
|
|
285
297
|
export { restoreRegistryV3, useRestoreRegistryV3Mutation, } from './hooks/useRestoreRegistryV3Mutation';
|
|
286
298
|
export type { RestoreVersionV3ErrorResponse, RestoreVersionV3MutationPathParams, RestoreVersionV3MutationQueryParams, RestoreVersionV3OkResponse, RestoreVersionV3Props, } from './hooks/useRestoreVersionV3Mutation';
|
|
287
299
|
export { restoreVersionV3, useRestoreVersionV3Mutation } from './hooks/useRestoreVersionV3Mutation';
|
|
300
|
+
export type { RollbackTerraformBackendV3ErrorResponse, RollbackTerraformBackendV3MutationPathParams, RollbackTerraformBackendV3MutationQueryParams, RollbackTerraformBackendV3OkResponse, RollbackTerraformBackendV3Props, } from './hooks/useRollbackTerraformBackendV3Mutation';
|
|
301
|
+
export { rollbackTerraformBackendV3, useRollbackTerraformBackendV3Mutation, } from './hooks/useRollbackTerraformBackendV3Mutation';
|
|
288
302
|
export type { SaveFileMetadataV3ErrorResponse, SaveFileMetadataV3MutationPathParams, SaveFileMetadataV3MutationQueryParams, SaveFileMetadataV3OkResponse, SaveFileMetadataV3Props, SaveFileMetadataV3RequestBody, } from './hooks/useSaveFileMetadataV3Mutation';
|
|
289
303
|
export { saveFileMetadataV3, useSaveFileMetadataV3Mutation, } from './hooks/useSaveFileMetadataV3Mutation';
|
|
290
304
|
export type { SaveMetadataErrorResponse, SaveMetadataMutationQueryParams, SaveMetadataOkResponse, SaveMetadataProps, SaveMetadataRequestBody, } from './hooks/useSaveMetadataMutation';
|
|
@@ -307,6 +321,10 @@ export type { StopMigrationErrorResponse, StopMigrationMutationPathParams, StopM
|
|
|
307
321
|
export { stopMigration, useStopMigrationMutation } from './hooks/useStopMigrationMutation';
|
|
308
322
|
export type { TriggerBackfillV3ErrorResponse, TriggerBackfillV3MutationQueryParams, TriggerBackfillV3OkResponse, TriggerBackfillV3Props, TriggerBackfillV3RequestBody, } from './hooks/useTriggerBackfillV3Mutation';
|
|
309
323
|
export { triggerBackfillV3, useTriggerBackfillV3Mutation, } from './hooks/useTriggerBackfillV3Mutation';
|
|
324
|
+
export type { TriggerRegistryRootsIndexBuildV3ErrorResponse, TriggerRegistryRootsIndexBuildV3MutationQueryParams, TriggerRegistryRootsIndexBuildV3OkResponse, TriggerRegistryRootsIndexBuildV3Props, } from './hooks/useTriggerRegistryRootsIndexBuildV3Mutation';
|
|
325
|
+
export { triggerRegistryRootsIndexBuildV3, useTriggerRegistryRootsIndexBuildV3Mutation, } from './hooks/useTriggerRegistryRootsIndexBuildV3Mutation';
|
|
326
|
+
export type { TriggerTrigramIndexBuildV3ErrorResponse, TriggerTrigramIndexBuildV3MutationQueryParams, TriggerTrigramIndexBuildV3OkResponse, TriggerTrigramIndexBuildV3Props, } from './hooks/useTriggerTrigramIndexBuildV3Mutation';
|
|
327
|
+
export { triggerTrigramIndexBuildV3, useTriggerTrigramIndexBuildV3Mutation, } from './hooks/useTriggerTrigramIndexBuildV3Mutation';
|
|
310
328
|
export type { UpdateArtifactLabelsErrorResponse, UpdateArtifactLabelsMutationPathParams, UpdateArtifactLabelsMutationQueryParams, UpdateArtifactLabelsOkResponse, UpdateArtifactLabelsProps, UpdateArtifactLabelsRequestBody, } from './hooks/useUpdateArtifactLabelsMutation';
|
|
311
329
|
export { updateArtifactLabels, useUpdateArtifactLabelsMutation, } from './hooks/useUpdateArtifactLabelsMutation';
|
|
312
330
|
export type { UpdateFirewallExceptionV3ErrorResponse, UpdateFirewallExceptionV3MutationPathParams, UpdateFirewallExceptionV3MutationQueryParams, UpdateFirewallExceptionV3OkResponse, UpdateFirewallExceptionV3Props, UpdateFirewallExceptionV3RequestBody, } from './hooks/useUpdateFirewallExceptionV3Mutation';
|
|
@@ -422,12 +440,14 @@ export type { ListMigrationImageResponseResponse } from './responses/ListMigrati
|
|
|
422
440
|
export type { ListOciArtifactTagsResponseResponse } from './responses/ListOciArtifactTagsResponseResponse';
|
|
423
441
|
export type { ListPackageResponseResponse } from './responses/ListPackageResponseResponse';
|
|
424
442
|
export type { ListPackageResponseV3Response } from './responses/ListPackageResponseV3Response';
|
|
443
|
+
export type { ListPackageTypeConfigsResponseV3Response } from './responses/ListPackageTypeConfigsResponseV3Response';
|
|
425
444
|
export type { ListPipelineBuildInfoDetailsResponseV3Response } from './responses/ListPipelineBuildInfoDetailsResponseV3Response';
|
|
426
445
|
export type { ListPrincipalsResponseV3Response } from './responses/ListPrincipalsResponseV3Response';
|
|
427
446
|
export type { ListRegistryArtifactResponseResponse } from './responses/ListRegistryArtifactResponseResponse';
|
|
428
447
|
export type { ListRegistryResponseResponse } from './responses/ListRegistryResponseResponse';
|
|
429
448
|
export type { ListRegistryResponseV3Response } from './responses/ListRegistryResponseV3Response';
|
|
430
449
|
export type { ListReplicationRuleResponseResponse } from './responses/ListReplicationRuleResponseResponse';
|
|
450
|
+
export type { ListSigningKeysResponseV3Response } from './responses/ListSigningKeysResponseV3Response';
|
|
431
451
|
export type { ListVersionDeploymentsResponseV3Response } from './responses/ListVersionDeploymentsResponseV3Response';
|
|
432
452
|
export type { ListVersionResponseResponse } from './responses/ListVersionResponseResponse';
|
|
433
453
|
export type { ListVersionResponseV3Response } from './responses/ListVersionResponseV3Response';
|
|
@@ -451,9 +471,12 @@ export type { RedirectV3Response } from './responses/RedirectV3Response';
|
|
|
451
471
|
export type { RegistriesStatsResponseV3Response } from './responses/RegistriesStatsResponseV3Response';
|
|
452
472
|
export type { RegistryResponseResponse } from './responses/RegistryResponseResponse';
|
|
453
473
|
export type { ReplicationRuleResponseResponse } from './responses/ReplicationRuleResponseResponse';
|
|
474
|
+
export type { SigningKeyDetailsResponseV3Response } from './responses/SigningKeyDetailsResponseV3Response';
|
|
475
|
+
export type { SigningKeySummaryResponseV3Response } from './responses/SigningKeySummaryResponseV3Response';
|
|
454
476
|
export type { StorageDetailsResponseResponse } from './responses/StorageDetailsResponseResponse';
|
|
455
477
|
export type { SuccessResponse } from './responses/SuccessResponse';
|
|
456
478
|
export type { SystemInfoResponseV3Response } from './responses/SystemInfoResponseV3Response';
|
|
479
|
+
export type { TreeResponseV3Response } from './responses/TreeResponseV3Response';
|
|
457
480
|
export type { UnauthenticatedResponse } from './responses/UnauthenticatedResponse';
|
|
458
481
|
export type { UnauthorizedResponse } from './responses/UnauthorizedResponse';
|
|
459
482
|
export type { VersionsStatsResponseV3Response } from './responses/VersionsStatsResponseV3Response';
|
|
@@ -583,7 +606,6 @@ export type { HelmHttpArtifactDetailConfig } from './schemas/HelmHttpArtifactDet
|
|
|
583
606
|
export type { HuggingFaceArtifactDetailConfig } from './schemas/HuggingFaceArtifactDetailConfig';
|
|
584
607
|
export type { ImportKeyRequestV3 } from './schemas/ImportKeyRequestV3';
|
|
585
608
|
export type { JfrogReplicationRegistry } from './schemas/JfrogReplicationRegistry';
|
|
586
|
-
export type { KeyMetaV3 } from './schemas/KeyMetaV3';
|
|
587
609
|
export type { LicensePolicyFailureDetailConfigV3 } from './schemas/LicensePolicyFailureDetailConfigV3';
|
|
588
610
|
export type { LifecycleDryRunRequestBodyV3 } from './schemas/LifecycleDryRunRequestBodyV3';
|
|
589
611
|
export type { LifecycleExecutionItemResponseV3 } from './schemas/LifecycleExecutionItemResponseV3';
|
|
@@ -629,6 +651,7 @@ export type { ListMetadataValuesResponseBodyV3 } from './schemas/ListMetadataVal
|
|
|
629
651
|
export type { ListMigrationImage } from './schemas/ListMigrationImage';
|
|
630
652
|
export type { ListOciArtifactTags } from './schemas/ListOciArtifactTags';
|
|
631
653
|
export type { ListPackage } from './schemas/ListPackage';
|
|
654
|
+
export type { ListPackageTypeConfigsResponseBodyV3 } from './schemas/ListPackageTypeConfigsResponseBodyV3';
|
|
632
655
|
export type { ListPackagesResponseBodyV3 } from './schemas/ListPackagesResponseBodyV3';
|
|
633
656
|
export type { ListPipelineBuildInfoDetailsResponseBodyV3 } from './schemas/ListPipelineBuildInfoDetailsResponseBodyV3';
|
|
634
657
|
export type { ListPrincipalsResponseBodyV3 } from './schemas/ListPrincipalsResponseBodyV3';
|
|
@@ -636,7 +659,7 @@ export type { ListRegistriesResponseBodyV3 } from './schemas/ListRegistriesRespo
|
|
|
636
659
|
export type { ListRegistry } from './schemas/ListRegistry';
|
|
637
660
|
export type { ListRegistryArtifact } from './schemas/ListRegistryArtifact';
|
|
638
661
|
export type { ListReplicationRule } from './schemas/ListReplicationRule';
|
|
639
|
-
export type {
|
|
662
|
+
export type { ListSigningKeysResponseBodyV3 } from './schemas/ListSigningKeysResponseBodyV3';
|
|
640
663
|
export type { ListVersion } from './schemas/ListVersion';
|
|
641
664
|
export type { ListVersionDeploymentsResponseBodyV3 } from './schemas/ListVersionDeploymentsResponseBodyV3';
|
|
642
665
|
export type { ListVersionsResponseBodyV3 } from './schemas/ListVersionsResponseBodyV3';
|
|
@@ -668,6 +691,8 @@ export type { PackageKindV3 } from './schemas/PackageKindV3';
|
|
|
668
691
|
export type { PackageMetadata } from './schemas/PackageMetadata';
|
|
669
692
|
export type { PackageStatsV3 } from './schemas/PackageStatsV3';
|
|
670
693
|
export type { PackageType } from './schemas/PackageType';
|
|
694
|
+
export type { PackageTypeCapabilitiesV3 } from './schemas/PackageTypeCapabilitiesV3';
|
|
695
|
+
export type { PackageTypeConfigV3 } from './schemas/PackageTypeConfigV3';
|
|
671
696
|
export type { PackageTypeV3 } from './schemas/PackageTypeV3';
|
|
672
697
|
export type { PackageV3 } from './schemas/PackageV3';
|
|
673
698
|
export type { PackagesStatsRequestInputV3 } from './schemas/PackagesStatsRequestInputV3';
|
|
@@ -698,6 +723,8 @@ export type { RegistryArtifactMetadata } from './schemas/RegistryArtifactMetadat
|
|
|
698
723
|
export type { RegistryConfig } from './schemas/RegistryConfig';
|
|
699
724
|
export type { RegistryMetadata } from './schemas/RegistryMetadata';
|
|
700
725
|
export type { RegistryRequest } from './schemas/RegistryRequest';
|
|
726
|
+
export type { RegistryRootsIndexBuildDataV3 } from './schemas/RegistryRootsIndexBuildDataV3';
|
|
727
|
+
export type { RegistryRootsIndexStatusDataV3 } from './schemas/RegistryRootsIndexStatusDataV3';
|
|
701
728
|
export type { RegistryStatsV3 } from './schemas/RegistryStatsV3';
|
|
702
729
|
export type { RegistryType } from './schemas/RegistryType';
|
|
703
730
|
export type { RegistryTypeV3 } from './schemas/RegistryTypeV3';
|
|
@@ -718,6 +745,10 @@ export type { SectionType } from './schemas/SectionType';
|
|
|
718
745
|
export type { SecurityPolicyFailureDetailConfigV3 } from './schemas/SecurityPolicyFailureDetailConfigV3';
|
|
719
746
|
export type { SecurityPolicyFailureVulnerabilityV3 } from './schemas/SecurityPolicyFailureVulnerabilityV3';
|
|
720
747
|
export type { SigningConfig } from './schemas/SigningConfig';
|
|
748
|
+
export type { SigningKeyAlgorithmV3 } from './schemas/SigningKeyAlgorithmV3';
|
|
749
|
+
export type { SigningKeyStatusV3 } from './schemas/SigningKeyStatusV3';
|
|
750
|
+
export type { SigningKeySummaryV3 } from './schemas/SigningKeySummaryV3';
|
|
751
|
+
export type { SigningKeyTypeV3 } from './schemas/SigningKeyTypeV3';
|
|
721
752
|
export type { SigningKeyV3 } from './schemas/SigningKeyV3';
|
|
722
753
|
export type { SlsaDetails } from './schemas/SlsaDetails';
|
|
723
754
|
export type { StartedAtMsV3 } from './schemas/StartedAtMsV3';
|
|
@@ -729,7 +760,13 @@ export type { SystemInfoV3 } from './schemas/SystemInfoV3';
|
|
|
729
760
|
export type { TabSetupStep } from './schemas/TabSetupStep';
|
|
730
761
|
export type { TabSetupStepConfig } from './schemas/TabSetupStepConfig';
|
|
731
762
|
export type { TerraformArtifactDetailConfig } from './schemas/TerraformArtifactDetailConfig';
|
|
763
|
+
export type { TreeNodeItemV3 } from './schemas/TreeNodeItemV3';
|
|
764
|
+
export type { TreePaginationV3 } from './schemas/TreePaginationV3';
|
|
765
|
+
export type { TreeResponseBodyV3 } from './schemas/TreeResponseBodyV3';
|
|
732
766
|
export type { Trigger } from './schemas/Trigger';
|
|
767
|
+
export type { TrigramIndexBuildDataV3 } from './schemas/TrigramIndexBuildDataV3';
|
|
768
|
+
export type { TrigramIndexStateV3 } from './schemas/TrigramIndexStateV3';
|
|
769
|
+
export type { TrigramIndexStatusDataV3 } from './schemas/TrigramIndexStatusDataV3';
|
|
733
770
|
export type { TypesLabel } from './schemas/TypesLabel';
|
|
734
771
|
export type { TypesLabelValue } from './schemas/TypesLabelValue';
|
|
735
772
|
export type { TypesLabelWithValues } from './schemas/TypesLabelWithValues';
|
|
@@ -32,7 +32,6 @@ export { deleteSpaceLabel, useDeleteSpaceLabelMutation } from './hooks/useDelete
|
|
|
32
32
|
export { deleteSpaceLabelValue, useDeleteSpaceLabelValueMutation, } from './hooks/useDeleteSpaceLabelValueMutation';
|
|
33
33
|
export { deleteVersionV3, useDeleteVersionV3Mutation } from './hooks/useDeleteVersionV3Mutation';
|
|
34
34
|
export { deleteWebhook, useDeleteWebhookMutation } from './hooks/useDeleteWebhookMutation';
|
|
35
|
-
export { downloadSigningKeyPublicKeyV3, useDownloadSigningKeyPublicKeyV3Query, } from './hooks/useDownloadSigningKeyPublicKeyV3Query';
|
|
36
35
|
export { evaluateArtifactScanV3, useEvaluateArtifactScanV3Mutation, } from './hooks/useEvaluateArtifactScanV3Mutation';
|
|
37
36
|
export { findSpaceLabel, useFindSpaceLabelQuery } from './hooks/useFindSpaceLabelQuery';
|
|
38
37
|
export { forceUnlockTerraformBackendV3, useForceUnlockTerraformBackendV3Mutation, } from './hooks/useForceUnlockTerraformBackendV3Mutation';
|
|
@@ -88,12 +87,15 @@ export { getRegistriesStatsV3, useGetRegistriesStatsV3Mutation, } from './hooks/
|
|
|
88
87
|
export { getRegistryMetadataV3, useGetRegistryMetadataV3Query, } from './hooks/useGetRegistryMetadataV3Query';
|
|
89
88
|
export { getRegistryPublicKeyV3, useGetRegistryPublicKeyV3Query, } from './hooks/useGetRegistryPublicKeyV3Query';
|
|
90
89
|
export { getRegistry, useGetRegistryQuery } from './hooks/useGetRegistryQuery';
|
|
90
|
+
export { getRegistryRootsIndexStatusV3, useGetRegistryRootsIndexStatusV3Query, } from './hooks/useGetRegistryRootsIndexStatusV3Query';
|
|
91
91
|
export { getReplicationRule, useGetReplicationRuleQuery } from './hooks/useGetReplicationRuleQuery';
|
|
92
92
|
export { getSigningKeyByNameV3, useGetSigningKeyByNameV3Query, } from './hooks/useGetSigningKeyByNameV3Query';
|
|
93
93
|
export { getSigningKeyPublicKeyV3, useGetSigningKeyPublicKeyV3Query, } from './hooks/useGetSigningKeyPublicKeyV3Query';
|
|
94
|
+
export { getSigningKeySummaryV3, useGetSigningKeySummaryV3Query, } from './hooks/useGetSigningKeySummaryV3Query';
|
|
94
95
|
export { getSigningKeyV3, useGetSigningKeyV3Query } from './hooks/useGetSigningKeyV3Query';
|
|
95
96
|
export { getStorageDetails, useGetStorageDetailsQuery } from './hooks/useGetStorageDetailsQuery';
|
|
96
97
|
export { getSystemInfoV3, useGetSystemInfoV3Query } from './hooks/useGetSystemInfoV3Query';
|
|
98
|
+
export { getTrigramIndexStatusV3, useGetTrigramIndexStatusV3Query, } from './hooks/useGetTrigramIndexStatusV3Query';
|
|
97
99
|
export { getVersionMetadataV3, useGetVersionMetadataV3Query, } from './hooks/useGetVersionMetadataV3Query';
|
|
98
100
|
export { getVersionsStatsV3, useGetVersionsStatsV3Mutation, } from './hooks/useGetVersionsStatsV3Mutation';
|
|
99
101
|
export { getWebhookExecution, useGetWebhookExecutionQuery, } from './hooks/useGetWebhookExecutionQuery';
|
|
@@ -113,6 +115,8 @@ export { listLifecycleExecutionItemsV3, useListLifecycleExecutionItemsV3Query, }
|
|
|
113
115
|
export { listLifecycleExecutionsV3, useListLifecycleExecutionsV3Query, } from './hooks/useListLifecycleExecutionsV3Query';
|
|
114
116
|
export { listLifecycleRulesV3, useListLifecycleRulesV3Query, } from './hooks/useListLifecycleRulesV3Query';
|
|
115
117
|
export { listMigrationImages, useListMigrationImagesQuery, } from './hooks/useListMigrationImagesQuery';
|
|
118
|
+
export { listNodeChildrenV3, useListNodeChildrenV3Query } from './hooks/useListNodeChildrenV3Query';
|
|
119
|
+
export { listPackageTypeConfigsV3, useListPackageTypeConfigsV3Query, } from './hooks/useListPackageTypeConfigsV3Query';
|
|
116
120
|
export { listPackages, useListPackagesQuery } from './hooks/useListPackagesQuery';
|
|
117
121
|
export { listPackagesV3, useListPackagesV3Query } from './hooks/useListPackagesV3Query';
|
|
118
122
|
export { listPipelineBuildInfoDetailsV3, useListPipelineBuildInfoDetailsV3Query, } from './hooks/useListPipelineBuildInfoDetailsV3Query';
|
|
@@ -120,10 +124,12 @@ export { listPrincipalsV3, useListPrincipalsV3Query } from './hooks/useListPrinc
|
|
|
120
124
|
export { listRegistries, useListRegistriesQuery } from './hooks/useListRegistriesQuery';
|
|
121
125
|
export { listRegistriesV3, useListRegistriesV3Query } from './hooks/useListRegistriesV3Query';
|
|
122
126
|
export { listRegistryFilesV3, useListRegistryFilesV3Query, } from './hooks/useListRegistryFilesV3Query';
|
|
127
|
+
export { listRegistryNodesV3, useListRegistryNodesV3Query, } from './hooks/useListRegistryNodesV3Query';
|
|
123
128
|
export { listReplicationRules, useListReplicationRulesQuery, } from './hooks/useListReplicationRulesQuery';
|
|
124
129
|
export { listSigningKeysV3, useListSigningKeysV3Query } from './hooks/useListSigningKeysV3Query';
|
|
125
130
|
export { listSpaceLabelValues, useListSpaceLabelValuesQuery, } from './hooks/useListSpaceLabelValuesQuery';
|
|
126
131
|
export { listSpaceLabels, useListSpaceLabelsQuery } from './hooks/useListSpaceLabelsQuery';
|
|
132
|
+
export { listTreeRootsV3, useListTreeRootsV3Query } from './hooks/useListTreeRootsV3Query';
|
|
127
133
|
export { listVersionDeploymentsV3, useListVersionDeploymentsV3Query, } from './hooks/useListVersionDeploymentsV3Query';
|
|
128
134
|
export { listVersions, useListVersionsQuery } from './hooks/useListVersionsQuery';
|
|
129
135
|
export { listVersionsV3, useListVersionsV3Query } from './hooks/useListVersionsV3Query';
|
|
@@ -141,6 +147,7 @@ export { redirectHarnessArtifact, useRedirectHarnessArtifactQuery, } from './hoo
|
|
|
141
147
|
export { restorePackageV3, useRestorePackageV3Mutation } from './hooks/useRestorePackageV3Mutation';
|
|
142
148
|
export { restoreRegistryV3, useRestoreRegistryV3Mutation, } from './hooks/useRestoreRegistryV3Mutation';
|
|
143
149
|
export { restoreVersionV3, useRestoreVersionV3Mutation } from './hooks/useRestoreVersionV3Mutation';
|
|
150
|
+
export { rollbackTerraformBackendV3, useRollbackTerraformBackendV3Mutation, } from './hooks/useRollbackTerraformBackendV3Mutation';
|
|
144
151
|
export { saveFileMetadataV3, useSaveFileMetadataV3Mutation, } from './hooks/useSaveFileMetadataV3Mutation';
|
|
145
152
|
export { saveMetadata, useSaveMetadataMutation } from './hooks/useSaveMetadataMutation';
|
|
146
153
|
export { savePackageMetadataV3, useSavePackageMetadataV3Mutation, } from './hooks/useSavePackageMetadataV3Mutation';
|
|
@@ -152,6 +159,8 @@ export { searchRegistryFilesV3, useSearchRegistryFilesV3Mutation, } from './hook
|
|
|
152
159
|
export { startMigration, useStartMigrationMutation } from './hooks/useStartMigrationMutation';
|
|
153
160
|
export { stopMigration, useStopMigrationMutation } from './hooks/useStopMigrationMutation';
|
|
154
161
|
export { triggerBackfillV3, useTriggerBackfillV3Mutation, } from './hooks/useTriggerBackfillV3Mutation';
|
|
162
|
+
export { triggerRegistryRootsIndexBuildV3, useTriggerRegistryRootsIndexBuildV3Mutation, } from './hooks/useTriggerRegistryRootsIndexBuildV3Mutation';
|
|
163
|
+
export { triggerTrigramIndexBuildV3, useTriggerTrigramIndexBuildV3Mutation, } from './hooks/useTriggerTrigramIndexBuildV3Mutation';
|
|
155
164
|
export { updateArtifactLabels, useUpdateArtifactLabelsMutation, } from './hooks/useUpdateArtifactLabelsMutation';
|
|
156
165
|
export { updateFirewallExceptionV3, useUpdateFirewallExceptionV3Mutation, } from './hooks/useUpdateFirewallExceptionV3Mutation';
|
|
157
166
|
export { updateLifecycleRuleV3, useUpdateLifecycleRuleV3Mutation, } from './hooks/useUpdateLifecycleRuleV3Mutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Request to generate a new signing key.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* - GPG
|
|
6
|
-
* -
|
|
7
|
-
*
|
|
4
|
+
* `type` selects the cryptographic system to generate:
|
|
5
|
+
* - GPG: OpenPGP key for package signing (Debian, RPM, Alpine)
|
|
6
|
+
* - RSA: Raw RSA key for direct signing operations
|
|
7
|
+
*
|
|
8
|
+
* `algorithm` selects the underlying algorithm. Only RSA and ED25519 can
|
|
9
|
+
* be generated; other `SigningKeyAlgorithmV3` values (e.g. ECDSA) are
|
|
10
|
+
* rejected with 400 here but may appear on imported keys.
|
|
11
|
+
*
|
|
12
|
+
* Key size is not a request parameter. It is fixed per algorithm so that
|
|
13
|
+
* every generated key is one package clients are known to accept:
|
|
14
|
+
* - GPG + ED25519: 256 bits (fixed by the curve)
|
|
15
|
+
* - GPG + RSA: 4096 bits
|
|
16
|
+
* - RSA + RSA: 4096 bits
|
|
17
|
+
*
|
|
18
|
+
* The resulting size is reported as `size` on the created key.
|
|
19
|
+
*
|
|
20
|
+
* Supported combinations: GPG + ED25519, GPG + RSA, RSA + RSA. Pairing
|
|
21
|
+
* `type: RSA` with `algorithm: ED25519` is rejected with 400.
|
|
8
22
|
*
|
|
9
23
|
*/
|
|
10
24
|
export interface GenerateKeyRequestV3 {
|
|
@@ -23,26 +37,7 @@ export interface GenerateKeyRequestV3 {
|
|
|
23
37
|
/**
|
|
24
38
|
* Human-readable name for the key
|
|
25
39
|
*/
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Key size in bits (only for RSA algorithm):
|
|
29
|
-
* - 2048: Minimum size, faster but less secure
|
|
30
|
-
* - 3072: Recommended default, good balance
|
|
31
|
-
* - 4096: Maximum security, slower operations
|
|
32
|
-
*
|
|
33
|
-
* Not applicable for Ed25519 (fixed size).
|
|
34
|
-
*
|
|
35
|
-
* @format int32
|
|
36
|
-
* @default 3072
|
|
37
|
-
*/
|
|
38
|
-
keySize?: number | null;
|
|
39
|
-
/**
|
|
40
|
-
* Type of key to generate:
|
|
41
|
-
* - GPG: OpenPGP key for package signing (Debian, RPM, Alpine)
|
|
42
|
-
* - RSA: Raw RSA key for direct signing operations
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
keyType: 'GPG' | 'RSA';
|
|
40
|
+
name: string;
|
|
46
41
|
/**
|
|
47
42
|
* Organization identifier (optional, for org-level keys)
|
|
48
43
|
*/
|
|
@@ -51,4 +46,11 @@ export interface GenerateKeyRequestV3 {
|
|
|
51
46
|
* Project identifier (optional, for project-level keys)
|
|
52
47
|
*/
|
|
53
48
|
projectIdentifier?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* Type of key to generate:
|
|
51
|
+
* - GPG: OpenPGP key for package signing (Debian, RPM, Alpine)
|
|
52
|
+
* - RSA: Raw RSA key for direct signing operations
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
type: 'GPG' | 'RSA';
|
|
54
56
|
}
|