@harnessio/react-har-service-client 0.0.10 → 0.0.11
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/useDeleteRegistryMutation.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetAllArtifactVersionsQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetAllArtifactsQuery.d.ts +3 -5
- package/dist/har-service/src/services/hooks/useGetAllRegistriesQuery.d.ts +3 -8
- package/dist/har-service/src/services/hooks/useGetArtifactStatsForRegistryQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetArtifactStatsForSpaceQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetArtifactStatsQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetArtifactSummaryQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetArtifactVersionSummaryQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetClientSetupDetailsQuery.d.ts +8 -2
- package/dist/har-service/src/services/hooks/useGetClientSetupDetailsQuery.js +1 -1
- package/dist/har-service/src/services/hooks/useGetDockerArtifactDetailsQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetDockerArtifactLayersQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetDockerArtifactManifestQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetDockerArtifactManifestsQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetHelmArtifactDetailsQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetHelmArtifactManifestQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useGetRegistryQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useListArtifactLabelsQuery.d.ts +2 -1
- package/dist/har-service/src/services/hooks/useUpdateArtifactLabelsMutation.d.ts +2 -1
- package/dist/har-service/src/services/index.d.ts +2 -1
- package/dist/har-service/src/services/schemas/ClientSetupStep.d.ts +2 -0
- package/dist/har-service/src/services/schemas/ClientSetupStep.js +0 -3
- package/dist/har-service/src/services/schemas/ClientSetupStepType.d.ts +4 -0
- package/dist/har-service/src/services/schemas/ClientSetupStepType.js +4 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { SuccessResponse } from '../responses/SuccessResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -10,7 +11,7 @@ export interface DeleteRegistryMutationPathParams {
|
|
|
10
11
|
registry_ref: string;
|
|
11
12
|
}
|
|
12
13
|
export type DeleteRegistryOkResponse = ResponseWithPagination<SuccessResponse>;
|
|
13
|
-
export type DeleteRegistryErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
14
|
+
export type DeleteRegistryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
14
15
|
export interface DeleteRegistryProps extends DeleteRegistryMutationPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
15
16
|
}
|
|
16
17
|
export declare function deleteRegistry(props: DeleteRegistryProps): Promise<DeleteRegistryOkResponse>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ListArtifactVersionResponseResponse } from '../responses/ListArtifactVersionResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -25,7 +26,7 @@ export interface GetAllArtifactVersionsQueryQueryParams {
|
|
|
25
26
|
search_term?: string;
|
|
26
27
|
}
|
|
27
28
|
export type GetAllArtifactVersionsOkResponse = ResponseWithPagination<ListArtifactVersionResponseResponse>;
|
|
28
|
-
export type GetAllArtifactVersionsErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
29
|
+
export type GetAllArtifactVersionsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
29
30
|
export interface GetAllArtifactVersionsProps extends GetAllArtifactVersionsQueryPathParams, Omit<FetcherOptions<GetAllArtifactVersionsQueryQueryParams, unknown>, 'url'> {
|
|
30
31
|
queryParams: GetAllArtifactVersionsQueryQueryParams;
|
|
31
32
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ListArtifactResponseResponse } from '../responses/ListArtifactResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -10,10 +11,7 @@ export interface GetAllArtifactsQueryPathParams {
|
|
|
10
11
|
space_ref: string;
|
|
11
12
|
}
|
|
12
13
|
export interface GetAllArtifactsQueryQueryParams {
|
|
13
|
-
|
|
14
|
-
* refers to package
|
|
15
|
-
*/
|
|
16
|
-
package_types?: 'DOCKER' | 'GENERIC' | 'HELM' | 'MAVEN';
|
|
14
|
+
package_types?: string;
|
|
17
15
|
reg_identifier?: string;
|
|
18
16
|
/**
|
|
19
17
|
* @format int32
|
|
@@ -29,7 +27,7 @@ export interface GetAllArtifactsQueryQueryParams {
|
|
|
29
27
|
search_term?: string;
|
|
30
28
|
}
|
|
31
29
|
export type GetAllArtifactsOkResponse = ResponseWithPagination<ListArtifactResponseResponse>;
|
|
32
|
-
export type GetAllArtifactsErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
30
|
+
export type GetAllArtifactsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
33
31
|
export interface GetAllArtifactsProps extends GetAllArtifactsQueryPathParams, Omit<FetcherOptions<GetAllArtifactsQueryQueryParams, unknown>, 'url'> {
|
|
34
32
|
queryParams: GetAllArtifactsQueryQueryParams;
|
|
35
33
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ListRegistryResponseResponse } from '../responses/ListRegistryResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -10,13 +11,7 @@ export interface GetAllRegistriesQueryPathParams {
|
|
|
10
11
|
space_ref: string;
|
|
11
12
|
}
|
|
12
13
|
export interface GetAllRegistriesQueryQueryParams {
|
|
13
|
-
|
|
14
|
-
* refers to package
|
|
15
|
-
*/
|
|
16
|
-
package_types?: 'DOCKER' | 'GENERIC' | 'HELM' | 'MAVEN';
|
|
17
|
-
/**
|
|
18
|
-
* refers to type of registry i.e virtual or upstream
|
|
19
|
-
*/
|
|
14
|
+
package_types?: string;
|
|
20
15
|
type?: 'UPSTREAM' | 'VIRTUAL';
|
|
21
16
|
/**
|
|
22
17
|
* @format int32
|
|
@@ -32,7 +27,7 @@ export interface GetAllRegistriesQueryQueryParams {
|
|
|
32
27
|
search_term?: string;
|
|
33
28
|
}
|
|
34
29
|
export type GetAllRegistriesOkResponse = ResponseWithPagination<ListRegistryResponseResponse>;
|
|
35
|
-
export type GetAllRegistriesErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
30
|
+
export type GetAllRegistriesErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
36
31
|
export interface GetAllRegistriesProps extends GetAllRegistriesQueryPathParams, Omit<FetcherOptions<GetAllRegistriesQueryQueryParams, unknown>, 'url'> {
|
|
37
32
|
queryParams: GetAllRegistriesQueryQueryParams;
|
|
38
33
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ArtifactStatsResponseResponse } from '../responses/ArtifactStatsResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -14,7 +15,7 @@ export interface GetArtifactStatsForRegistryQueryQueryParams {
|
|
|
14
15
|
to?: string;
|
|
15
16
|
}
|
|
16
17
|
export type GetArtifactStatsForRegistryOkResponse = ResponseWithPagination<ArtifactStatsResponseResponse>;
|
|
17
|
-
export type GetArtifactStatsForRegistryErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
18
|
+
export type GetArtifactStatsForRegistryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
18
19
|
export interface GetArtifactStatsForRegistryProps extends GetArtifactStatsForRegistryQueryPathParams, Omit<FetcherOptions<GetArtifactStatsForRegistryQueryQueryParams, unknown>, 'url'> {
|
|
19
20
|
queryParams: GetArtifactStatsForRegistryQueryQueryParams;
|
|
20
21
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ArtifactStatsResponseResponse } from '../responses/ArtifactStatsResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -14,7 +15,7 @@ export interface GetArtifactStatsForSpaceQueryQueryParams {
|
|
|
14
15
|
to?: string;
|
|
15
16
|
}
|
|
16
17
|
export type GetArtifactStatsForSpaceOkResponse = ResponseWithPagination<ArtifactStatsResponseResponse>;
|
|
17
|
-
export type GetArtifactStatsForSpaceErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
18
|
+
export type GetArtifactStatsForSpaceErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
18
19
|
export interface GetArtifactStatsForSpaceProps extends GetArtifactStatsForSpaceQueryPathParams, Omit<FetcherOptions<GetArtifactStatsForSpaceQueryQueryParams, unknown>, 'url'> {
|
|
19
20
|
queryParams: GetArtifactStatsForSpaceQueryQueryParams;
|
|
20
21
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ArtifactStatsResponseResponse } from '../responses/ArtifactStatsResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -15,7 +16,7 @@ export interface GetArtifactStatsQueryQueryParams {
|
|
|
15
16
|
to?: string;
|
|
16
17
|
}
|
|
17
18
|
export type GetArtifactStatsOkResponse = ResponseWithPagination<ArtifactStatsResponseResponse>;
|
|
18
|
-
export type GetArtifactStatsErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
19
|
+
export type GetArtifactStatsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
19
20
|
export interface GetArtifactStatsProps extends GetArtifactStatsQueryPathParams, Omit<FetcherOptions<GetArtifactStatsQueryQueryParams, unknown>, 'url'> {
|
|
20
21
|
queryParams: GetArtifactStatsQueryQueryParams;
|
|
21
22
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ArtifactSummaryResponseResponse } from '../responses/ArtifactSummaryResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -11,7 +12,7 @@ export interface GetArtifactSummaryQueryPathParams {
|
|
|
11
12
|
artifact: string;
|
|
12
13
|
}
|
|
13
14
|
export type GetArtifactSummaryOkResponse = ResponseWithPagination<ArtifactSummaryResponseResponse>;
|
|
14
|
-
export type GetArtifactSummaryErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
15
|
+
export type GetArtifactSummaryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
15
16
|
export interface GetArtifactSummaryProps extends GetArtifactSummaryQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
16
17
|
}
|
|
17
18
|
export declare function getArtifactSummary(props: GetArtifactSummaryProps): Promise<GetArtifactSummaryOkResponse>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ArtifactVersionSummaryResponseResponse } from '../responses/ArtifactVersionSummaryResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -12,7 +13,7 @@ export interface GetArtifactVersionSummaryQueryPathParams {
|
|
|
12
13
|
version: string;
|
|
13
14
|
}
|
|
14
15
|
export type GetArtifactVersionSummaryOkResponse = ResponseWithPagination<ArtifactVersionSummaryResponseResponse>;
|
|
15
|
-
export type GetArtifactVersionSummaryErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
16
|
+
export type GetArtifactVersionSummaryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
16
17
|
export interface GetArtifactVersionSummaryProps extends GetArtifactVersionSummaryQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
17
18
|
}
|
|
18
19
|
export declare function getArtifactVersionSummary(props: GetArtifactVersionSummaryProps): Promise<GetArtifactVersionSummaryOkResponse>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ClientSetupDetailsResponseResponse } from '../responses/ClientSetupDetailsResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -9,9 +10,14 @@ import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
|
9
10
|
export interface GetClientSetupDetailsQueryPathParams {
|
|
10
11
|
registry_ref: string;
|
|
11
12
|
}
|
|
13
|
+
export interface GetClientSetupDetailsQueryQueryParams {
|
|
14
|
+
artifact?: string;
|
|
15
|
+
version?: string;
|
|
16
|
+
}
|
|
12
17
|
export type GetClientSetupDetailsOkResponse = ResponseWithPagination<ClientSetupDetailsResponseResponse>;
|
|
13
|
-
export type GetClientSetupDetailsErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
14
|
-
export interface GetClientSetupDetailsProps extends GetClientSetupDetailsQueryPathParams, Omit<FetcherOptions<
|
|
18
|
+
export type GetClientSetupDetailsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
19
|
+
export interface GetClientSetupDetailsProps extends GetClientSetupDetailsQueryPathParams, Omit<FetcherOptions<GetClientSetupDetailsQueryQueryParams, unknown>, 'url'> {
|
|
20
|
+
queryParams: GetClientSetupDetailsQueryQueryParams;
|
|
15
21
|
}
|
|
16
22
|
export declare function getClientSetupDetails(props: GetClientSetupDetailsProps): Promise<GetClientSetupDetailsOkResponse>;
|
|
17
23
|
/**
|
|
@@ -10,5 +10,5 @@ export function getClientSetupDetails(props) {
|
|
|
10
10
|
* Returns CLI Client Setup Details based on package type
|
|
11
11
|
*/
|
|
12
12
|
export function useGetClientSetupDetailsQuery(props, options) {
|
|
13
|
-
return useQuery(['GetClientSetupDetails', props.registry_ref], ({ signal }) => getClientSetupDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
13
|
+
return useQuery(['GetClientSetupDetails', props.registry_ref, props.queryParams], ({ signal }) => getClientSetupDetails(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
14
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DockerArtifactDetailResponseResponse } from '../responses/DockerArtifactDetailResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -15,7 +16,7 @@ export interface GetDockerArtifactDetailsQueryQueryParams {
|
|
|
15
16
|
digest: string;
|
|
16
17
|
}
|
|
17
18
|
export type GetDockerArtifactDetailsOkResponse = ResponseWithPagination<DockerArtifactDetailResponseResponse>;
|
|
18
|
-
export type GetDockerArtifactDetailsErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
19
|
+
export type GetDockerArtifactDetailsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
19
20
|
export interface GetDockerArtifactDetailsProps extends GetDockerArtifactDetailsQueryPathParams, Omit<FetcherOptions<GetDockerArtifactDetailsQueryQueryParams, unknown>, 'url'> {
|
|
20
21
|
queryParams: GetDockerArtifactDetailsQueryQueryParams;
|
|
21
22
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DockerLayersResponseResponse } from '../responses/DockerLayersResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -15,7 +16,7 @@ export interface GetDockerArtifactLayersQueryQueryParams {
|
|
|
15
16
|
digest: string;
|
|
16
17
|
}
|
|
17
18
|
export type GetDockerArtifactLayersOkResponse = ResponseWithPagination<DockerLayersResponseResponse>;
|
|
18
|
-
export type GetDockerArtifactLayersErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
19
|
+
export type GetDockerArtifactLayersErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
19
20
|
export interface GetDockerArtifactLayersProps extends GetDockerArtifactLayersQueryPathParams, Omit<FetcherOptions<GetDockerArtifactLayersQueryQueryParams, unknown>, 'url'> {
|
|
20
21
|
queryParams: GetDockerArtifactLayersQueryQueryParams;
|
|
21
22
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DockerArtifactManifestResponseResponse } from '../responses/DockerArtifactManifestResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -15,7 +16,7 @@ export interface GetDockerArtifactManifestQueryQueryParams {
|
|
|
15
16
|
digest: string;
|
|
16
17
|
}
|
|
17
18
|
export type GetDockerArtifactManifestOkResponse = ResponseWithPagination<DockerArtifactManifestResponseResponse>;
|
|
18
|
-
export type GetDockerArtifactManifestErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
19
|
+
export type GetDockerArtifactManifestErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
19
20
|
export interface GetDockerArtifactManifestProps extends GetDockerArtifactManifestQueryPathParams, Omit<FetcherOptions<GetDockerArtifactManifestQueryQueryParams, unknown>, 'url'> {
|
|
20
21
|
queryParams: GetDockerArtifactManifestQueryQueryParams;
|
|
21
22
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { DockerManifestsResponseResponse } from '../responses/DockerManifestsResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -12,7 +13,7 @@ export interface GetDockerArtifactManifestsQueryPathParams {
|
|
|
12
13
|
version: string;
|
|
13
14
|
}
|
|
14
15
|
export type GetDockerArtifactManifestsOkResponse = ResponseWithPagination<DockerManifestsResponseResponse>;
|
|
15
|
-
export type GetDockerArtifactManifestsErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
16
|
+
export type GetDockerArtifactManifestsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
16
17
|
export interface GetDockerArtifactManifestsProps extends GetDockerArtifactManifestsQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
17
18
|
}
|
|
18
19
|
export declare function getDockerArtifactManifests(props: GetDockerArtifactManifestsProps): Promise<GetDockerArtifactManifestsOkResponse>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { HelmArtifactDetailResponseResponse } from '../responses/HelmArtifactDetailResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -12,7 +13,7 @@ export interface GetHelmArtifactDetailsQueryPathParams {
|
|
|
12
13
|
version: string;
|
|
13
14
|
}
|
|
14
15
|
export type GetHelmArtifactDetailsOkResponse = ResponseWithPagination<HelmArtifactDetailResponseResponse>;
|
|
15
|
-
export type GetHelmArtifactDetailsErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
16
|
+
export type GetHelmArtifactDetailsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
16
17
|
export interface GetHelmArtifactDetailsProps extends GetHelmArtifactDetailsQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
17
18
|
}
|
|
18
19
|
export declare function getHelmArtifactDetails(props: GetHelmArtifactDetailsProps): Promise<GetHelmArtifactDetailsOkResponse>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { HelmArtifactManifestResponseResponse } from '../responses/HelmArtifactManifestResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -12,7 +13,7 @@ export interface GetHelmArtifactManifestQueryPathParams {
|
|
|
12
13
|
version: string;
|
|
13
14
|
}
|
|
14
15
|
export type GetHelmArtifactManifestOkResponse = ResponseWithPagination<HelmArtifactManifestResponseResponse>;
|
|
15
|
-
export type GetHelmArtifactManifestErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
16
|
+
export type GetHelmArtifactManifestErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
16
17
|
export interface GetHelmArtifactManifestProps extends GetHelmArtifactManifestQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
17
18
|
}
|
|
18
19
|
export declare function getHelmArtifactManifest(props: GetHelmArtifactManifestProps): Promise<GetHelmArtifactManifestOkResponse>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { RegistryResponseResponse } from '../responses/RegistryResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -10,7 +11,7 @@ export interface GetRegistryQueryPathParams {
|
|
|
10
11
|
registry_ref: string;
|
|
11
12
|
}
|
|
12
13
|
export type GetRegistryOkResponse = ResponseWithPagination<RegistryResponseResponse>;
|
|
13
|
-
export type GetRegistryErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
14
|
+
export type GetRegistryErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
14
15
|
export interface GetRegistryProps extends GetRegistryQueryPathParams, Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
15
16
|
}
|
|
16
17
|
export declare function getRegistry(props: GetRegistryProps): Promise<GetRegistryOkResponse>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ListArtifactLabelResponseResponse } from '../responses/ListArtifactLabelResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -23,7 +24,7 @@ export interface ListArtifactLabelsQueryQueryParams {
|
|
|
23
24
|
search_term?: string;
|
|
24
25
|
}
|
|
25
26
|
export type ListArtifactLabelsOkResponse = ResponseWithPagination<ListArtifactLabelResponseResponse>;
|
|
26
|
-
export type ListArtifactLabelsErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
27
|
+
export type ListArtifactLabelsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
27
28
|
export interface ListArtifactLabelsProps extends ListArtifactLabelsQueryPathParams, Omit<FetcherOptions<ListArtifactLabelsQueryQueryParams, unknown>, 'url'> {
|
|
28
29
|
queryParams: ListArtifactLabelsQueryQueryParams;
|
|
29
30
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { ArtifactLabelResponseResponse } from '../responses/ArtifactLabelResponseResponse';
|
|
3
|
+
import type { BadRequestResponse } from '../responses/BadRequestResponse';
|
|
3
4
|
import type { UnauthenticatedResponse } from '../responses/UnauthenticatedResponse';
|
|
4
5
|
import type { UnauthorizedResponse } from '../responses/UnauthorizedResponse';
|
|
5
6
|
import type { NotFoundResponse } from '../responses/NotFoundResponse';
|
|
@@ -13,7 +14,7 @@ export interface UpdateArtifactLabelsMutationPathParams {
|
|
|
13
14
|
}
|
|
14
15
|
export type UpdateArtifactLabelsRequestBody = ArtifactLabelRequestRequestBody;
|
|
15
16
|
export type UpdateArtifactLabelsOkResponse = ResponseWithPagination<ArtifactLabelResponseResponse>;
|
|
16
|
-
export type UpdateArtifactLabelsErrorResponse = UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
17
|
+
export type UpdateArtifactLabelsErrorResponse = BadRequestResponse | UnauthenticatedResponse | UnauthorizedResponse | NotFoundResponse | InternalServerErrorResponse;
|
|
17
18
|
export interface UpdateArtifactLabelsProps extends UpdateArtifactLabelsMutationPathParams, Omit<FetcherOptions<unknown, UpdateArtifactLabelsRequestBody>, 'url'> {
|
|
18
19
|
body: UpdateArtifactLabelsRequestBody;
|
|
19
20
|
}
|
|
@@ -19,7 +19,7 @@ export type { GetArtifactSummaryErrorResponse, GetArtifactSummaryOkResponse, Get
|
|
|
19
19
|
export { getArtifactSummary, useGetArtifactSummaryQuery } from './hooks/useGetArtifactSummaryQuery';
|
|
20
20
|
export type { GetArtifactVersionSummaryErrorResponse, GetArtifactVersionSummaryOkResponse, GetArtifactVersionSummaryProps, GetArtifactVersionSummaryQueryPathParams, } from './hooks/useGetArtifactVersionSummaryQuery';
|
|
21
21
|
export { getArtifactVersionSummary, useGetArtifactVersionSummaryQuery, } from './hooks/useGetArtifactVersionSummaryQuery';
|
|
22
|
-
export type { GetClientSetupDetailsErrorResponse, GetClientSetupDetailsOkResponse, GetClientSetupDetailsProps, GetClientSetupDetailsQueryPathParams, } from './hooks/useGetClientSetupDetailsQuery';
|
|
22
|
+
export type { GetClientSetupDetailsErrorResponse, GetClientSetupDetailsOkResponse, GetClientSetupDetailsProps, GetClientSetupDetailsQueryPathParams, GetClientSetupDetailsQueryQueryParams, } from './hooks/useGetClientSetupDetailsQuery';
|
|
23
23
|
export { getClientSetupDetails, useGetClientSetupDetailsQuery, } from './hooks/useGetClientSetupDetailsQuery';
|
|
24
24
|
export type { GetDockerArtifactDetailsErrorResponse, GetDockerArtifactDetailsOkResponse, GetDockerArtifactDetailsProps, GetDockerArtifactDetailsQueryPathParams, GetDockerArtifactDetailsQueryQueryParams, } from './hooks/useGetDockerArtifactDetailsQuery';
|
|
25
25
|
export { getDockerArtifactDetails, useGetDockerArtifactDetailsQuery, } from './hooks/useGetDockerArtifactDetailsQuery';
|
|
@@ -77,6 +77,7 @@ export type { CleanupPolicy } from './schemas/CleanupPolicy';
|
|
|
77
77
|
export type { ClientSetupDetails } from './schemas/ClientSetupDetails';
|
|
78
78
|
export type { ClientSetupSection } from './schemas/ClientSetupSection';
|
|
79
79
|
export type { ClientSetupStep } from './schemas/ClientSetupStep';
|
|
80
|
+
export type { ClientSetupStepType } from './schemas/ClientSetupStepType';
|
|
80
81
|
export type { DockerArtifactDetail } from './schemas/DockerArtifactDetail';
|
|
81
82
|
export type { DockerArtifactManifest } from './schemas/DockerArtifactManifest';
|
|
82
83
|
export type { DockerLayerEntry } from './schemas/DockerLayerEntry';
|