@harnessio/react-ng-manager-swagger-service-client 1.55.0 → 1.55.1

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 (19) hide show
  1. package/dist/ng-manager-swagger-service/src/services/hooks/useListImagesForDockerQuery.d.ts +23 -0
  2. package/dist/ng-manager-swagger-service/src/services/hooks/useListImagesForDockerQuery.js +14 -0
  3. package/dist/ng-manager-swagger-service/src/services/hooks/useListTagsForDockerQuery.d.ts +24 -0
  4. package/dist/ng-manager-swagger-service/src/services/hooks/useListTagsForDockerQuery.js +14 -0
  5. package/dist/ng-manager-swagger-service/src/services/index.d.ts +10 -0
  6. package/dist/ng-manager-swagger-service/src/services/index.js +2 -0
  7. package/dist/ng-manager-swagger-service/src/services/schemas/DockerImageDto.d.ts +3 -0
  8. package/dist/ng-manager-swagger-service/src/services/schemas/DockerImageDto.js +4 -0
  9. package/dist/ng-manager-swagger-service/src/services/schemas/DockerImagesResponseDto.d.ts +4 -0
  10. package/dist/ng-manager-swagger-service/src/services/schemas/DockerImagesResponseDto.js +1 -0
  11. package/dist/ng-manager-swagger-service/src/services/schemas/DockerTagDto.d.ts +3 -0
  12. package/dist/ng-manager-swagger-service/src/services/schemas/DockerTagDto.js +4 -0
  13. package/dist/ng-manager-swagger-service/src/services/schemas/DockerTagsResponseDto.d.ts +4 -0
  14. package/dist/ng-manager-swagger-service/src/services/schemas/DockerTagsResponseDto.js +1 -0
  15. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseDockerImagesResponseDto.d.ts +9 -0
  16. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseDockerImagesResponseDto.js +1 -0
  17. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseDockerTagsResponseDto.d.ts +9 -0
  18. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseDockerTagsResponseDto.js +1 -0
  19. package/package.json +1 -1
@@ -0,0 +1,23 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseDockerImagesResponseDto } from '../schemas/ResponseDockerImagesResponseDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface ListImagesForDockerQueryQueryParams {
8
+ connectorRef?: string;
9
+ accountIdentifier: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ namespace?: string;
13
+ }
14
+ export type ListImagesForDockerOkResponse = ResponseWithPagination<ResponseDockerImagesResponseDto>;
15
+ export type ListImagesForDockerErrorResponse = Failure | Error;
16
+ export interface ListImagesForDockerProps extends Omit<FetcherOptions<ListImagesForDockerQueryQueryParams, unknown>, 'url'> {
17
+ queryParams: ListImagesForDockerQueryQueryParams;
18
+ }
19
+ export declare function listImagesForDocker(props: ListImagesForDockerProps): Promise<ListImagesForDockerOkResponse>;
20
+ /**
21
+ *
22
+ */
23
+ export declare function useListImagesForDockerQuery(props: ListImagesForDockerProps, options?: Omit<UseQueryOptions<ListImagesForDockerOkResponse, ListImagesForDockerErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListImagesForDockerOkResponse, ListImagesForDockerErrorResponse>;
@@ -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 listImagesForDocker(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/docker/listImages`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useListImagesForDockerQuery(props, options) {
13
+ return useQuery(['listImagesForDocker', props.queryParams], ({ signal }) => listImagesForDocker(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,24 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseDockerTagsResponseDto } from '../schemas/ResponseDockerTagsResponseDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface ListTagsForDockerQueryQueryParams {
8
+ connectorRef?: string;
9
+ accountIdentifier: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ namespace?: string;
13
+ imagePath?: string;
14
+ }
15
+ export type ListTagsForDockerOkResponse = ResponseWithPagination<ResponseDockerTagsResponseDto>;
16
+ export type ListTagsForDockerErrorResponse = Failure | Error;
17
+ export interface ListTagsForDockerProps extends Omit<FetcherOptions<ListTagsForDockerQueryQueryParams, unknown>, 'url'> {
18
+ queryParams: ListTagsForDockerQueryQueryParams;
19
+ }
20
+ export declare function listTagsForDocker(props: ListTagsForDockerProps): Promise<ListTagsForDockerOkResponse>;
21
+ /**
22
+ *
23
+ */
24
+ export declare function useListTagsForDockerQuery(props: ListTagsForDockerProps, options?: Omit<UseQueryOptions<ListTagsForDockerOkResponse, ListTagsForDockerErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListTagsForDockerOkResponse, ListTagsForDockerErrorResponse>;
@@ -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 listTagsForDocker(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/docker/listTags`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useListTagsForDockerQuery(props, options) {
13
+ return useQuery(['listTagsForDocker', props.queryParams], ({ signal }) => listTagsForDocker(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -367,6 +367,8 @@ export type { ListFeedsForAzureArtifactsErrorResponse, ListFeedsForAzureArtifact
367
367
  export { listFeedsForAzureArtifacts, useListFeedsForAzureArtifactsQuery, } from './hooks/useListFeedsForAzureArtifactsQuery';
368
368
  export type { ListFeedsForAzureArtifactsWithServiceV2ErrorResponse, ListFeedsForAzureArtifactsWithServiceV2MutationQueryParams, ListFeedsForAzureArtifactsWithServiceV2OkResponse, ListFeedsForAzureArtifactsWithServiceV2Props, ListFeedsForAzureArtifactsWithServiceV2RequestBody, } from './hooks/useListFeedsForAzureArtifactsWithServiceV2Mutation';
369
369
  export { listFeedsForAzureArtifactsWithServiceV2, useListFeedsForAzureArtifactsWithServiceV2Mutation, } from './hooks/useListFeedsForAzureArtifactsWithServiceV2Mutation';
370
+ export type { ListImagesForDockerErrorResponse, ListImagesForDockerOkResponse, ListImagesForDockerProps, ListImagesForDockerQueryQueryParams, } from './hooks/useListImagesForDockerQuery';
371
+ export { listImagesForDocker, useListImagesForDockerQuery, } from './hooks/useListImagesForDockerQuery';
370
372
  export type { ListLlmModelsErrorResponse, ListLlmModelsMutationQueryParams, ListLlmModelsOkResponse, ListLlmModelsProps, ListLlmModelsRequestBody, } from './hooks/useListLlmModelsMutation';
371
373
  export { listLlmModels, useListLlmModelsMutation } from './hooks/useListLlmModelsMutation';
372
374
  export type { ListManageableServiceAccountsErrorResponse, ListManageableServiceAccountsOkResponse, ListManageableServiceAccountsProps, ListManageableServiceAccountsQueryQueryParams, } from './hooks/useListManageableServiceAccountsQuery';
@@ -385,6 +387,8 @@ export type { ListSecretsV2ErrorResponse, ListSecretsV2OkResponse, ListSecretsV2
385
387
  export { listSecretsV2, useListSecretsV2Query } from './hooks/useListSecretsV2Query';
386
388
  export type { ListTagsForAmiArtifactErrorResponse, ListTagsForAmiArtifactMutationQueryParams, ListTagsForAmiArtifactOkResponse, ListTagsForAmiArtifactProps, ListTagsForAmiArtifactRequestBody, } from './hooks/useListTagsForAmiArtifactMutation';
387
389
  export { listTagsForAmiArtifact, useListTagsForAmiArtifactMutation, } from './hooks/useListTagsForAmiArtifactMutation';
390
+ export type { ListTagsForDockerErrorResponse, ListTagsForDockerOkResponse, ListTagsForDockerProps, ListTagsForDockerQueryQueryParams, } from './hooks/useListTagsForDockerQuery';
391
+ export { listTagsForDocker, useListTagsForDockerQuery } from './hooks/useListTagsForDockerQuery';
388
392
  export type { ListVersionsForAmiArtifactErrorResponse, ListVersionsForAmiArtifactMutationQueryParams, ListVersionsForAmiArtifactOkResponse, ListVersionsForAmiArtifactProps, ListVersionsForAmiArtifactRequestBody, } from './hooks/useListVersionsForAmiArtifactMutation';
389
393
  export { listVersionsForAmiArtifact, useListVersionsForAmiArtifactMutation, } from './hooks/useListVersionsForAmiArtifactMutation';
390
394
  export type { ListVersionsFromPackageWithServiceV2ErrorResponse, ListVersionsFromPackageWithServiceV2MutationQueryParams, ListVersionsFromPackageWithServiceV2OkResponse, ListVersionsFromPackageWithServiceV2Props, ListVersionsFromPackageWithServiceV2RequestBody, } from './hooks/useListVersionsFromPackageWithServiceV2Mutation';
@@ -566,8 +570,12 @@ export type { DestinationEnvironmentConfig } from './schemas/DestinationEnvironm
566
570
  export type { DestinationServiceConfig } from './schemas/DestinationServiceConfig';
567
571
  export type { DiscoveryStatusDto } from './schemas/DiscoveryStatusDto';
568
572
  export type { DockerBuildDetailsDto } from './schemas/DockerBuildDetailsDto';
573
+ export type { DockerImageDto } from './schemas/DockerImageDto';
574
+ export type { DockerImagesResponseDto } from './schemas/DockerImagesResponseDto';
569
575
  export type { DockerRequestDto } from './schemas/DockerRequestDto';
570
576
  export type { DockerResponseDto } from './schemas/DockerResponseDto';
577
+ export type { DockerTagDto } from './schemas/DockerTagDto';
578
+ export type { DockerTagsResponseDto } from './schemas/DockerTagsResponseDto';
571
579
  export type { EcrBuildDetailsDto } from './schemas/EcrBuildDetailsDto';
572
580
  export type { EcrListImagesDto } from './schemas/EcrListImagesDto';
573
581
  export type { EcrRequestDto } from './schemas/EcrRequestDto';
@@ -757,7 +765,9 @@ export type { ResponseClusterDetailsDto } from './schemas/ResponseClusterDetails
757
765
  export type { ResponseClusterInfraListDto } from './schemas/ResponseClusterInfraListDto';
758
766
  export type { ResponseCreateProviderResponse } from './schemas/ResponseCreateProviderResponse';
759
767
  export type { ResponseDockerBuildDetailsDto } from './schemas/ResponseDockerBuildDetailsDto';
768
+ export type { ResponseDockerImagesResponseDto } from './schemas/ResponseDockerImagesResponseDto';
760
769
  export type { ResponseDockerResponseDto } from './schemas/ResponseDockerResponseDto';
770
+ export type { ResponseDockerTagsResponseDto } from './schemas/ResponseDockerTagsResponseDto';
761
771
  export type { ResponseEcrBuildDetailsDto } from './schemas/ResponseEcrBuildDetailsDto';
762
772
  export type { ResponseEcrListImagesDto } from './schemas/ResponseEcrListImagesDto';
763
773
  export type { ResponseEcrResponseDto } from './schemas/ResponseEcrResponseDto';
@@ -182,6 +182,7 @@ export { listClusterInfras, useListClusterInfrasQuery } from './hooks/useListClu
182
182
  export { listClusters, useListClustersQuery } from './hooks/useListClustersQuery';
183
183
  export { listFeedsForAzureArtifacts, useListFeedsForAzureArtifactsQuery, } from './hooks/useListFeedsForAzureArtifactsQuery';
184
184
  export { listFeedsForAzureArtifactsWithServiceV2, useListFeedsForAzureArtifactsWithServiceV2Mutation, } from './hooks/useListFeedsForAzureArtifactsWithServiceV2Mutation';
185
+ export { listImagesForDocker, useListImagesForDockerQuery, } from './hooks/useListImagesForDockerQuery';
185
186
  export { listLlmModels, useListLlmModelsMutation } from './hooks/useListLlmModelsMutation';
186
187
  export { listManageableServiceAccounts, useListManageableServiceAccountsQuery, } from './hooks/useListManageableServiceAccountsQuery';
187
188
  export { listMcpTools, useListMcpToolsQuery } from './hooks/useListMcpToolsQuery';
@@ -191,6 +192,7 @@ export { listProjectsForAzureArtifacts, useListProjectsForAzureArtifactsQuery, }
191
192
  export { listProjectsForAzureArtifactsWithServiceV2, useListProjectsForAzureArtifactsWithServiceV2Mutation, } from './hooks/useListProjectsForAzureArtifactsWithServiceV2Mutation';
192
193
  export { listSecretsV2, useListSecretsV2Query } from './hooks/useListSecretsV2Query';
193
194
  export { listTagsForAmiArtifact, useListTagsForAmiArtifactMutation, } from './hooks/useListTagsForAmiArtifactMutation';
195
+ export { listTagsForDocker, useListTagsForDockerQuery } from './hooks/useListTagsForDockerQuery';
194
196
  export { listVersionsForAmiArtifact, useListVersionsForAmiArtifactMutation, } from './hooks/useListVersionsForAmiArtifactMutation';
195
197
  export { listVersionsFromPackageWithServiceV2, useListVersionsFromPackageWithServiceV2Mutation, } from './hooks/useListVersionsFromPackageWithServiceV2Mutation';
196
198
  export { moveProject, useMoveProjectMutation } from './hooks/useMoveProjectMutation';
@@ -0,0 +1,3 @@
1
+ export interface DockerImageDto {
2
+ imagePath?: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { DockerImageDto } from '../schemas/DockerImageDto';
2
+ export interface DockerImagesResponseDto {
3
+ images?: DockerImageDto[];
4
+ }
@@ -0,0 +1,3 @@
1
+ export interface DockerTagDto {
2
+ tag?: string;
3
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import type { DockerTagDto } from '../schemas/DockerTagDto';
2
+ export interface DockerTagsResponseDto {
3
+ tags?: DockerTagDto[];
4
+ }
@@ -0,0 +1,9 @@
1
+ import type { DockerImagesResponseDto } from '../schemas/DockerImagesResponseDto';
2
+ export interface ResponseDockerImagesResponseDto {
3
+ correlationId?: string;
4
+ data?: DockerImagesResponseDto;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { DockerTagsResponseDto } from '../schemas/DockerTagsResponseDto';
2
+ export interface ResponseDockerTagsResponseDto {
3
+ correlationId?: string;
4
+ data?: DockerTagsResponseDto;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ng-manager-swagger-service-client",
3
- "version": "1.55.0",
3
+ "version": "1.55.1",
4
4
  "description": "Harness React NG Manager Swagger service client - NG Manager APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",