@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.
Files changed (90) hide show
  1. package/dist/har-service/src/services/hooks/useDeleteSigningKeyV3Mutation.d.ts +0 -5
  2. package/dist/har-service/src/services/hooks/useGenerateSigningKeyV3Mutation.d.ts +2 -4
  3. package/dist/har-service/src/services/hooks/useGetRegistryPublicKeyV3Query.d.ts +5 -4
  4. package/dist/har-service/src/services/hooks/useGetRegistryPublicKeyV3Query.js +1 -1
  5. package/dist/har-service/src/services/hooks/useGetRegistryRootsIndexStatusV3Query.d.ts +26 -0
  6. package/dist/har-service/src/services/hooks/useGetRegistryRootsIndexStatusV3Query.js +20 -0
  7. package/dist/har-service/src/services/hooks/useGetSigningKeyByNameV3Query.d.ts +3 -5
  8. package/dist/har-service/src/services/hooks/useGetSigningKeyByNameV3Query.js +2 -2
  9. package/dist/har-service/src/services/hooks/useGetSigningKeyPublicKeyV3Query.d.ts +10 -8
  10. package/dist/har-service/src/services/hooks/useGetSigningKeyPublicKeyV3Query.js +9 -3
  11. package/dist/har-service/src/services/hooks/useGetSigningKeySummaryV3Query.d.ts +26 -0
  12. package/dist/har-service/src/services/hooks/useGetSigningKeySummaryV3Query.js +20 -0
  13. package/dist/har-service/src/services/hooks/useGetSigningKeyV3Query.d.ts +7 -8
  14. package/dist/har-service/src/services/hooks/useGetSigningKeyV3Query.js +1 -1
  15. package/dist/har-service/src/services/hooks/useGetTrigramIndexStatusV3Query.d.ts +26 -0
  16. package/dist/har-service/src/services/hooks/useGetTrigramIndexStatusV3Query.js +20 -0
  17. package/dist/har-service/src/services/hooks/useImportSigningKeyV3Mutation.d.ts +2 -4
  18. package/dist/har-service/src/services/hooks/useListNodeChildrenV3Query.d.ts +35 -0
  19. package/dist/har-service/src/services/hooks/useListNodeChildrenV3Query.js +16 -0
  20. package/dist/har-service/src/services/hooks/useListPackageTypeConfigsV3Query.d.ts +25 -0
  21. package/dist/har-service/src/services/hooks/useListPackageTypeConfigsV3Query.js +20 -0
  22. package/dist/har-service/src/services/hooks/useListRegistryNodesV3Query.d.ts +35 -0
  23. package/dist/har-service/src/services/hooks/useListRegistryNodesV3Query.js +16 -0
  24. package/dist/har-service/src/services/hooks/useListSigningKeysV3Query.d.ts +4 -4
  25. package/dist/har-service/src/services/hooks/useListTreeRootsV3Query.d.ts +40 -0
  26. package/dist/har-service/src/services/hooks/useListTreeRootsV3Query.js +21 -0
  27. package/dist/har-service/src/services/hooks/useRollbackTerraformBackendV3Mutation.d.ts +21 -0
  28. package/dist/har-service/src/services/hooks/useRollbackTerraformBackendV3Mutation.js +15 -0
  29. package/dist/har-service/src/services/hooks/useTriggerRegistryRootsIndexBuildV3Mutation.d.ts +34 -0
  30. package/dist/har-service/src/services/hooks/useTriggerRegistryRootsIndexBuildV3Mutation.js +28 -0
  31. package/dist/har-service/src/services/hooks/useTriggerTrigramIndexBuildV3Mutation.d.ts +34 -0
  32. package/dist/har-service/src/services/hooks/useTriggerTrigramIndexBuildV3Mutation.js +28 -0
  33. package/dist/har-service/src/services/hooks/useUpdateSigningKeyV3Mutation.d.ts +3 -11
  34. package/dist/har-service/src/services/hooks/useUpdateSigningKeyV3Mutation.js +2 -3
  35. package/dist/har-service/src/services/index.d.ts +43 -6
  36. package/dist/har-service/src/services/index.js +10 -1
  37. package/dist/har-service/src/services/responses/ListPackageTypeConfigsResponseV3Response.d.ts +2 -0
  38. package/dist/har-service/src/services/responses/ListSigningKeysResponseV3Response.d.ts +2 -0
  39. package/dist/har-service/src/services/responses/ListSigningKeysResponseV3Response.js +1 -0
  40. package/dist/har-service/src/services/responses/SigningKeyDetailsResponseV3Response.d.ts +4 -0
  41. package/dist/har-service/src/services/responses/SigningKeyDetailsResponseV3Response.js +1 -0
  42. package/dist/har-service/src/services/responses/SigningKeySummaryResponseV3Response.d.ts +4 -0
  43. package/dist/har-service/src/services/responses/SigningKeySummaryResponseV3Response.js +1 -0
  44. package/dist/har-service/src/services/responses/TreeResponseV3Response.d.ts +2 -0
  45. package/dist/har-service/src/services/responses/TreeResponseV3Response.js +1 -0
  46. package/dist/har-service/src/services/schemas/GenerateKeyRequestV3.d.ts +26 -24
  47. package/dist/har-service/src/services/schemas/ImportKeyRequestV3.d.ts +17 -17
  48. package/dist/har-service/src/services/schemas/ImportKeyRequestV3.js +0 -3
  49. package/dist/har-service/src/services/schemas/ListPackageTypeConfigsResponseBodyV3.d.ts +14 -0
  50. package/dist/har-service/src/services/schemas/ListPackageTypeConfigsResponseBodyV3.js +1 -0
  51. package/dist/har-service/src/services/schemas/{ListSigningKeysResponseV3.d.ts → ListSigningKeysResponseBodyV3.d.ts} +1 -3
  52. package/dist/har-service/src/services/schemas/ListSigningKeysResponseBodyV3.js +1 -0
  53. package/dist/har-service/src/services/schemas/PackageTypeCapabilitiesV3.d.ts +16 -0
  54. package/dist/har-service/src/services/schemas/PackageTypeConfigV3.d.ts +9 -0
  55. package/dist/har-service/src/services/schemas/PackageTypeConfigV3.js +1 -0
  56. package/dist/har-service/src/services/schemas/RegistryRootsIndexBuildDataV3.d.ts +13 -0
  57. package/dist/har-service/src/services/schemas/RegistryRootsIndexBuildDataV3.js +4 -0
  58. package/dist/har-service/src/services/schemas/RegistryRootsIndexStatusDataV3.d.ts +22 -0
  59. package/dist/har-service/src/services/schemas/RegistryRootsIndexStatusDataV3.js +4 -0
  60. package/dist/har-service/src/services/schemas/SigningKeyAlgorithmV3.d.ts +6 -0
  61. package/dist/har-service/src/services/schemas/SigningKeyAlgorithmV3.js +4 -0
  62. package/dist/har-service/src/services/schemas/SigningKeyStatusV3.d.ts +6 -0
  63. package/dist/har-service/src/services/schemas/SigningKeyStatusV3.js +4 -0
  64. package/dist/har-service/src/services/schemas/SigningKeySummaryV3.d.ts +27 -0
  65. package/dist/har-service/src/services/schemas/SigningKeySummaryV3.js +4 -0
  66. package/dist/har-service/src/services/schemas/SigningKeyTypeV3.d.ts +6 -0
  67. package/dist/har-service/src/services/schemas/SigningKeyTypeV3.js +4 -0
  68. package/dist/har-service/src/services/schemas/SigningKeyV3.d.ts +20 -26
  69. package/dist/har-service/src/services/schemas/StorageDetails.d.ts +4 -0
  70. package/dist/har-service/src/services/schemas/TreeNodeItemV3.d.ts +54 -0
  71. package/dist/har-service/src/services/schemas/TreeNodeItemV3.js +4 -0
  72. package/dist/har-service/src/services/schemas/TreePaginationV3.d.ts +35 -0
  73. package/dist/har-service/src/services/schemas/TreePaginationV3.js +4 -0
  74. package/dist/har-service/src/services/schemas/TreeResponseBodyV3.d.ts +12 -0
  75. package/dist/har-service/src/services/schemas/TreeResponseBodyV3.js +1 -0
  76. package/dist/har-service/src/services/schemas/TrigramIndexBuildDataV3.d.ts +13 -0
  77. package/dist/har-service/src/services/schemas/TrigramIndexBuildDataV3.js +4 -0
  78. package/dist/har-service/src/services/schemas/TrigramIndexStateV3.d.ts +11 -0
  79. package/dist/har-service/src/services/schemas/TrigramIndexStateV3.js +4 -0
  80. package/dist/har-service/src/services/schemas/TrigramIndexStatusDataV3.d.ts +18 -0
  81. package/dist/har-service/src/services/schemas/TrigramIndexStatusDataV3.js +1 -0
  82. package/dist/har-service/src/services/schemas/UpdateKeyRequestV3.d.ts +4 -3
  83. package/dist/har-service/src/services/schemas/VersionStatsV3.d.ts +0 -6
  84. package/dist/har-service/src/services/schemas/VersionV3.d.ts +0 -18
  85. package/package.json +1 -1
  86. package/dist/har-service/src/services/hooks/useDownloadSigningKeyPublicKeyV3Query.d.ts +0 -29
  87. package/dist/har-service/src/services/hooks/useDownloadSigningKeyPublicKeyV3Query.js +0 -18
  88. package/dist/har-service/src/services/schemas/KeyMetaV3.d.ts +0 -35
  89. /package/dist/har-service/src/services/{schemas/ListSigningKeysResponseV3.js → responses/ListPackageTypeConfigsResponseV3Response.js} +0 -0
  90. /package/dist/har-service/src/services/schemas/{KeyMetaV3.js → PackageTypeCapabilitiesV3.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;
@@ -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,26 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { RegistryRootsIndexStatusDataV3 } from '../schemas/RegistryRootsIndexStatusDataV3';
3
+ import type { ErrorV3 } from '../schemas/ErrorV3';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetRegistryRootsIndexStatusV3QueryQueryParams {
7
+ account_identifier: string;
8
+ }
9
+ export type GetRegistryRootsIndexStatusV3OkResponse = ResponseWithPagination<{
10
+ data: RegistryRootsIndexStatusDataV3;
11
+ }>;
12
+ export type GetRegistryRootsIndexStatusV3ErrorResponse = ErrorV3;
13
+ export interface GetRegistryRootsIndexStatusV3Props extends Omit<FetcherOptions<GetRegistryRootsIndexStatusV3QueryQueryParams, unknown>, 'url'> {
14
+ queryParams: GetRegistryRootsIndexStatusV3QueryQueryParams;
15
+ }
16
+ export declare function getRegistryRootsIndexStatusV3(props: GetRegistryRootsIndexStatusV3Props): Promise<GetRegistryRootsIndexStatusV3OkResponse>;
17
+ /**
18
+ * Report whether idx_nodes_registry_roots exists and is valid, read from the Postgres
19
+ * catalog, alongside the state of the most recent build job. Reported as exists=true and
20
+ * valid=false when an interrupted CONCURRENTLY build left it INVALID - never used by the
21
+ * planner but still maintained on every write, and in need of a rebuild.
22
+ *
23
+ * Any authenticated caller may read it.
24
+ *
25
+ */
26
+ export declare function useGetRegistryRootsIndexStatusV3Query(props: GetRegistryRootsIndexStatusV3Props, options?: Omit<UseQueryOptions<GetRegistryRootsIndexStatusV3OkResponse, GetRegistryRootsIndexStatusV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRegistryRootsIndexStatusV3OkResponse, 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 getRegistryRootsIndexStatusV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/internal/tree/registry-roots-index`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Report whether idx_nodes_registry_roots exists and is valid, read from the Postgres
11
+ * catalog, alongside the state of the most recent build job. Reported as exists=true and
12
+ * valid=false when an interrupted CONCURRENTLY build left it INVALID - never used by the
13
+ * planner but still maintained on every write, and in need of a rebuild.
14
+ *
15
+ * Any authenticated caller may read it.
16
+ *
17
+ */
18
+ export function useGetRegistryRootsIndexStatusV3Query(props, options) {
19
+ return useQuery(['GetRegistryRootsIndexStatusV3', props.queryParams], ({ signal }) => getRegistryRootsIndexStatusV3(Object.assign(Object.assign({}, props), { signal })), options);
20
+ }
@@ -1,19 +1,17 @@
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 GetSigningKeyByNameV3QueryPathParams {
7
- keyName: string;
7
+ key_name: string;
8
8
  }
9
9
  export interface GetSigningKeyByNameV3QueryQueryParams {
10
10
  account_identifier: string;
11
11
  org_identifier?: string;
12
12
  project_identifier?: string;
13
13
  }
14
- export type GetSigningKeyByNameV3OkResponse = ResponseWithPagination<{
15
- data: SigningKeyV3;
16
- }>;
14
+ export type GetSigningKeyByNameV3OkResponse = ResponseWithPagination<SigningKeyDetailsResponseV3Response>;
17
15
  export type GetSigningKeyByNameV3ErrorResponse = ErrorV3;
18
16
  export interface GetSigningKeyByNameV3Props extends GetSigningKeyByNameV3QueryPathParams, Omit<FetcherOptions<GetSigningKeyByNameV3QueryQueryParams, unknown>, 'url'> {
19
17
  queryParams: GetSigningKeyByNameV3QueryQueryParams;
@@ -4,11 +4,11 @@
4
4
  import { useQuery } from '@tanstack/react-query';
5
5
  import { fetcher } from '../../../../fetcher/index.js';
6
6
  export function getSigningKeyByNameV3(props) {
7
- return fetcher(Object.assign({ url: `/v3/signing-keys/by-name/${props.keyName}`, method: 'GET' }, props));
7
+ return fetcher(Object.assign({ url: `/v3/signing-keys/by-name/${props.key_name}`, method: 'GET' }, props));
8
8
  }
9
9
  /**
10
10
  * Retrieves a signing key by its exact name within the specified space scope.
11
11
  */
12
12
  export function useGetSigningKeyByNameV3Query(props, options) {
13
- return useQuery(['GetSigningKeyByNameV3', props.keyName, props.queryParams], ({ signal }) => getSigningKeyByNameV3(Object.assign(Object.assign({}, props), { signal })), options);
13
+ return useQuery(['GetSigningKeyByNameV3', props.key_name, props.queryParams], ({ signal }) => getSigningKeyByNameV3(Object.assign(Object.assign({}, props), { signal })), options);
14
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,19 +1,18 @@
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
- export type GetSigningKeyV3OkResponse = ResponseWithPagination<{
13
- data: SigningKeyV3;
14
- }>;
9
+ export interface GetSigningKeyV3QueryQueryParams {
10
+ account_identifier: string;
11
+ }
12
+ export type GetSigningKeyV3OkResponse = ResponseWithPagination<SigningKeyDetailsResponseV3Response>;
15
13
  export type GetSigningKeyV3ErrorResponse = ErrorV3;
16
- export interface GetSigningKeyV3Props extends GetSigningKeyV3QueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
14
+ export interface GetSigningKeyV3Props extends GetSigningKeyV3QueryPathParams, Omit<FetcherOptions<GetSigningKeyV3QueryQueryParams, unknown>, 'url'> {
15
+ queryParams: GetSigningKeyV3QueryQueryParams;
17
16
  }
18
17
  export declare function getSigningKeyV3(props: GetSigningKeyV3Props): Promise<GetSigningKeyV3OkResponse>;
19
18
  /**
@@ -10,5 +10,5 @@ export function getSigningKeyV3(props) {
10
10
  * Retrieves detailed information about a specific signing key by ID.
11
11
  */
12
12
  export function useGetSigningKeyV3Query(props, options) {
13
- return useQuery(['GetSigningKeyV3', props.id], ({ signal }) => getSigningKeyV3(Object.assign(Object.assign({}, props), { signal })), options);
13
+ return useQuery(['GetSigningKeyV3', props.id, props.queryParams], ({ signal }) => getSigningKeyV3(Object.assign(Object.assign({}, props), { signal })), options);
14
14
  }
@@ -0,0 +1,26 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { TrigramIndexStatusDataV3 } from '../schemas/TrigramIndexStatusDataV3';
3
+ import type { ErrorV3 } from '../schemas/ErrorV3';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface GetTrigramIndexStatusV3QueryQueryParams {
7
+ account_identifier: string;
8
+ }
9
+ export type GetTrigramIndexStatusV3OkResponse = ResponseWithPagination<{
10
+ data: TrigramIndexStatusDataV3;
11
+ }>;
12
+ export type GetTrigramIndexStatusV3ErrorResponse = ErrorV3;
13
+ export interface GetTrigramIndexStatusV3Props extends Omit<FetcherOptions<GetTrigramIndexStatusV3QueryQueryParams, unknown>, 'url'> {
14
+ queryParams: GetTrigramIndexStatusV3QueryQueryParams;
15
+ }
16
+ export declare function getTrigramIndexStatusV3(props: GetTrigramIndexStatusV3Props): Promise<GetTrigramIndexStatusV3OkResponse>;
17
+ /**
18
+ * Report whether each trigram index exists and is valid, read from the Postgres catalog,
19
+ * alongside the state of the most recent build job. An index reported as exists=true and
20
+ * valid=false is never used by the planner but is still maintained on every write, and
21
+ * needs a rebuild.
22
+ *
23
+ * Any authenticated caller may read it.
24
+ *
25
+ */
26
+ export declare function useGetTrigramIndexStatusV3Query(props: GetTrigramIndexStatusV3Props, options?: Omit<UseQueryOptions<GetTrigramIndexStatusV3OkResponse, GetTrigramIndexStatusV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetTrigramIndexStatusV3OkResponse, 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 getTrigramIndexStatusV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/internal/search/trigram-indexes`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Report whether each trigram index exists and is valid, read from the Postgres catalog,
11
+ * alongside the state of the most recent build job. An index reported as exists=true and
12
+ * valid=false is never used by the planner but is still maintained on every write, and
13
+ * needs a rebuild.
14
+ *
15
+ * Any authenticated caller may read it.
16
+ *
17
+ */
18
+ export function useGetTrigramIndexStatusV3Query(props, options) {
19
+ return useQuery(['GetTrigramIndexStatusV3', props.queryParams], ({ signal }) => getTrigramIndexStatusV3(Object.assign(Object.assign({}, props), { signal })), options);
20
+ }
@@ -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,35 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { TreeResponseV3Response } from '../responses/TreeResponseV3Response';
3
+ import type { ErrorV3 } from '../schemas/ErrorV3';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface ListNodeChildrenV3QueryPathParams {
7
+ node_id: string;
8
+ }
9
+ export interface ListNodeChildrenV3QueryQueryParams {
10
+ account_identifier: string;
11
+ org_identifier?: string;
12
+ project_identifier?: string;
13
+ cursor?: string;
14
+ /**
15
+ * @default 50
16
+ */
17
+ size?: number;
18
+ /**
19
+ * @default "exclude_deleted"
20
+ */
21
+ deleted_filter?: 'exclude_deleted' | 'include_deleted' | 'only_deleted';
22
+ compact?: boolean;
23
+ }
24
+ export type ListNodeChildrenV3OkResponse = ResponseWithPagination<TreeResponseV3Response>;
25
+ export type ListNodeChildrenV3ErrorResponse = ErrorV3;
26
+ export interface ListNodeChildrenV3Props extends ListNodeChildrenV3QueryPathParams, Omit<FetcherOptions<ListNodeChildrenV3QueryQueryParams, unknown>, 'url'> {
27
+ queryParams: ListNodeChildrenV3QueryQueryParams;
28
+ }
29
+ export declare function listNodeChildrenV3(props: ListNodeChildrenV3Props): Promise<ListNodeChildrenV3OkResponse>;
30
+ /**
31
+ * Lists immediate children of a specific node (package/version/folder).
32
+ * Returns child nodes for tree navigation.
33
+ *
34
+ */
35
+ export declare function useListNodeChildrenV3Query(props: ListNodeChildrenV3Props, options?: Omit<UseQueryOptions<ListNodeChildrenV3OkResponse, ListNodeChildrenV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListNodeChildrenV3OkResponse, ErrorV3>;
@@ -0,0 +1,16 @@
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 listNodeChildrenV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/tree/nodes/${props.node_id}/children`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Lists immediate children of a specific node (package/version/folder).
11
+ * Returns child nodes for tree navigation.
12
+ *
13
+ */
14
+ export function useListNodeChildrenV3Query(props, options) {
15
+ return useQuery(['ListNodeChildrenV3', props.node_id, props.queryParams], ({ signal }) => listNodeChildrenV3(Object.assign(Object.assign({}, props), { signal })), options);
16
+ }
@@ -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
+ }
@@ -0,0 +1,35 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { TreeResponseV3Response } from '../responses/TreeResponseV3Response';
3
+ import type { ErrorV3 } from '../schemas/ErrorV3';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface ListRegistryNodesV3QueryPathParams {
7
+ registry_id: string;
8
+ }
9
+ export interface ListRegistryNodesV3QueryQueryParams {
10
+ account_identifier: string;
11
+ org_identifier?: string;
12
+ project_identifier?: string;
13
+ cursor?: string;
14
+ /**
15
+ * @default 50
16
+ */
17
+ size?: number;
18
+ /**
19
+ * @default "exclude_deleted"
20
+ */
21
+ deleted_filter?: 'exclude_deleted' | 'include_deleted' | 'only_deleted';
22
+ compact?: boolean;
23
+ }
24
+ export type ListRegistryNodesV3OkResponse = ResponseWithPagination<TreeResponseV3Response>;
25
+ export type ListRegistryNodesV3ErrorResponse = ErrorV3;
26
+ export interface ListRegistryNodesV3Props extends ListRegistryNodesV3QueryPathParams, Omit<FetcherOptions<ListRegistryNodesV3QueryQueryParams, unknown>, 'url'> {
27
+ queryParams: ListRegistryNodesV3QueryQueryParams;
28
+ }
29
+ export declare function listRegistryNodesV3(props: ListRegistryNodesV3Props): Promise<ListRegistryNodesV3OkResponse>;
30
+ /**
31
+ * Lists top-level packages/folders under a specific registry.
32
+ * Returns immediate children of the registry for tree navigation.
33
+ *
34
+ */
35
+ export declare function useListRegistryNodesV3Query(props: ListRegistryNodesV3Props, options?: Omit<UseQueryOptions<ListRegistryNodesV3OkResponse, ListRegistryNodesV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListRegistryNodesV3OkResponse, ErrorV3>;
@@ -0,0 +1,16 @@
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 listRegistryNodesV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/tree/registries/${props.registry_id}/nodes`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Lists top-level packages/folders under a specific registry.
11
+ * Returns immediate children of the registry for tree navigation.
12
+ *
13
+ */
14
+ export function useListRegistryNodesV3Query(props, options) {
15
+ return useQuery(['ListRegistryNodesV3', props.registry_id, props.queryParams], ({ signal }) => listRegistryNodesV3(Object.assign(Object.assign({}, props), { signal })), options);
16
+ }
@@ -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';
@@ -18,10 +18,10 @@ export interface ListSigningKeysV3QueryQueryParams {
18
18
  */
19
19
  size?: number;
20
20
  search_term?: string;
21
- key_type?: Array<'GPG' | 'RSA'>;
22
- key_status?: Array<'ACTIVE' | 'DELETED' | 'INACTIVE' | 'REVOKED'>;
21
+ types?: string[];
22
+ statuses?: string[];
23
23
  }
24
- export type ListSigningKeysV3OkResponse = ResponseWithPagination<ListSigningKeysResponseV3>;
24
+ export type ListSigningKeysV3OkResponse = ResponseWithPagination<ListSigningKeysResponseV3Response>;
25
25
  export type ListSigningKeysV3ErrorResponse = ErrorV3;
26
26
  export interface ListSigningKeysV3Props extends Omit<FetcherOptions<ListSigningKeysV3QueryQueryParams, unknown>, 'url'> {
27
27
  queryParams: ListSigningKeysV3QueryQueryParams;
@@ -0,0 +1,40 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { TreeResponseV3Response } from '../responses/TreeResponseV3Response';
3
+ import type { ErrorV3 } from '../schemas/ErrorV3';
4
+ import type { ResponseWithPagination } from '../helpers';
5
+ import { FetcherOptions } from '../../../../fetcher/index.js';
6
+ export interface ListTreeRootsV3QueryQueryParams {
7
+ account_identifier: string;
8
+ org_identifier?: string;
9
+ project_identifier?: string;
10
+ scope?: 'ancestors' | 'descendants' | 'none';
11
+ cursor?: string;
12
+ /**
13
+ * @default 50
14
+ */
15
+ size?: number;
16
+ /**
17
+ * @default "exclude_deleted"
18
+ */
19
+ deleted_filter?: 'exclude_deleted' | 'include_deleted' | 'only_deleted';
20
+ search?: string;
21
+ registry_type?: string;
22
+ package_type?: string;
23
+ }
24
+ export type ListTreeRootsV3OkResponse = ResponseWithPagination<TreeResponseV3Response>;
25
+ export type ListTreeRootsV3ErrorResponse = ErrorV3;
26
+ export interface ListTreeRootsV3Props extends Omit<FetcherOptions<ListTreeRootsV3QueryQueryParams, unknown>, 'url'> {
27
+ queryParams: ListTreeRootsV3QueryQueryParams;
28
+ }
29
+ export declare function listTreeRootsV3(props: ListTreeRootsV3Props): Promise<ListTreeRootsV3OkResponse>;
30
+ /**
31
+ * Lists all registries at the root level with optional search and filters.
32
+ * Returns a hierarchical view of registries for tree navigation.
33
+ *
34
+ * `scope` is only accepted here, and is resolved exactly as it is for
35
+ * `ListRegistriesV3`: the current space, plus its ancestors or descendants. It has no
36
+ * equivalent on the levels below, because those are already bounded to the single
37
+ * registry named in the path.
38
+ *
39
+ */
40
+ export declare function useListTreeRootsV3Query(props: ListTreeRootsV3Props, options?: Omit<UseQueryOptions<ListTreeRootsV3OkResponse, ListTreeRootsV3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListTreeRootsV3OkResponse, ErrorV3>;
@@ -0,0 +1,21 @@
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 listTreeRootsV3(props) {
7
+ return fetcher(Object.assign({ url: `/v3/tree/roots`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ * Lists all registries at the root level with optional search and filters.
11
+ * Returns a hierarchical view of registries for tree navigation.
12
+ *
13
+ * `scope` is only accepted here, and is resolved exactly as it is for
14
+ * `ListRegistriesV3`: the current space, plus its ancestors or descendants. It has no
15
+ * equivalent on the levels below, because those are already bounded to the single
16
+ * registry named in the path.
17
+ *
18
+ */
19
+ export function useListTreeRootsV3Query(props, options) {
20
+ return useQuery(['ListTreeRootsV3', props.queryParams], ({ signal }) => listTreeRootsV3(Object.assign(Object.assign({}, props), { signal })), options);
21
+ }
@@ -0,0 +1,21 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ErrorV3 } from '../schemas/ErrorV3';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface RollbackTerraformBackendV3MutationPathParams {
6
+ id: string;
7
+ }
8
+ export interface RollbackTerraformBackendV3MutationQueryParams {
9
+ account_identifier: string;
10
+ }
11
+ export type RollbackTerraformBackendV3OkResponse = ResponseWithPagination<unknown>;
12
+ export type RollbackTerraformBackendV3ErrorResponse = ErrorV3;
13
+ export interface RollbackTerraformBackendV3Props extends RollbackTerraformBackendV3MutationPathParams, Omit<FetcherOptions<RollbackTerraformBackendV3MutationQueryParams, unknown>, 'url'> {
14
+ queryParams: RollbackTerraformBackendV3MutationQueryParams;
15
+ }
16
+ export declare function rollbackTerraformBackendV3(props: RollbackTerraformBackendV3Props): Promise<RollbackTerraformBackendV3OkResponse>;
17
+ /**
18
+ * 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.
19
+ *
20
+ */
21
+ export declare function useRollbackTerraformBackendV3Mutation(options?: Omit<UseMutationOptions<RollbackTerraformBackendV3OkResponse, RollbackTerraformBackendV3ErrorResponse, RollbackTerraformBackendV3Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<RollbackTerraformBackendV3OkResponse, ErrorV3, RollbackTerraformBackendV3Props, unknown>;