@harnessio/react-har-service-client 0.90.0 → 0.92.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.
Files changed (68) hide show
  1. package/dist/har-service/src/services/hooks/useDeleteSigningKeyV3Mutation.d.ts +2 -7
  2. package/dist/har-service/src/services/hooks/useDeleteSigningKeyV3Mutation.js +2 -2
  3. package/dist/har-service/src/services/hooks/useForceUnlockTerraformBackendV3Mutation.d.ts +25 -0
  4. package/dist/har-service/src/services/hooks/useForceUnlockTerraformBackendV3Mutation.js +15 -0
  5. package/dist/har-service/src/services/hooks/useGenerateSigningKeyV3Mutation.d.ts +2 -4
  6. package/dist/har-service/src/services/hooks/useGetRegistryPublicKeyV3Query.d.ts +5 -4
  7. package/dist/har-service/src/services/hooks/useGetRegistryPublicKeyV3Query.js +1 -1
  8. package/dist/har-service/src/services/hooks/useGetSigningKeyByNameV3Query.d.ts +23 -0
  9. package/dist/har-service/src/services/hooks/useGetSigningKeyByNameV3Query.js +14 -0
  10. package/dist/har-service/src/services/hooks/useGetSigningKeyPublicKeyV3Query.d.ts +10 -8
  11. package/dist/har-service/src/services/hooks/useGetSigningKeyPublicKeyV3Query.js +9 -3
  12. package/dist/har-service/src/services/hooks/useGetSigningKeySummaryV3Query.d.ts +26 -0
  13. package/dist/har-service/src/services/hooks/useGetSigningKeySummaryV3Query.js +20 -0
  14. package/dist/har-service/src/services/hooks/useGetSigningKeyV3Query.d.ts +2 -9
  15. package/dist/har-service/src/services/hooks/useImportSigningKeyV3Mutation.d.ts +2 -4
  16. package/dist/har-service/src/services/hooks/useListPackageTypeConfigsV3Query.d.ts +25 -0
  17. package/dist/har-service/src/services/hooks/useListPackageTypeConfigsV3Query.js +20 -0
  18. package/dist/har-service/src/services/hooks/useListSigningKeysV3Query.d.ts +5 -4
  19. package/dist/har-service/src/services/hooks/useUpdateSigningKeyV3Mutation.d.ts +3 -11
  20. package/dist/har-service/src/services/hooks/useUpdateSigningKeyV3Mutation.js +2 -3
  21. package/dist/har-service/src/services/index.d.ts +24 -2
  22. package/dist/har-service/src/services/index.js +4 -0
  23. package/dist/har-service/src/services/responses/ListPackageTypeConfigsResponseV3Response.d.ts +2 -0
  24. package/dist/har-service/src/services/responses/ListSigningKeysResponseV3Response.d.ts +2 -0
  25. package/dist/har-service/src/services/responses/ListSigningKeysResponseV3Response.js +1 -0
  26. package/dist/har-service/src/services/responses/SigningKeyDetailsResponseV3Response.d.ts +4 -0
  27. package/dist/har-service/src/services/responses/SigningKeyDetailsResponseV3Response.js +1 -0
  28. package/dist/har-service/src/services/responses/SigningKeySummaryResponseV3Response.d.ts +4 -0
  29. package/dist/har-service/src/services/responses/SigningKeySummaryResponseV3Response.js +1 -0
  30. package/dist/har-service/src/services/schemas/ArtifactVersionMetadata.d.ts +1 -0
  31. package/dist/har-service/src/services/schemas/AuthType.d.ts +1 -1
  32. package/dist/har-service/src/services/schemas/BearerToken.d.ts +8 -0
  33. package/dist/har-service/src/services/schemas/BearerToken.js +4 -0
  34. package/dist/har-service/src/services/schemas/ForceUnlockTerraformBackendRequestV3.d.ts +9 -0
  35. package/dist/har-service/src/services/schemas/ForceUnlockTerraformBackendRequestV3.js +4 -0
  36. package/dist/har-service/src/services/schemas/ForceUnlockTerraformBackendResponseV3.d.ts +12 -0
  37. package/dist/har-service/src/services/schemas/ForceUnlockTerraformBackendResponseV3.js +4 -0
  38. package/dist/har-service/src/services/schemas/GenerateKeyRequestV3.d.ts +26 -24
  39. package/dist/har-service/src/services/schemas/ImportKeyRequestV3.d.ts +17 -17
  40. package/dist/har-service/src/services/schemas/ImportKeyRequestV3.js +0 -3
  41. package/dist/har-service/src/services/schemas/ListPackageTypeConfigsResponseBodyV3.d.ts +14 -0
  42. package/dist/har-service/src/services/schemas/ListPackageTypeConfigsResponseBodyV3.js +1 -0
  43. package/dist/har-service/src/services/schemas/{ListSigningKeysResponseV3.d.ts → ListSigningKeysResponseBodyV3.d.ts} +1 -3
  44. package/dist/har-service/src/services/schemas/ListSigningKeysResponseBodyV3.js +1 -0
  45. package/dist/har-service/src/services/schemas/PackageTypeCapabilitiesV3.d.ts +16 -0
  46. package/dist/har-service/src/services/schemas/PackageTypeCapabilitiesV3.js +4 -0
  47. package/dist/har-service/src/services/schemas/PackageTypeConfigV3.d.ts +9 -0
  48. package/dist/har-service/src/services/schemas/PackageTypeConfigV3.js +1 -0
  49. package/dist/har-service/src/services/schemas/Registry.d.ts +1 -0
  50. package/dist/har-service/src/services/schemas/RegistryRequest.d.ts +1 -0
  51. package/dist/har-service/src/services/schemas/RegistryV3.d.ts +1 -0
  52. package/dist/har-service/src/services/schemas/SigningConfig.d.ts +1 -1
  53. package/dist/har-service/src/services/schemas/SigningKeyAlgorithmV3.d.ts +6 -0
  54. package/dist/har-service/src/services/schemas/SigningKeyAlgorithmV3.js +4 -0
  55. package/dist/har-service/src/services/schemas/SigningKeyStatusV3.d.ts +6 -0
  56. package/dist/har-service/src/services/schemas/SigningKeyStatusV3.js +4 -0
  57. package/dist/har-service/src/services/schemas/SigningKeySummaryV3.d.ts +27 -0
  58. package/dist/har-service/src/services/schemas/SigningKeySummaryV3.js +4 -0
  59. package/dist/har-service/src/services/schemas/SigningKeyTypeV3.d.ts +6 -0
  60. package/dist/har-service/src/services/schemas/SigningKeyTypeV3.js +4 -0
  61. package/dist/har-service/src/services/schemas/SigningKeyV3.d.ts +20 -26
  62. package/dist/har-service/src/services/schemas/StorageDetails.d.ts +4 -0
  63. package/dist/har-service/src/services/schemas/UpdateKeyRequestV3.d.ts +4 -7
  64. package/dist/har-service/src/services/schemas/UpstreamConfig.d.ts +2 -1
  65. package/dist/har-service/src/services/schemas/VersionStatsV3.d.ts +0 -6
  66. package/dist/har-service/src/services/schemas/VersionV3.d.ts +0 -18
  67. package/package.json +1 -1
  68. /package/dist/har-service/src/services/{schemas/ListSigningKeysResponseV3.js → responses/ListPackageTypeConfigsResponseV3Response.js} +0 -0
@@ -3,15 +3,10 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface DeleteSigningKeyV3MutationPathParams {
6
- /**
7
- * @format uuid
8
- */
9
6
  id: string;
10
7
  }
11
8
  export interface DeleteSigningKeyV3MutationQueryParams {
12
9
  account_identifier: string;
13
- org_identifier?: string;
14
- project_identifier?: string;
15
10
  }
16
11
  export type DeleteSigningKeyV3OkResponse = ResponseWithPagination<unknown>;
17
12
  export type DeleteSigningKeyV3ErrorResponse = ErrorV3;
@@ -21,8 +16,8 @@ export interface DeleteSigningKeyV3Props extends DeleteSigningKeyV3MutationPathP
21
16
  export declare function deleteSigningKeyV3(props: DeleteSigningKeyV3Props): Promise<DeleteSigningKeyV3OkResponse>;
22
17
  /**
23
18
  * Soft-deletes a signing key by marking it as DELETED. The key metadata is retained
24
- * for audit purposes. If the key is attached to any registries, signing will be
25
- * automatically disabled on those registries.
19
+ * for audit purposes. The key must not be attached to any registry: if it is, the
20
+ * request fails with 409 and the error message lists every registry to detach first.
26
21
  *
27
22
  */
28
23
  export declare function useDeleteSigningKeyV3Mutation(options?: Omit<UseMutationOptions<DeleteSigningKeyV3OkResponse, DeleteSigningKeyV3ErrorResponse, DeleteSigningKeyV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<DeleteSigningKeyV3OkResponse, ErrorV3, DeleteSigningKeyV3Props, unknown>;
@@ -8,8 +8,8 @@ export function deleteSigningKeyV3(props) {
8
8
  }
9
9
  /**
10
10
  * Soft-deletes a signing key by marking it as DELETED. The key metadata is retained
11
- * for audit purposes. If the key is attached to any registries, signing will be
12
- * automatically disabled on those registries.
11
+ * for audit purposes. The key must not be attached to any registry: if it is, the
12
+ * request fails with 409 and the error message lists every registry to detach first.
13
13
  *
14
14
  */
15
15
  export function useDeleteSigningKeyV3Mutation(options) {
@@ -0,0 +1,25 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ForceUnlockTerraformBackendResponseV3 } from '../schemas/ForceUnlockTerraformBackendResponseV3';
3
+ import type { ErrorV3 } from '../schemas/ErrorV3';
4
+ import type { ForceUnlockTerraformBackendRequestV3 } from '../schemas/ForceUnlockTerraformBackendRequestV3';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface ForceUnlockTerraformBackendV3MutationPathParams {
8
+ id: string;
9
+ }
10
+ export interface ForceUnlockTerraformBackendV3MutationQueryParams {
11
+ account_identifier: string;
12
+ }
13
+ export type ForceUnlockTerraformBackendV3RequestBody = ForceUnlockTerraformBackendRequestV3;
14
+ export type ForceUnlockTerraformBackendV3OkResponse = ResponseWithPagination<ForceUnlockTerraformBackendResponseV3>;
15
+ export type ForceUnlockTerraformBackendV3ErrorResponse = ErrorV3;
16
+ export interface ForceUnlockTerraformBackendV3Props extends ForceUnlockTerraformBackendV3MutationPathParams, Omit<FetcherOptions<ForceUnlockTerraformBackendV3MutationQueryParams, ForceUnlockTerraformBackendV3RequestBody>, 'url'> {
17
+ queryParams: ForceUnlockTerraformBackendV3MutationQueryParams;
18
+ body: ForceUnlockTerraformBackendV3RequestBody;
19
+ }
20
+ export declare function forceUnlockTerraformBackendV3(props: ForceUnlockTerraformBackendV3Props): Promise<ForceUnlockTerraformBackendV3OkResponse>;
21
+ /**
22
+ * Admin force-clears a Terraform Backend workspace lock (the workspace is the package identified by id). Idempotent — succeeds even if no lock is held. A reason is required and is recorded on the audit trail.
23
+ *
24
+ */
25
+ export declare function useForceUnlockTerraformBackendV3Mutation(options?: Omit<UseMutationOptions<ForceUnlockTerraformBackendV3OkResponse, ForceUnlockTerraformBackendV3ErrorResponse, ForceUnlockTerraformBackendV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ForceUnlockTerraformBackendV3OkResponse, ErrorV3, ForceUnlockTerraformBackendV3Props, 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 forceUnlockTerraformBackendV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/packages/${props.id}/terraform-backend/force-unlock`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ * Admin force-clears a Terraform Backend workspace lock (the workspace is the package identified by id). Idempotent — succeeds even if no lock is held. A reason is required and is recorded on the audit trail.
11
+ *
12
+ */
13
+ export function useForceUnlockTerraformBackendV3Mutation(options) {
14
+ return useMutation((mutateProps) => forceUnlockTerraformBackendV3(mutateProps), options);
15
+ }
@@ -1,5 +1,5 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { SigningKeyV3 } from '../schemas/SigningKeyV3';
2
+ import type { SigningKeyDetailsResponseV3Response } from '../responses/SigningKeyDetailsResponseV3Response';
3
3
  import type { ErrorV3 } from '../schemas/ErrorV3';
4
4
  import type { GenerateKeyRequestV3 } from '../schemas/GenerateKeyRequestV3';
5
5
  import type { ResponseWithPagination } from '../helpers';
@@ -10,9 +10,7 @@ export interface GenerateSigningKeyV3MutationQueryParams {
10
10
  project_identifier?: string;
11
11
  }
12
12
  export type GenerateSigningKeyV3RequestBody = GenerateKeyRequestV3;
13
- export type GenerateSigningKeyV3OkResponse = ResponseWithPagination<{
14
- data: SigningKeyV3;
15
- }>;
13
+ export type GenerateSigningKeyV3OkResponse = ResponseWithPagination<SigningKeyDetailsResponseV3Response>;
16
14
  export type GenerateSigningKeyV3ErrorResponse = ErrorV3;
17
15
  export interface GenerateSigningKeyV3Props extends Omit<FetcherOptions<GenerateSigningKeyV3MutationQueryParams, GenerateSigningKeyV3RequestBody>, 'url'> {
18
16
  queryParams: GenerateSigningKeyV3MutationQueryParams;
@@ -3,14 +3,15 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface GetRegistryPublicKeyV3QueryPathParams {
6
- /**
7
- * @format uuid
8
- */
9
6
  id: string;
10
7
  }
8
+ export interface GetRegistryPublicKeyV3QueryQueryParams {
9
+ account_identifier: string;
10
+ }
11
11
  export type GetRegistryPublicKeyV3OkResponse = ResponseWithPagination<unknown>;
12
12
  export type GetRegistryPublicKeyV3ErrorResponse = ErrorV3;
13
- export interface GetRegistryPublicKeyV3Props extends GetRegistryPublicKeyV3QueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
13
+ export interface GetRegistryPublicKeyV3Props extends GetRegistryPublicKeyV3QueryPathParams, Omit<FetcherOptions<GetRegistryPublicKeyV3QueryQueryParams, unknown>, 'url'> {
14
+ queryParams: GetRegistryPublicKeyV3QueryQueryParams;
14
15
  }
15
16
  export declare function getRegistryPublicKeyV3(props: GetRegistryPublicKeyV3Props): Promise<GetRegistryPublicKeyV3OkResponse>;
16
17
  /**
@@ -13,5 +13,5 @@ export function getRegistryPublicKeyV3(props) {
13
13
  *
14
14
  */
15
15
  export function useGetRegistryPublicKeyV3Query(props, options) {
16
- return useQuery(['GetRegistryPublicKeyV3', props.id], ({ signal }) => getRegistryPublicKeyV3(Object.assign(Object.assign({}, props), { signal })), options);
16
+ return useQuery(['GetRegistryPublicKeyV3', props.id, props.queryParams], ({ signal }) => getRegistryPublicKeyV3(Object.assign(Object.assign({}, props), { signal })), options);
17
17
  }
@@ -0,0 +1,23 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SigningKeyDetailsResponseV3Response } from '../responses/SigningKeyDetailsResponseV3Response';
3
+ import type { ErrorV3 } from '../schemas/ErrorV3';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetSigningKeyByNameV3QueryPathParams {
7
+ key_name: string;
8
+ }
9
+ export interface GetSigningKeyByNameV3QueryQueryParams {
10
+ account_identifier: string;
11
+ org_identifier?: string;
12
+ project_identifier?: string;
13
+ }
14
+ export type GetSigningKeyByNameV3OkResponse = ResponseWithPagination<SigningKeyDetailsResponseV3Response>;
15
+ export type GetSigningKeyByNameV3ErrorResponse = ErrorV3;
16
+ export interface GetSigningKeyByNameV3Props extends GetSigningKeyByNameV3QueryPathParams, Omit<FetcherOptions<GetSigningKeyByNameV3QueryQueryParams, unknown>, 'url'> {
17
+ queryParams: GetSigningKeyByNameV3QueryQueryParams;
18
+ }
19
+ export declare function getSigningKeyByNameV3(props: GetSigningKeyByNameV3Props): Promise<GetSigningKeyByNameV3OkResponse>;
20
+ /**
21
+ * Retrieves a signing key by its exact name within the specified space scope.
22
+ */
23
+ export declare function useGetSigningKeyByNameV3Query(props: GetSigningKeyByNameV3Props, options?: Omit<UseQueryOptions<GetSigningKeyByNameV3OkResponse, GetSigningKeyByNameV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetSigningKeyByNameV3OkResponse, 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 getSigningKeyByNameV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/signing-keys/by-name/${props.key_name}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Retrieves a signing key by its exact name within the specified space scope.
11
+ */
12
+ export function useGetSigningKeyByNameV3Query(props, options) {
13
+ return useQuery(['GetSigningKeyByNameV3', props.key_name, props.queryParams], ({ signal }) => getSigningKeyByNameV3(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -3,15 +3,11 @@ import type { ErrorV3 } from '../schemas/ErrorV3';
3
3
  import type { ResponseWithPagination } from '../helpers';
4
4
  import { FetcherOptions } from '../../../../fetcher/index.js';
5
5
  export interface GetSigningKeyPublicKeyV3QueryPathParams {
6
- /**
7
- * @format uuid
8
- */
9
6
  id: string;
10
7
  }
11
8
  export interface GetSigningKeyPublicKeyV3QueryQueryParams {
12
9
  account_identifier: string;
13
- org_identifier?: string;
14
- project_identifier?: string;
10
+ download?: boolean;
15
11
  }
16
12
  export type GetSigningKeyPublicKeyV3OkResponse = ResponseWithPagination<unknown>;
17
13
  export type GetSigningKeyPublicKeyV3ErrorResponse = ErrorV3;
@@ -20,9 +16,15 @@ export interface GetSigningKeyPublicKeyV3Props extends GetSigningKeyPublicKeyV3Q
20
16
  }
21
17
  export declare function getSigningKeyPublicKeyV3(props: GetSigningKeyPublicKeyV3Props): Promise<GetSigningKeyPublicKeyV3OkResponse>;
22
18
  /**
23
- * Downloads the public key for a signing key. Returns ASCII-armored format
24
- * (PGP for GPG keys, PEM for RSA keys). This endpoint is used by clients
25
- * to verify signatures.
19
+ * Returns the public key for a signing key in ASCII-armored format
20
+ * (PGP for GPG keys, PEM for RSA keys). Used by clients to verify
21
+ * signatures.
22
+ *
23
+ * By default the key is returned inline as `text/plain`. Pass
24
+ * `download=true` to receive it as a file attachment instead, with a
25
+ * `Content-Disposition` header and a key-type-specific content type
26
+ * (`application/pgp-keys` with a `.asc` filename for GPG keys,
27
+ * `application/x-pem-file` with a `.rsa.pub` filename for RSA keys).
26
28
  *
27
29
  */
28
30
  export declare function useGetSigningKeyPublicKeyV3Query(props: GetSigningKeyPublicKeyV3Props, options?: Omit<UseQueryOptions<GetSigningKeyPublicKeyV3OkResponse, GetSigningKeyPublicKeyV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetSigningKeyPublicKeyV3OkResponse, ErrorV3>;
@@ -7,9 +7,15 @@ export function getSigningKeyPublicKeyV3(props) {
7
7
  return fetcher(Object.assign({ url: `/v3/signing-keys/${props.id}/public-key`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
- * Downloads the public key for a signing key. Returns ASCII-armored format
11
- * (PGP for GPG keys, PEM for RSA keys). This endpoint is used by clients
12
- * to verify signatures.
10
+ * Returns the public key for a signing key in ASCII-armored format
11
+ * (PGP for GPG keys, PEM for RSA keys). Used by clients to verify
12
+ * signatures.
13
+ *
14
+ * By default the key is returned inline as `text/plain`. Pass
15
+ * `download=true` to receive it as a file attachment instead, with a
16
+ * `Content-Disposition` header and a key-type-specific content type
17
+ * (`application/pgp-keys` with a `.asc` filename for GPG keys,
18
+ * `application/x-pem-file` with a `.rsa.pub` filename for RSA keys).
13
19
  *
14
20
  */
15
21
  export function useGetSigningKeyPublicKeyV3Query(props, options) {
@@ -0,0 +1,26 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { SigningKeySummaryResponseV3Response } from '../responses/SigningKeySummaryResponseV3Response';
3
+ import type { ErrorV3 } from '../schemas/ErrorV3';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetSigningKeySummaryV3QueryQueryParams {
7
+ account_identifier: string;
8
+ org_identifier?: string;
9
+ project_identifier?: string;
10
+ }
11
+ export type GetSigningKeySummaryV3OkResponse = ResponseWithPagination<SigningKeySummaryResponseV3Response>;
12
+ export type GetSigningKeySummaryV3ErrorResponse = ErrorV3;
13
+ export interface GetSigningKeySummaryV3Props extends Omit<FetcherOptions<GetSigningKeySummaryV3QueryQueryParams, unknown>, 'url'> {
14
+ queryParams: GetSigningKeySummaryV3QueryQueryParams;
15
+ }
16
+ export declare function getSigningKeySummaryV3(props: GetSigningKeySummaryV3Props): Promise<GetSigningKeySummaryV3OkResponse>;
17
+ /**
18
+ * Returns aggregate signing key counts for the requested scope: the total
19
+ * number of keys, the number of registries referencing a key in that
20
+ * scope, and the number of ACTIVE keys expiring within the next 30 days.
21
+ *
22
+ * Counts apply to the requested scope only — they are not rolled up from
23
+ * parent or child scopes.
24
+ *
25
+ */
26
+ export declare function useGetSigningKeySummaryV3Query(props: GetSigningKeySummaryV3Props, options?: Omit<UseQueryOptions<GetSigningKeySummaryV3OkResponse, GetSigningKeySummaryV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetSigningKeySummaryV3OkResponse, ErrorV3>;
@@ -0,0 +1,20 @@
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 getSigningKeySummaryV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/signing-keys/summary`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Returns aggregate signing key counts for the requested scope: the total
11
+ * number of keys, the number of registries referencing a key in that
12
+ * scope, and the number of ACTIVE keys expiring within the next 30 days.
13
+ *
14
+ * Counts apply to the requested scope only — they are not rolled up from
15
+ * parent or child scopes.
16
+ *
17
+ */
18
+ export function useGetSigningKeySummaryV3Query(props, options) {
19
+ return useQuery(['GetSigningKeySummaryV3', props.queryParams], ({ signal }) => getSigningKeySummaryV3(Object.assign(Object.assign({}, props), { signal })), options);
20
+ }
@@ -1,22 +1,15 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { SigningKeyV3 } from '../schemas/SigningKeyV3';
2
+ import type { SigningKeyDetailsResponseV3Response } from '../responses/SigningKeyDetailsResponseV3Response';
3
3
  import type { ErrorV3 } from '../schemas/ErrorV3';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
6
6
  export interface GetSigningKeyV3QueryPathParams {
7
- /**
8
- * @format uuid
9
- */
10
7
  id: string;
11
8
  }
12
9
  export interface GetSigningKeyV3QueryQueryParams {
13
10
  account_identifier: string;
14
- org_identifier?: string;
15
- project_identifier?: string;
16
11
  }
17
- export type GetSigningKeyV3OkResponse = ResponseWithPagination<{
18
- data: SigningKeyV3;
19
- }>;
12
+ export type GetSigningKeyV3OkResponse = ResponseWithPagination<SigningKeyDetailsResponseV3Response>;
20
13
  export type GetSigningKeyV3ErrorResponse = ErrorV3;
21
14
  export interface GetSigningKeyV3Props extends GetSigningKeyV3QueryPathParams, Omit<FetcherOptions<GetSigningKeyV3QueryQueryParams, unknown>, 'url'> {
22
15
  queryParams: GetSigningKeyV3QueryQueryParams;
@@ -1,5 +1,5 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { SigningKeyV3 } from '../schemas/SigningKeyV3';
2
+ import type { SigningKeyDetailsResponseV3Response } from '../responses/SigningKeyDetailsResponseV3Response';
3
3
  import type { ErrorV3 } from '../schemas/ErrorV3';
4
4
  import type { ImportKeyRequestV3 } from '../schemas/ImportKeyRequestV3';
5
5
  import type { ResponseWithPagination } from '../helpers';
@@ -10,9 +10,7 @@ export interface ImportSigningKeyV3MutationQueryParams {
10
10
  project_identifier?: string;
11
11
  }
12
12
  export type ImportSigningKeyV3RequestBody = ImportKeyRequestV3;
13
- export type ImportSigningKeyV3OkResponse = ResponseWithPagination<{
14
- data: SigningKeyV3;
15
- }>;
13
+ export type ImportSigningKeyV3OkResponse = ResponseWithPagination<SigningKeyDetailsResponseV3Response>;
16
14
  export type ImportSigningKeyV3ErrorResponse = ErrorV3;
17
15
  export interface ImportSigningKeyV3Props extends Omit<FetcherOptions<ImportSigningKeyV3MutationQueryParams, ImportSigningKeyV3RequestBody>, 'url'> {
18
16
  queryParams: ImportSigningKeyV3MutationQueryParams;
@@ -0,0 +1,25 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ListPackageTypeConfigsResponseV3Response } from '../responses/ListPackageTypeConfigsResponseV3Response';
3
+ import type { ErrorV3 } from '../schemas/ErrorV3';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface ListPackageTypeConfigsV3QueryQueryParams {
7
+ account_identifier: string;
8
+ package_types?: string[];
9
+ }
10
+ export type ListPackageTypeConfigsV3OkResponse = ResponseWithPagination<ListPackageTypeConfigsResponseV3Response>;
11
+ export type ListPackageTypeConfigsV3ErrorResponse = ErrorV3;
12
+ export interface ListPackageTypeConfigsV3Props extends Omit<FetcherOptions<ListPackageTypeConfigsV3QueryQueryParams, unknown>, 'url'> {
13
+ queryParams: ListPackageTypeConfigsV3QueryQueryParams;
14
+ }
15
+ export declare function listPackageTypeConfigsV3(props: ListPackageTypeConfigsV3Props): Promise<ListPackageTypeConfigsV3OkResponse>;
16
+ /**
17
+ * Lists per-package-type UI configuration and capability flags for
18
+ * the Harness Artifact Registry, such as whether the upstream
19
+ * resource-cache TTL feature is currently active for the account.
20
+ * Bounded, non-paginated catalog — one entry per known package type.
21
+ * Use `package_types` to narrow the response to specific package
22
+ * types.
23
+ *
24
+ */
25
+ export declare function useListPackageTypeConfigsV3Query(props: ListPackageTypeConfigsV3Props, options?: Omit<UseQueryOptions<ListPackageTypeConfigsV3OkResponse, ListPackageTypeConfigsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListPackageTypeConfigsV3OkResponse, ErrorV3>;
@@ -0,0 +1,20 @@
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 listPackageTypeConfigsV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/config/package-types`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Lists per-package-type UI configuration and capability flags for
11
+ * the Harness Artifact Registry, such as whether the upstream
12
+ * resource-cache TTL feature is currently active for the account.
13
+ * Bounded, non-paginated catalog — one entry per known package type.
14
+ * Use `package_types` to narrow the response to specific package
15
+ * types.
16
+ *
17
+ */
18
+ export function useListPackageTypeConfigsV3Query(props, options) {
19
+ return useQuery(['ListPackageTypeConfigsV3', props.queryParams], ({ signal }) => listPackageTypeConfigsV3(Object.assign(Object.assign({}, props), { signal })), options);
20
+ }
@@ -1,5 +1,5 @@
1
1
  import { UseQueryOptions } from '@tanstack/react-query';
2
- import type { ListSigningKeysResponseV3 } from '../schemas/ListSigningKeysResponseV3';
2
+ import type { ListSigningKeysResponseV3Response } from '../responses/ListSigningKeysResponseV3Response';
3
3
  import type { ErrorV3 } from '../schemas/ErrorV3';
4
4
  import type { ResponseWithPagination } from '../helpers';
5
5
  import { FetcherOptions } from '../../../../fetcher/index.js';
@@ -17,10 +17,11 @@ export interface ListSigningKeysV3QueryQueryParams {
17
17
  * @default 20
18
18
  */
19
19
  size?: number;
20
- key_type?: Array<'GPG' | 'RSA'>;
21
- key_status?: Array<'ACTIVE' | 'DELETED' | 'INACTIVE' | 'REVOKED'>;
20
+ search_term?: string;
21
+ types?: string[];
22
+ statuses?: string[];
22
23
  }
23
- export type ListSigningKeysV3OkResponse = ResponseWithPagination<ListSigningKeysResponseV3>;
24
+ export type ListSigningKeysV3OkResponse = ResponseWithPagination<ListSigningKeysResponseV3Response>;
24
25
  export type ListSigningKeysV3ErrorResponse = ErrorV3;
25
26
  export interface ListSigningKeysV3Props extends Omit<FetcherOptions<ListSigningKeysV3QueryQueryParams, unknown>, 'url'> {
26
27
  queryParams: ListSigningKeysV3QueryQueryParams;
@@ -1,24 +1,17 @@
1
1
  import { UseMutationOptions } from '@tanstack/react-query';
2
- import type { SigningKeyV3 } from '../schemas/SigningKeyV3';
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 name and/or status. Only mutable fields can be updated.
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: 'PUT' }, props));
7
+ return fetcher(Object.assign({ url: `/v3/signing-keys/${props.id}`, method: 'PATCH' }, props));
8
8
  }
9
9
  /**
10
- * Updates a signing key's name and/or status. Only mutable fields can be updated.
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) {
@@ -71,6 +71,8 @@ export type { EvaluateArtifactScanV3ErrorResponse, EvaluateArtifactScanV3Mutatio
71
71
  export { evaluateArtifactScanV3, useEvaluateArtifactScanV3Mutation, } from './hooks/useEvaluateArtifactScanV3Mutation';
72
72
  export type { FindSpaceLabelErrorResponse, FindSpaceLabelOkResponse, FindSpaceLabelProps, FindSpaceLabelQueryPathParams, FindSpaceLabelQueryQueryParams, } from './hooks/useFindSpaceLabelQuery';
73
73
  export { findSpaceLabel, useFindSpaceLabelQuery } from './hooks/useFindSpaceLabelQuery';
74
+ export type { ForceUnlockTerraformBackendV3ErrorResponse, ForceUnlockTerraformBackendV3MutationPathParams, ForceUnlockTerraformBackendV3MutationQueryParams, ForceUnlockTerraformBackendV3OkResponse, ForceUnlockTerraformBackendV3Props, ForceUnlockTerraformBackendV3RequestBody, } from './hooks/useForceUnlockTerraformBackendV3Mutation';
75
+ export { forceUnlockTerraformBackendV3, useForceUnlockTerraformBackendV3Mutation, } from './hooks/useForceUnlockTerraformBackendV3Mutation';
74
76
  export type { GenerateSigningKeyV3ErrorResponse, GenerateSigningKeyV3MutationQueryParams, GenerateSigningKeyV3OkResponse, GenerateSigningKeyV3Props, GenerateSigningKeyV3RequestBody, } from './hooks/useGenerateSigningKeyV3Mutation';
75
77
  export { generateSigningKeyV3, useGenerateSigningKeyV3Mutation, } from './hooks/useGenerateSigningKeyV3Mutation';
76
78
  export type { GetAllArtifactVersionsErrorResponse, GetAllArtifactVersionsOkResponse, GetAllArtifactVersionsProps, GetAllArtifactVersionsQueryPathParams, GetAllArtifactVersionsQueryQueryParams, } from './hooks/useGetAllArtifactVersionsQuery';
@@ -171,14 +173,18 @@ export type { GetRegistriesStatsV3ErrorResponse, GetRegistriesStatsV3MutationQue
171
173
  export { getRegistriesStatsV3, useGetRegistriesStatsV3Mutation, } from './hooks/useGetRegistriesStatsV3Mutation';
172
174
  export type { GetRegistryMetadataV3ErrorResponse, GetRegistryMetadataV3OkResponse, GetRegistryMetadataV3Props, GetRegistryMetadataV3QueryPathParams, GetRegistryMetadataV3QueryQueryParams, } from './hooks/useGetRegistryMetadataV3Query';
173
175
  export { getRegistryMetadataV3, useGetRegistryMetadataV3Query, } from './hooks/useGetRegistryMetadataV3Query';
174
- export type { GetRegistryPublicKeyV3ErrorResponse, GetRegistryPublicKeyV3OkResponse, GetRegistryPublicKeyV3Props, GetRegistryPublicKeyV3QueryPathParams, } from './hooks/useGetRegistryPublicKeyV3Query';
176
+ export type { GetRegistryPublicKeyV3ErrorResponse, GetRegistryPublicKeyV3OkResponse, GetRegistryPublicKeyV3Props, GetRegistryPublicKeyV3QueryPathParams, GetRegistryPublicKeyV3QueryQueryParams, } from './hooks/useGetRegistryPublicKeyV3Query';
175
177
  export { getRegistryPublicKeyV3, useGetRegistryPublicKeyV3Query, } from './hooks/useGetRegistryPublicKeyV3Query';
176
178
  export type { GetRegistryErrorResponse, GetRegistryOkResponse, GetRegistryProps, GetRegistryQueryPathParams, } from './hooks/useGetRegistryQuery';
177
179
  export { getRegistry, useGetRegistryQuery } from './hooks/useGetRegistryQuery';
178
180
  export type { GetReplicationRuleErrorResponse, GetReplicationRuleOkResponse, GetReplicationRuleProps, GetReplicationRuleQueryPathParams, } from './hooks/useGetReplicationRuleQuery';
179
181
  export { getReplicationRule, useGetReplicationRuleQuery } from './hooks/useGetReplicationRuleQuery';
182
+ export type { GetSigningKeyByNameV3ErrorResponse, GetSigningKeyByNameV3OkResponse, GetSigningKeyByNameV3Props, GetSigningKeyByNameV3QueryPathParams, GetSigningKeyByNameV3QueryQueryParams, } from './hooks/useGetSigningKeyByNameV3Query';
183
+ export { getSigningKeyByNameV3, useGetSigningKeyByNameV3Query, } from './hooks/useGetSigningKeyByNameV3Query';
180
184
  export type { GetSigningKeyPublicKeyV3ErrorResponse, GetSigningKeyPublicKeyV3OkResponse, GetSigningKeyPublicKeyV3Props, GetSigningKeyPublicKeyV3QueryPathParams, GetSigningKeyPublicKeyV3QueryQueryParams, } from './hooks/useGetSigningKeyPublicKeyV3Query';
181
185
  export { getSigningKeyPublicKeyV3, useGetSigningKeyPublicKeyV3Query, } from './hooks/useGetSigningKeyPublicKeyV3Query';
186
+ export type { GetSigningKeySummaryV3ErrorResponse, GetSigningKeySummaryV3OkResponse, GetSigningKeySummaryV3Props, GetSigningKeySummaryV3QueryQueryParams, } from './hooks/useGetSigningKeySummaryV3Query';
187
+ export { getSigningKeySummaryV3, useGetSigningKeySummaryV3Query, } from './hooks/useGetSigningKeySummaryV3Query';
182
188
  export type { GetSigningKeyV3ErrorResponse, GetSigningKeyV3OkResponse, GetSigningKeyV3Props, GetSigningKeyV3QueryPathParams, GetSigningKeyV3QueryQueryParams, } from './hooks/useGetSigningKeyV3Query';
183
189
  export { getSigningKeyV3, useGetSigningKeyV3Query } from './hooks/useGetSigningKeyV3Query';
184
190
  export type { GetStorageDetailsErrorResponse, GetStorageDetailsOkResponse, GetStorageDetailsProps, GetStorageDetailsQueryPathParams, } from './hooks/useGetStorageDetailsQuery';
@@ -223,6 +229,8 @@ export type { ListLifecycleRulesV3ErrorResponse, ListLifecycleRulesV3OkResponse,
223
229
  export { listLifecycleRulesV3, useListLifecycleRulesV3Query, } from './hooks/useListLifecycleRulesV3Query';
224
230
  export type { ListMigrationImagesErrorResponse, ListMigrationImagesOkResponse, ListMigrationImagesProps, ListMigrationImagesQueryPathParams, ListMigrationImagesQueryQueryParams, } from './hooks/useListMigrationImagesQuery';
225
231
  export { listMigrationImages, useListMigrationImagesQuery, } from './hooks/useListMigrationImagesQuery';
232
+ export type { ListPackageTypeConfigsV3ErrorResponse, ListPackageTypeConfigsV3OkResponse, ListPackageTypeConfigsV3Props, ListPackageTypeConfigsV3QueryQueryParams, } from './hooks/useListPackageTypeConfigsV3Query';
233
+ export { listPackageTypeConfigsV3, useListPackageTypeConfigsV3Query, } from './hooks/useListPackageTypeConfigsV3Query';
226
234
  export type { ListPackagesErrorResponse, ListPackagesOkResponse, ListPackagesProps, ListPackagesQueryQueryParams, } from './hooks/useListPackagesQuery';
227
235
  export { listPackages, useListPackagesQuery } from './hooks/useListPackagesQuery';
228
236
  export type { ListPackagesV3ErrorResponse, ListPackagesV3OkResponse, ListPackagesV3Props, ListPackagesV3QueryQueryParams, } from './hooks/useListPackagesV3Query';
@@ -416,12 +424,14 @@ export type { ListMigrationImageResponseResponse } from './responses/ListMigrati
416
424
  export type { ListOciArtifactTagsResponseResponse } from './responses/ListOciArtifactTagsResponseResponse';
417
425
  export type { ListPackageResponseResponse } from './responses/ListPackageResponseResponse';
418
426
  export type { ListPackageResponseV3Response } from './responses/ListPackageResponseV3Response';
427
+ export type { ListPackageTypeConfigsResponseV3Response } from './responses/ListPackageTypeConfigsResponseV3Response';
419
428
  export type { ListPipelineBuildInfoDetailsResponseV3Response } from './responses/ListPipelineBuildInfoDetailsResponseV3Response';
420
429
  export type { ListPrincipalsResponseV3Response } from './responses/ListPrincipalsResponseV3Response';
421
430
  export type { ListRegistryArtifactResponseResponse } from './responses/ListRegistryArtifactResponseResponse';
422
431
  export type { ListRegistryResponseResponse } from './responses/ListRegistryResponseResponse';
423
432
  export type { ListRegistryResponseV3Response } from './responses/ListRegistryResponseV3Response';
424
433
  export type { ListReplicationRuleResponseResponse } from './responses/ListReplicationRuleResponseResponse';
434
+ export type { ListSigningKeysResponseV3Response } from './responses/ListSigningKeysResponseV3Response';
425
435
  export type { ListVersionDeploymentsResponseV3Response } from './responses/ListVersionDeploymentsResponseV3Response';
426
436
  export type { ListVersionResponseResponse } from './responses/ListVersionResponseResponse';
427
437
  export type { ListVersionResponseV3Response } from './responses/ListVersionResponseV3Response';
@@ -445,6 +455,8 @@ export type { RedirectV3Response } from './responses/RedirectV3Response';
445
455
  export type { RegistriesStatsResponseV3Response } from './responses/RegistriesStatsResponseV3Response';
446
456
  export type { RegistryResponseResponse } from './responses/RegistryResponseResponse';
447
457
  export type { ReplicationRuleResponseResponse } from './responses/ReplicationRuleResponseResponse';
458
+ export type { SigningKeyDetailsResponseV3Response } from './responses/SigningKeyDetailsResponseV3Response';
459
+ export type { SigningKeySummaryResponseV3Response } from './responses/SigningKeySummaryResponseV3Response';
448
460
  export type { StorageDetailsResponseResponse } from './responses/StorageDetailsResponseResponse';
449
461
  export type { SuccessResponse } from './responses/SuccessResponse';
450
462
  export type { SystemInfoResponseV3Response } from './responses/SystemInfoResponseV3Response';
@@ -482,6 +494,7 @@ export type { BackfillStateDataV3 } from './schemas/BackfillStateDataV3';
482
494
  export type { BackfillTaskStatusDataV3 } from './schemas/BackfillTaskStatusDataV3';
483
495
  export type { BackfillTriggerDataV3 } from './schemas/BackfillTriggerDataV3';
484
496
  export type { BackfillTriggerRequestInputV3 } from './schemas/BackfillTriggerRequestInputV3';
497
+ export type { BearerToken } from './schemas/BearerToken';
485
498
  export type { BuildDetailEntryV3 } from './schemas/BuildDetailEntryV3';
486
499
  export type { BuildDetails } from './schemas/BuildDetails';
487
500
  export type { BuildDetailsV3 } from './schemas/BuildDetailsV3';
@@ -564,6 +577,8 @@ export type { FirewallExceptionStatusV3 } from './schemas/FirewallExceptionStatu
564
577
  export type { FirewallExceptionUpdateRequestV3 } from './schemas/FirewallExceptionUpdateRequestV3';
565
578
  export type { FirewallModeV3 } from './schemas/FirewallModeV3';
566
579
  export type { FixVersionDetailsV3 } from './schemas/FixVersionDetailsV3';
580
+ export type { ForceUnlockTerraformBackendRequestV3 } from './schemas/ForceUnlockTerraformBackendRequestV3';
581
+ export type { ForceUnlockTerraformBackendResponseV3 } from './schemas/ForceUnlockTerraformBackendResponseV3';
567
582
  export type { GenerateKeyRequestV3 } from './schemas/GenerateKeyRequestV3';
568
583
  export type { GenericArtifactDetailConfig } from './schemas/GenericArtifactDetailConfig';
569
584
  export type { GoArtifactDetailConfig } from './schemas/GoArtifactDetailConfig';
@@ -619,6 +634,7 @@ export type { ListMetadataValuesResponseBodyV3 } from './schemas/ListMetadataVal
619
634
  export type { ListMigrationImage } from './schemas/ListMigrationImage';
620
635
  export type { ListOciArtifactTags } from './schemas/ListOciArtifactTags';
621
636
  export type { ListPackage } from './schemas/ListPackage';
637
+ export type { ListPackageTypeConfigsResponseBodyV3 } from './schemas/ListPackageTypeConfigsResponseBodyV3';
622
638
  export type { ListPackagesResponseBodyV3 } from './schemas/ListPackagesResponseBodyV3';
623
639
  export type { ListPipelineBuildInfoDetailsResponseBodyV3 } from './schemas/ListPipelineBuildInfoDetailsResponseBodyV3';
624
640
  export type { ListPrincipalsResponseBodyV3 } from './schemas/ListPrincipalsResponseBodyV3';
@@ -626,7 +642,7 @@ export type { ListRegistriesResponseBodyV3 } from './schemas/ListRegistriesRespo
626
642
  export type { ListRegistry } from './schemas/ListRegistry';
627
643
  export type { ListRegistryArtifact } from './schemas/ListRegistryArtifact';
628
644
  export type { ListReplicationRule } from './schemas/ListReplicationRule';
629
- export type { ListSigningKeysResponseV3 } from './schemas/ListSigningKeysResponseV3';
645
+ export type { ListSigningKeysResponseBodyV3 } from './schemas/ListSigningKeysResponseBodyV3';
630
646
  export type { ListVersion } from './schemas/ListVersion';
631
647
  export type { ListVersionDeploymentsResponseBodyV3 } from './schemas/ListVersionDeploymentsResponseBodyV3';
632
648
  export type { ListVersionsResponseBodyV3 } from './schemas/ListVersionsResponseBodyV3';
@@ -658,6 +674,8 @@ export type { PackageKindV3 } from './schemas/PackageKindV3';
658
674
  export type { PackageMetadata } from './schemas/PackageMetadata';
659
675
  export type { PackageStatsV3 } from './schemas/PackageStatsV3';
660
676
  export type { PackageType } from './schemas/PackageType';
677
+ export type { PackageTypeCapabilitiesV3 } from './schemas/PackageTypeCapabilitiesV3';
678
+ export type { PackageTypeConfigV3 } from './schemas/PackageTypeConfigV3';
661
679
  export type { PackageTypeV3 } from './schemas/PackageTypeV3';
662
680
  export type { PackageV3 } from './schemas/PackageV3';
663
681
  export type { PackagesStatsRequestInputV3 } from './schemas/PackagesStatsRequestInputV3';
@@ -708,6 +726,10 @@ export type { SectionType } from './schemas/SectionType';
708
726
  export type { SecurityPolicyFailureDetailConfigV3 } from './schemas/SecurityPolicyFailureDetailConfigV3';
709
727
  export type { SecurityPolicyFailureVulnerabilityV3 } from './schemas/SecurityPolicyFailureVulnerabilityV3';
710
728
  export type { SigningConfig } from './schemas/SigningConfig';
729
+ export type { SigningKeyAlgorithmV3 } from './schemas/SigningKeyAlgorithmV3';
730
+ export type { SigningKeyStatusV3 } from './schemas/SigningKeyStatusV3';
731
+ export type { SigningKeySummaryV3 } from './schemas/SigningKeySummaryV3';
732
+ export type { SigningKeyTypeV3 } from './schemas/SigningKeyTypeV3';
711
733
  export type { SigningKeyV3 } from './schemas/SigningKeyV3';
712
734
  export type { SlsaDetails } from './schemas/SlsaDetails';
713
735
  export type { StartedAtMsV3 } from './schemas/StartedAtMsV3';
@@ -34,6 +34,7 @@ export { deleteVersionV3, useDeleteVersionV3Mutation } from './hooks/useDeleteVe
34
34
  export { deleteWebhook, useDeleteWebhookMutation } from './hooks/useDeleteWebhookMutation';
35
35
  export { evaluateArtifactScanV3, useEvaluateArtifactScanV3Mutation, } from './hooks/useEvaluateArtifactScanV3Mutation';
36
36
  export { findSpaceLabel, useFindSpaceLabelQuery } from './hooks/useFindSpaceLabelQuery';
37
+ export { forceUnlockTerraformBackendV3, useForceUnlockTerraformBackendV3Mutation, } from './hooks/useForceUnlockTerraformBackendV3Mutation';
37
38
  export { generateSigningKeyV3, useGenerateSigningKeyV3Mutation, } from './hooks/useGenerateSigningKeyV3Mutation';
38
39
  export { getAllArtifactVersions, useGetAllArtifactVersionsQuery, } from './hooks/useGetAllArtifactVersionsQuery';
39
40
  export { getAllArtifactsByRegistry, useGetAllArtifactsByRegistryQuery, } from './hooks/useGetAllArtifactsByRegistryQuery';
@@ -87,7 +88,9 @@ export { getRegistryMetadataV3, useGetRegistryMetadataV3Query, } from './hooks/u
87
88
  export { getRegistryPublicKeyV3, useGetRegistryPublicKeyV3Query, } from './hooks/useGetRegistryPublicKeyV3Query';
88
89
  export { getRegistry, useGetRegistryQuery } from './hooks/useGetRegistryQuery';
89
90
  export { getReplicationRule, useGetReplicationRuleQuery } from './hooks/useGetReplicationRuleQuery';
91
+ export { getSigningKeyByNameV3, useGetSigningKeyByNameV3Query, } from './hooks/useGetSigningKeyByNameV3Query';
90
92
  export { getSigningKeyPublicKeyV3, useGetSigningKeyPublicKeyV3Query, } from './hooks/useGetSigningKeyPublicKeyV3Query';
93
+ export { getSigningKeySummaryV3, useGetSigningKeySummaryV3Query, } from './hooks/useGetSigningKeySummaryV3Query';
91
94
  export { getSigningKeyV3, useGetSigningKeyV3Query } from './hooks/useGetSigningKeyV3Query';
92
95
  export { getStorageDetails, useGetStorageDetailsQuery } from './hooks/useGetStorageDetailsQuery';
93
96
  export { getSystemInfoV3, useGetSystemInfoV3Query } from './hooks/useGetSystemInfoV3Query';
@@ -110,6 +113,7 @@ export { listLifecycleExecutionItemsV3, useListLifecycleExecutionItemsV3Query, }
110
113
  export { listLifecycleExecutionsV3, useListLifecycleExecutionsV3Query, } from './hooks/useListLifecycleExecutionsV3Query';
111
114
  export { listLifecycleRulesV3, useListLifecycleRulesV3Query, } from './hooks/useListLifecycleRulesV3Query';
112
115
  export { listMigrationImages, useListMigrationImagesQuery, } from './hooks/useListMigrationImagesQuery';
116
+ export { listPackageTypeConfigsV3, useListPackageTypeConfigsV3Query, } from './hooks/useListPackageTypeConfigsV3Query';
113
117
  export { listPackages, useListPackagesQuery } from './hooks/useListPackagesQuery';
114
118
  export { listPackagesV3, useListPackagesV3Query } from './hooks/useListPackagesV3Query';
115
119
  export { listPipelineBuildInfoDetailsV3, useListPipelineBuildInfoDetailsV3Query, } from './hooks/useListPipelineBuildInfoDetailsV3Query';
@@ -0,0 +1,2 @@
1
+ import type { ListPackageTypeConfigsResponseBodyV3 } from '../schemas/ListPackageTypeConfigsResponseBodyV3';
2
+ export type ListPackageTypeConfigsResponseV3Response = ListPackageTypeConfigsResponseBodyV3;
@@ -0,0 +1,2 @@
1
+ import type { ListSigningKeysResponseBodyV3 } from '../schemas/ListSigningKeysResponseBodyV3';
2
+ export type ListSigningKeysResponseV3Response = ListSigningKeysResponseBodyV3;
@@ -0,0 +1,4 @@
1
+ import type { SigningKeyV3 } from '../schemas/SigningKeyV3';
2
+ export interface SigningKeyDetailsResponseV3Response {
3
+ data: SigningKeyV3;
4
+ }