@harnessio/react-ng-manager-swagger-service-client 1.15.0 → 1.17.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 (54) hide show
  1. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForAcrRepositoryMutation.d.ts +28 -0
  2. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForAcrRepositoryMutation.js +14 -0
  3. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForArtifactoryArtifactMutation.d.ts +29 -0
  4. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForArtifactoryArtifactMutation.js +14 -0
  5. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGcrMutation.d.ts +26 -0
  6. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGcrMutation.js +14 -0
  7. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation.d.ts +29 -0
  8. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation.js +14 -0
  9. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForNexusArtifactMutation.d.ts +30 -0
  10. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForNexusArtifactMutation.js +14 -0
  11. package/dist/ng-manager-swagger-service/src/services/hooks/useListVersionsForAmiArtifactMutation.d.ts +39 -0
  12. package/dist/ng-manager-swagger-service/src/services/hooks/useListVersionsForAmiArtifactMutation.js +14 -0
  13. package/dist/ng-manager-swagger-service/src/services/index.d.ts +31 -0
  14. package/dist/ng-manager-swagger-service/src/services/index.js +6 -0
  15. package/dist/ng-manager-swagger-service/src/services/requestBodies/AcrRequestDtoRequestBody.d.ts +2 -0
  16. package/dist/ng-manager-swagger-service/src/services/requestBodies/AcrRequestDtoRequestBody.js +1 -0
  17. package/dist/ng-manager-swagger-service/src/services/requestBodies/ArtifactoryRequestDtoRequestBody.d.ts +2 -0
  18. package/dist/ng-manager-swagger-service/src/services/requestBodies/ArtifactoryRequestDtoRequestBody.js +1 -0
  19. package/dist/ng-manager-swagger-service/src/services/requestBodies/GarRequestDtoRequestBody.d.ts +2 -0
  20. package/dist/ng-manager-swagger-service/src/services/requestBodies/GarRequestDtoRequestBody.js +1 -0
  21. package/dist/ng-manager-swagger-service/src/services/requestBodies/GcrRequestDtoRequestBody.d.ts +2 -0
  22. package/dist/ng-manager-swagger-service/src/services/requestBodies/GcrRequestDtoRequestBody.js +1 -0
  23. package/dist/ng-manager-swagger-service/src/services/requestBodies/NexusRequestDtoRequestBody.d.ts +2 -0
  24. package/dist/ng-manager-swagger-service/src/services/requestBodies/NexusRequestDtoRequestBody.js +1 -0
  25. package/dist/ng-manager-swagger-service/src/services/schemas/AcrRequestDto.d.ts +6 -0
  26. package/dist/ng-manager-swagger-service/src/services/schemas/AcrRequestDto.js +4 -0
  27. package/dist/ng-manager-swagger-service/src/services/schemas/AmiFilter.d.ts +4 -0
  28. package/dist/ng-manager-swagger-service/src/services/schemas/AmiFilter.js +4 -0
  29. package/dist/ng-manager-swagger-service/src/services/schemas/AmiRequestBody.d.ts +7 -0
  30. package/dist/ng-manager-swagger-service/src/services/schemas/AmiRequestBody.js +1 -0
  31. package/dist/ng-manager-swagger-service/src/services/schemas/AmiTag.d.ts +4 -0
  32. package/dist/ng-manager-swagger-service/src/services/schemas/AmiTag.js +4 -0
  33. package/dist/ng-manager-swagger-service/src/services/schemas/ArtifactoryRequestDto.d.ts +5 -0
  34. package/dist/ng-manager-swagger-service/src/services/schemas/ArtifactoryRequestDto.js +4 -0
  35. package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentFilterProperties.d.ts +1 -1
  36. package/dist/ng-manager-swagger-service/src/services/schemas/GarRequestDto.d.ts +6 -0
  37. package/dist/ng-manager-swagger-service/src/services/schemas/GarRequestDto.js +4 -0
  38. package/dist/ng-manager-swagger-service/src/services/schemas/GcrBuildDetailsDto.d.ts +11 -0
  39. package/dist/ng-manager-swagger-service/src/services/schemas/GcrBuildDetailsDto.js +4 -0
  40. package/dist/ng-manager-swagger-service/src/services/schemas/GcrRequestDto.d.ts +7 -0
  41. package/dist/ng-manager-swagger-service/src/services/schemas/GcrRequestDto.js +4 -0
  42. package/dist/ng-manager-swagger-service/src/services/schemas/NexusRequestDto.d.ts +5 -0
  43. package/dist/ng-manager-swagger-service/src/services/schemas/NexusRequestDto.js +4 -0
  44. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAcrBuildDetailsDto.d.ts +9 -0
  45. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAcrBuildDetailsDto.js +1 -0
  46. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseArtifactoryBuildDetailsDto.d.ts +9 -0
  47. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseArtifactoryBuildDetailsDto.js +1 -0
  48. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGarBuildDetailsDto.d.ts +9 -0
  49. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGarBuildDetailsDto.js +1 -0
  50. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGcrBuildDetailsDto.d.ts +9 -0
  51. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGcrBuildDetailsDto.js +1 -0
  52. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseNexusBuildDetailsDto.d.ts +9 -0
  53. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseNexusBuildDetailsDto.js +1 -0
  54. package/package.json +1 -1
@@ -0,0 +1,28 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseAcrBuildDetailsDto } from '../schemas/ResponseAcrBuildDetailsDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { AcrRequestDtoRequestBody } from '../requestBodies/AcrRequestDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetLastSuccessfulBuildForAcrRepositoryMutationQueryParams {
9
+ subscriptionId?: string;
10
+ registry?: string;
11
+ repository?: string;
12
+ connectorRef?: string;
13
+ accountIdentifier: string;
14
+ orgIdentifier?: string;
15
+ projectIdentifier?: string;
16
+ }
17
+ export type GetLastSuccessfulBuildForAcrRepositoryRequestBody = AcrRequestDtoRequestBody;
18
+ export type GetLastSuccessfulBuildForAcrRepositoryOkResponse = ResponseWithPagination<ResponseAcrBuildDetailsDto>;
19
+ export type GetLastSuccessfulBuildForAcrRepositoryErrorResponse = Failure | Error;
20
+ export interface GetLastSuccessfulBuildForAcrRepositoryProps extends Omit<FetcherOptions<GetLastSuccessfulBuildForAcrRepositoryMutationQueryParams, GetLastSuccessfulBuildForAcrRepositoryRequestBody>, 'url'> {
21
+ queryParams: GetLastSuccessfulBuildForAcrRepositoryMutationQueryParams;
22
+ body: GetLastSuccessfulBuildForAcrRepositoryRequestBody;
23
+ }
24
+ export declare function getLastSuccessfulBuildForAcrRepository(props: GetLastSuccessfulBuildForAcrRepositoryProps): Promise<GetLastSuccessfulBuildForAcrRepositoryOkResponse>;
25
+ /**
26
+ *
27
+ */
28
+ export declare function useGetLastSuccessfulBuildForAcrRepositoryMutation(options?: Omit<UseMutationOptions<GetLastSuccessfulBuildForAcrRepositoryOkResponse, GetLastSuccessfulBuildForAcrRepositoryErrorResponse, GetLastSuccessfulBuildForAcrRepositoryProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetLastSuccessfulBuildForAcrRepositoryOkResponse, GetLastSuccessfulBuildForAcrRepositoryErrorResponse, GetLastSuccessfulBuildForAcrRepositoryProps, unknown>;
@@ -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 { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getLastSuccessfulBuildForAcrRepository(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/acr/getLastSuccessfulBuild`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetLastSuccessfulBuildForAcrRepositoryMutation(options) {
13
+ return useMutation((mutateProps) => getLastSuccessfulBuildForAcrRepository(mutateProps), options);
14
+ }
@@ -0,0 +1,29 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseArtifactoryBuildDetailsDto } from '../schemas/ResponseArtifactoryBuildDetailsDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ArtifactoryRequestDtoRequestBody } from '../requestBodies/ArtifactoryRequestDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetLastSuccessfulBuildForArtifactoryArtifactMutationQueryParams {
9
+ repository?: string;
10
+ artifactPath?: string;
11
+ repositoryFormat?: string;
12
+ repositoryUrl?: string;
13
+ connectorRef?: string;
14
+ accountIdentifier: string;
15
+ orgIdentifier?: string;
16
+ projectIdentifier?: string;
17
+ }
18
+ export type GetLastSuccessfulBuildForArtifactoryArtifactRequestBody = ArtifactoryRequestDtoRequestBody;
19
+ export type GetLastSuccessfulBuildForArtifactoryArtifactOkResponse = ResponseWithPagination<ResponseArtifactoryBuildDetailsDto>;
20
+ export type GetLastSuccessfulBuildForArtifactoryArtifactErrorResponse = Failure | Error;
21
+ export interface GetLastSuccessfulBuildForArtifactoryArtifactProps extends Omit<FetcherOptions<GetLastSuccessfulBuildForArtifactoryArtifactMutationQueryParams, GetLastSuccessfulBuildForArtifactoryArtifactRequestBody>, 'url'> {
22
+ queryParams: GetLastSuccessfulBuildForArtifactoryArtifactMutationQueryParams;
23
+ body: GetLastSuccessfulBuildForArtifactoryArtifactRequestBody;
24
+ }
25
+ export declare function getLastSuccessfulBuildForArtifactoryArtifact(props: GetLastSuccessfulBuildForArtifactoryArtifactProps): Promise<GetLastSuccessfulBuildForArtifactoryArtifactOkResponse>;
26
+ /**
27
+ *
28
+ */
29
+ export declare function useGetLastSuccessfulBuildForArtifactoryArtifactMutation(options?: Omit<UseMutationOptions<GetLastSuccessfulBuildForArtifactoryArtifactOkResponse, GetLastSuccessfulBuildForArtifactoryArtifactErrorResponse, GetLastSuccessfulBuildForArtifactoryArtifactProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetLastSuccessfulBuildForArtifactoryArtifactOkResponse, GetLastSuccessfulBuildForArtifactoryArtifactErrorResponse, GetLastSuccessfulBuildForArtifactoryArtifactProps, unknown>;
@@ -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 { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getLastSuccessfulBuildForArtifactoryArtifact(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/artifactory/getLastSuccessfulBuild`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetLastSuccessfulBuildForArtifactoryArtifactMutation(options) {
13
+ return useMutation((mutateProps) => getLastSuccessfulBuildForArtifactoryArtifact(mutateProps), options);
14
+ }
@@ -0,0 +1,26 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseGcrBuildDetailsDto } from '../schemas/ResponseGcrBuildDetailsDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { GcrRequestDtoRequestBody } from '../requestBodies/GcrRequestDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetLastSuccessfulBuildForGcrMutationQueryParams {
9
+ imagePath: string;
10
+ connectorRef: string;
11
+ accountIdentifier: string;
12
+ orgIdentifier?: string;
13
+ projectIdentifier?: string;
14
+ }
15
+ export type GetLastSuccessfulBuildForGcrRequestBody = GcrRequestDtoRequestBody;
16
+ export type GetLastSuccessfulBuildForGcrOkResponse = ResponseWithPagination<ResponseGcrBuildDetailsDto>;
17
+ export type GetLastSuccessfulBuildForGcrErrorResponse = Failure | Error;
18
+ export interface GetLastSuccessfulBuildForGcrProps extends Omit<FetcherOptions<GetLastSuccessfulBuildForGcrMutationQueryParams, GetLastSuccessfulBuildForGcrRequestBody>, 'url'> {
19
+ queryParams: GetLastSuccessfulBuildForGcrMutationQueryParams;
20
+ body: GetLastSuccessfulBuildForGcrRequestBody;
21
+ }
22
+ export declare function getLastSuccessfulBuildForGcr(props: GetLastSuccessfulBuildForGcrProps): Promise<GetLastSuccessfulBuildForGcrOkResponse>;
23
+ /**
24
+ *
25
+ */
26
+ export declare function useGetLastSuccessfulBuildForGcrMutation(options?: Omit<UseMutationOptions<GetLastSuccessfulBuildForGcrOkResponse, GetLastSuccessfulBuildForGcrErrorResponse, GetLastSuccessfulBuildForGcrProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetLastSuccessfulBuildForGcrOkResponse, GetLastSuccessfulBuildForGcrErrorResponse, GetLastSuccessfulBuildForGcrProps, unknown>;
@@ -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 { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getLastSuccessfulBuildForGcr(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/gcr/getLastSuccessfulBuild`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetLastSuccessfulBuildForGcrMutation(options) {
13
+ return useMutation((mutateProps) => getLastSuccessfulBuildForGcr(mutateProps), options);
14
+ }
@@ -0,0 +1,29 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseGarBuildDetailsDto } from '../schemas/ResponseGarBuildDetailsDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { GarRequestDtoRequestBody } from '../requestBodies/GarRequestDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetLastSuccessfulBuildForGoogleArtifactRegistryMutationQueryParams {
9
+ connectorRef?: string;
10
+ region?: string;
11
+ repositoryName?: string;
12
+ project?: string;
13
+ package?: string;
14
+ accountIdentifier: string;
15
+ orgIdentifier?: string;
16
+ projectIdentifier?: string;
17
+ }
18
+ export type GetLastSuccessfulBuildForGoogleArtifactRegistryRequestBody = GarRequestDtoRequestBody;
19
+ export type GetLastSuccessfulBuildForGoogleArtifactRegistryOkResponse = ResponseWithPagination<ResponseGarBuildDetailsDto>;
20
+ export type GetLastSuccessfulBuildForGoogleArtifactRegistryErrorResponse = Failure | Error;
21
+ export interface GetLastSuccessfulBuildForGoogleArtifactRegistryProps extends Omit<FetcherOptions<GetLastSuccessfulBuildForGoogleArtifactRegistryMutationQueryParams, GetLastSuccessfulBuildForGoogleArtifactRegistryRequestBody>, 'url'> {
22
+ queryParams: GetLastSuccessfulBuildForGoogleArtifactRegistryMutationQueryParams;
23
+ body: GetLastSuccessfulBuildForGoogleArtifactRegistryRequestBody;
24
+ }
25
+ export declare function getLastSuccessfulBuildForGoogleArtifactRegistry(props: GetLastSuccessfulBuildForGoogleArtifactRegistryProps): Promise<GetLastSuccessfulBuildForGoogleArtifactRegistryOkResponse>;
26
+ /**
27
+ *
28
+ */
29
+ export declare function useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation(options?: Omit<UseMutationOptions<GetLastSuccessfulBuildForGoogleArtifactRegistryOkResponse, GetLastSuccessfulBuildForGoogleArtifactRegistryErrorResponse, GetLastSuccessfulBuildForGoogleArtifactRegistryProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetLastSuccessfulBuildForGoogleArtifactRegistryOkResponse, GetLastSuccessfulBuildForGoogleArtifactRegistryErrorResponse, GetLastSuccessfulBuildForGoogleArtifactRegistryProps, unknown>;
@@ -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 { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getLastSuccessfulBuildForGoogleArtifactRegistry(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/gar/getLastSuccessfulBuild`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation(options) {
13
+ return useMutation((mutateProps) => getLastSuccessfulBuildForGoogleArtifactRegistry(mutateProps), options);
14
+ }
@@ -0,0 +1,30 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseNexusBuildDetailsDto } from '../schemas/ResponseNexusBuildDetailsDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { NexusRequestDtoRequestBody } from '../requestBodies/NexusRequestDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetLastSuccessfulBuildForNexusArtifactMutationQueryParams {
9
+ repository?: string;
10
+ repositoryPort?: string;
11
+ artifactPath?: string;
12
+ repositoryFormat?: string;
13
+ repositoryUrl?: string;
14
+ connectorRef?: string;
15
+ accountIdentifier: string;
16
+ orgIdentifier?: string;
17
+ projectIdentifier?: string;
18
+ }
19
+ export type GetLastSuccessfulBuildForNexusArtifactRequestBody = NexusRequestDtoRequestBody;
20
+ export type GetLastSuccessfulBuildForNexusArtifactOkResponse = ResponseWithPagination<ResponseNexusBuildDetailsDto>;
21
+ export type GetLastSuccessfulBuildForNexusArtifactErrorResponse = Failure | Error;
22
+ export interface GetLastSuccessfulBuildForNexusArtifactProps extends Omit<FetcherOptions<GetLastSuccessfulBuildForNexusArtifactMutationQueryParams, GetLastSuccessfulBuildForNexusArtifactRequestBody>, 'url'> {
23
+ queryParams: GetLastSuccessfulBuildForNexusArtifactMutationQueryParams;
24
+ body: GetLastSuccessfulBuildForNexusArtifactRequestBody;
25
+ }
26
+ export declare function getLastSuccessfulBuildForNexusArtifact(props: GetLastSuccessfulBuildForNexusArtifactProps): Promise<GetLastSuccessfulBuildForNexusArtifactOkResponse>;
27
+ /**
28
+ *
29
+ */
30
+ export declare function useGetLastSuccessfulBuildForNexusArtifactMutation(options?: Omit<UseMutationOptions<GetLastSuccessfulBuildForNexusArtifactOkResponse, GetLastSuccessfulBuildForNexusArtifactErrorResponse, GetLastSuccessfulBuildForNexusArtifactProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetLastSuccessfulBuildForNexusArtifactOkResponse, GetLastSuccessfulBuildForNexusArtifactErrorResponse, GetLastSuccessfulBuildForNexusArtifactProps, unknown>;
@@ -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 { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getLastSuccessfulBuildForNexusArtifact(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/nexus/getLastSuccessfulBuild`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetLastSuccessfulBuildForNexusArtifactMutation(options) {
13
+ return useMutation((mutateProps) => getLastSuccessfulBuildForNexusArtifact(mutateProps), options);
14
+ }
@@ -0,0 +1,39 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseListBuildDetails } from '../schemas/ResponseListBuildDetails';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { AmiRequestBody } from '../schemas/AmiRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface ListVersionsForAmiArtifactMutationQueryParams {
9
+ connectorRef?: string;
10
+ region?: string;
11
+ versionRegex?: string;
12
+ accountIdentifier: string;
13
+ orgIdentifier?: string;
14
+ projectIdentifier?: string;
15
+ pipelineIdentifier?: string;
16
+ fqnPath?: string;
17
+ serviceId?: string;
18
+ branch?: string;
19
+ repoIdentifier?: string;
20
+ getDefaultFromOtherRepo?: boolean;
21
+ parentEntityConnectorRef?: string;
22
+ parentEntityRepoName?: string;
23
+ parentEntityAccountIdentifier?: string;
24
+ parentEntityOrgIdentifier?: string;
25
+ parentEntityProjectIdentifier?: string;
26
+ repoName?: string;
27
+ }
28
+ export type ListVersionsForAmiArtifactRequestBody = AmiRequestBody;
29
+ export type ListVersionsForAmiArtifactOkResponse = ResponseWithPagination<ResponseListBuildDetails>;
30
+ export type ListVersionsForAmiArtifactErrorResponse = Failure | Error;
31
+ export interface ListVersionsForAmiArtifactProps extends Omit<FetcherOptions<ListVersionsForAmiArtifactMutationQueryParams, ListVersionsForAmiArtifactRequestBody>, 'url'> {
32
+ queryParams: ListVersionsForAmiArtifactMutationQueryParams;
33
+ body: ListVersionsForAmiArtifactRequestBody;
34
+ }
35
+ export declare function listVersionsForAmiArtifact(props: ListVersionsForAmiArtifactProps): Promise<ListVersionsForAmiArtifactOkResponse>;
36
+ /**
37
+ *
38
+ */
39
+ export declare function useListVersionsForAmiArtifactMutation(options?: Omit<UseMutationOptions<ListVersionsForAmiArtifactOkResponse, ListVersionsForAmiArtifactErrorResponse, ListVersionsForAmiArtifactProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<ListVersionsForAmiArtifactOkResponse, ListVersionsForAmiArtifactErrorResponse, ListVersionsForAmiArtifactProps, unknown>;
@@ -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 { useMutation } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function listVersionsForAmiArtifact(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/ami/versions`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useListVersionsForAmiArtifactMutation(options) {
13
+ return useMutation((mutateProps) => listVersionsForAmiArtifact(mutateProps), options);
14
+ }
@@ -105,10 +105,20 @@ export type { GetJobDetailsForCustomErrorResponse, GetJobDetailsForCustomMutatio
105
105
  export { getJobDetailsForCustom, useGetJobDetailsForCustomMutation, } from './hooks/useGetJobDetailsForCustomMutation';
106
106
  export type { GetJobDetailsForJenkinsErrorResponse, GetJobDetailsForJenkinsOkResponse, GetJobDetailsForJenkinsProps, GetJobDetailsForJenkinsQueryQueryParams, } from './hooks/useGetJobDetailsForJenkinsQuery';
107
107
  export { getJobDetailsForJenkins, useGetJobDetailsForJenkinsQuery, } from './hooks/useGetJobDetailsForJenkinsQuery';
108
+ export type { GetLastSuccessfulBuildForAcrRepositoryErrorResponse, GetLastSuccessfulBuildForAcrRepositoryMutationQueryParams, GetLastSuccessfulBuildForAcrRepositoryOkResponse, GetLastSuccessfulBuildForAcrRepositoryProps, GetLastSuccessfulBuildForAcrRepositoryRequestBody, } from './hooks/useGetLastSuccessfulBuildForAcrRepositoryMutation';
109
+ export { getLastSuccessfulBuildForAcrRepository, useGetLastSuccessfulBuildForAcrRepositoryMutation, } from './hooks/useGetLastSuccessfulBuildForAcrRepositoryMutation';
110
+ export type { GetLastSuccessfulBuildForArtifactoryArtifactErrorResponse, GetLastSuccessfulBuildForArtifactoryArtifactMutationQueryParams, GetLastSuccessfulBuildForArtifactoryArtifactOkResponse, GetLastSuccessfulBuildForArtifactoryArtifactProps, GetLastSuccessfulBuildForArtifactoryArtifactRequestBody, } from './hooks/useGetLastSuccessfulBuildForArtifactoryArtifactMutation';
111
+ export { getLastSuccessfulBuildForArtifactoryArtifact, useGetLastSuccessfulBuildForArtifactoryArtifactMutation, } from './hooks/useGetLastSuccessfulBuildForArtifactoryArtifactMutation';
108
112
  export type { GetLastSuccessfulBuildForDockerErrorResponse, GetLastSuccessfulBuildForDockerMutationQueryParams, GetLastSuccessfulBuildForDockerOkResponse, GetLastSuccessfulBuildForDockerProps, GetLastSuccessfulBuildForDockerRequestBody, } from './hooks/useGetLastSuccessfulBuildForDockerMutation';
109
113
  export { getLastSuccessfulBuildForDocker, useGetLastSuccessfulBuildForDockerMutation, } from './hooks/useGetLastSuccessfulBuildForDockerMutation';
110
114
  export type { GetLastSuccessfulBuildForEcrErrorResponse, GetLastSuccessfulBuildForEcrMutationQueryParams, GetLastSuccessfulBuildForEcrOkResponse, GetLastSuccessfulBuildForEcrProps, GetLastSuccessfulBuildForEcrRequestBody, } from './hooks/useGetLastSuccessfulBuildForEcrMutation';
111
115
  export { getLastSuccessfulBuildForEcr, useGetLastSuccessfulBuildForEcrMutation, } from './hooks/useGetLastSuccessfulBuildForEcrMutation';
116
+ export type { GetLastSuccessfulBuildForGcrErrorResponse, GetLastSuccessfulBuildForGcrMutationQueryParams, GetLastSuccessfulBuildForGcrOkResponse, GetLastSuccessfulBuildForGcrProps, GetLastSuccessfulBuildForGcrRequestBody, } from './hooks/useGetLastSuccessfulBuildForGcrMutation';
117
+ export { getLastSuccessfulBuildForGcr, useGetLastSuccessfulBuildForGcrMutation, } from './hooks/useGetLastSuccessfulBuildForGcrMutation';
118
+ export type { GetLastSuccessfulBuildForGoogleArtifactRegistryErrorResponse, GetLastSuccessfulBuildForGoogleArtifactRegistryMutationQueryParams, GetLastSuccessfulBuildForGoogleArtifactRegistryOkResponse, GetLastSuccessfulBuildForGoogleArtifactRegistryProps, GetLastSuccessfulBuildForGoogleArtifactRegistryRequestBody, } from './hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation';
119
+ export { getLastSuccessfulBuildForGoogleArtifactRegistry, useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation, } from './hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation';
120
+ export type { GetLastSuccessfulBuildForNexusArtifactErrorResponse, GetLastSuccessfulBuildForNexusArtifactMutationQueryParams, GetLastSuccessfulBuildForNexusArtifactOkResponse, GetLastSuccessfulBuildForNexusArtifactProps, GetLastSuccessfulBuildForNexusArtifactRequestBody, } from './hooks/useGetLastSuccessfulBuildForNexusArtifactMutation';
121
+ export { getLastSuccessfulBuildForNexusArtifact, useGetLastSuccessfulBuildForNexusArtifactMutation, } from './hooks/useGetLastSuccessfulBuildForNexusArtifactMutation';
112
122
  export type { GetLastSuccessfulVersionErrorResponse, GetLastSuccessfulVersionOkResponse, GetLastSuccessfulVersionProps, GetLastSuccessfulVersionQueryQueryParams, } from './hooks/useGetLastSuccessfulVersionQuery';
113
123
  export { getLastSuccessfulVersion, useGetLastSuccessfulVersionQuery, } from './hooks/useGetLastSuccessfulVersionQuery';
114
124
  export type { GetListOfAllReposByRefConnectorErrorResponse, GetListOfAllReposByRefConnectorOkResponse, GetListOfAllReposByRefConnectorProps, GetListOfAllReposByRefConnectorQueryQueryParams, } from './hooks/useGetListOfAllReposByRefConnectorQuery';
@@ -183,6 +193,8 @@ export type { ListProjectsForAzureArtifactsErrorResponse, ListProjectsForAzureAr
183
193
  export { listProjectsForAzureArtifacts, useListProjectsForAzureArtifactsQuery, } from './hooks/useListProjectsForAzureArtifactsQuery';
184
194
  export type { ListTagsForAmiArtifactErrorResponse, ListTagsForAmiArtifactMutationQueryParams, ListTagsForAmiArtifactOkResponse, ListTagsForAmiArtifactProps, ListTagsForAmiArtifactRequestBody, } from './hooks/useListTagsForAmiArtifactMutation';
185
195
  export { listTagsForAmiArtifact, useListTagsForAmiArtifactMutation, } from './hooks/useListTagsForAmiArtifactMutation';
196
+ export type { ListVersionsForAmiArtifactErrorResponse, ListVersionsForAmiArtifactMutationQueryParams, ListVersionsForAmiArtifactOkResponse, ListVersionsForAmiArtifactProps, ListVersionsForAmiArtifactRequestBody, } from './hooks/useListVersionsForAmiArtifactMutation';
197
+ export { listVersionsForAmiArtifact, useListVersionsForAmiArtifactMutation, } from './hooks/useListVersionsForAmiArtifactMutation';
186
198
  export type { PostOrganizationErrorResponse, PostOrganizationMutationQueryParams, PostOrganizationOkResponse, PostOrganizationProps, PostOrganizationRequestBody, } from './hooks/usePostOrganizationMutation';
187
199
  export { postOrganization, usePostOrganizationMutation } from './hooks/usePostOrganizationMutation';
188
200
  export type { PostProjectErrorResponse, PostProjectMutationQueryParams, PostProjectOkResponse, PostProjectProps, PostProjectRequestBody, } from './hooks/usePostProjectMutation';
@@ -205,12 +217,17 @@ export type { ValidateJiraCredentialsErrorResponse, ValidateJiraCredentialsOkRes
205
217
  export { useValidateJiraCredentialsQuery, validateJiraCredentials, } from './hooks/useValidateJiraCredentialsQuery';
206
218
  export type { VpcsErrorResponse, VpcsOkResponse, VpcsProps, VpcsQueryQueryParams, } from './hooks/useVpcsQuery';
207
219
  export { useVpcsQuery, vpcs } from './hooks/useVpcsQuery';
220
+ export type { AcrRequestDtoRequestBody } from './requestBodies/AcrRequestDtoRequestBody';
208
221
  export type { ApiKeyDtoRequestBody } from './requestBodies/ApiKeyDtoRequestBody';
222
+ export type { ArtifactoryRequestDtoRequestBody } from './requestBodies/ArtifactoryRequestDtoRequestBody';
209
223
  export type { DockerRequestDtoRequestBody } from './requestBodies/DockerRequestDtoRequestBody';
210
224
  export type { EcrRequestDtoRequestBody } from './requestBodies/EcrRequestDtoRequestBody';
211
225
  export type { EnvironmentFilterPropertiesRequestBody } from './requestBodies/EnvironmentFilterPropertiesRequestBody';
226
+ export type { GarRequestDtoRequestBody } from './requestBodies/GarRequestDtoRequestBody';
227
+ export type { GcrRequestDtoRequestBody } from './requestBodies/GcrRequestDtoRequestBody';
212
228
  export type { GetFileContentUsingScopedFilePathV2BodyRequestBody } from './requestBodies/GetFileContentUsingScopedFilePathV2BodyRequestBody';
213
229
  export type { ListTagsForAmiArtifactBodyRequestBody } from './requestBodies/ListTagsForAmiArtifactBodyRequestBody';
230
+ export type { NexusRequestDtoRequestBody } from './requestBodies/NexusRequestDtoRequestBody';
214
231
  export type { OrganizationRequestRequestBody } from './requestBodies/OrganizationRequestRequestBody';
215
232
  export type { ProjectRequestRequestBody } from './requestBodies/ProjectRequestRequestBody';
216
233
  export type { ServiceRequestDtoRequestBody } from './requestBodies/ServiceRequestDtoRequestBody';
@@ -223,7 +240,11 @@ export type { AcrRegistriesDto } from './schemas/AcrRegistriesDto';
223
240
  export type { AcrRegistryDto } from './schemas/AcrRegistryDto';
224
241
  export type { AcrRepositoriesDto } from './schemas/AcrRepositoriesDto';
225
242
  export type { AcrRepositoryDto } from './schemas/AcrRepositoryDto';
243
+ export type { AcrRequestDto } from './schemas/AcrRequestDto';
226
244
  export type { AcrResponseDto } from './schemas/AcrResponseDto';
245
+ export type { AmiFilter } from './schemas/AmiFilter';
246
+ export type { AmiRequestBody } from './schemas/AmiRequestBody';
247
+ export type { AmiTag } from './schemas/AmiTag';
227
248
  export type { AmiTagObject } from './schemas/AmiTagObject';
228
249
  export type { ApiKeyAggregateDto } from './schemas/ApiKeyAggregateDto';
229
250
  export type { ApiKeyDto } from './schemas/ApiKeyDto';
@@ -233,6 +254,7 @@ export type { ArtifactoryBuildDetailsDto } from './schemas/ArtifactoryBuildDetai
233
254
  export type { ArtifactoryImagePath } from './schemas/ArtifactoryImagePath';
234
255
  export type { ArtifactoryImagePathsDto } from './schemas/ArtifactoryImagePathsDto';
235
256
  export type { ArtifactoryRepoDetailsDto } from './schemas/ArtifactoryRepoDetailsDto';
257
+ export type { ArtifactoryRequestDto } from './schemas/ArtifactoryRequestDto';
236
258
  export type { ArtifactoryResponseDto } from './schemas/ArtifactoryResponseDto';
237
259
  export type { AwsVpc } from './schemas/AwsVpc';
238
260
  export type { AzureArtifactsFeed } from './schemas/AzureArtifactsFeed';
@@ -274,10 +296,13 @@ export type { GarPackageDto } from './schemas/GarPackageDto';
274
296
  export type { GarPackageDtoList } from './schemas/GarPackageDtoList';
275
297
  export type { GarRepositoryDto } from './schemas/GarRepositoryDto';
276
298
  export type { GarRepositoryDtoList } from './schemas/GarRepositoryDtoList';
299
+ export type { GarRequestDto } from './schemas/GarRequestDto';
277
300
  export type { GarResponseDto } from './schemas/GarResponseDto';
278
301
  export type { GcpProjectDetails } from './schemas/GcpProjectDetails';
279
302
  export type { GcpProjectResponseDto } from './schemas/GcpProjectResponseDto';
280
303
  export type { GcpResponseDto } from './schemas/GcpResponseDto';
304
+ export type { GcrBuildDetailsDto } from './schemas/GcrBuildDetailsDto';
305
+ export type { GcrRequestDto } from './schemas/GcrRequestDto';
281
306
  export type { GitListRepositoryResponse } from './schemas/GitListRepositoryResponse';
282
307
  export type { GitRepositoryResponseDto } from './schemas/GitRepositoryResponseDto';
283
308
  export type { GithubPackageDto } from './schemas/GithubPackageDto';
@@ -307,6 +332,7 @@ export type { JobDetails } from './schemas/JobDetails';
307
332
  export type { JobParameter } from './schemas/JobParameter';
308
333
  export type { NexusBuildDetailsDto } from './schemas/NexusBuildDetailsDto';
309
334
  export type { NexusRepositories } from './schemas/NexusRepositories';
335
+ export type { NexusRequestDto } from './schemas/NexusRequestDto';
310
336
  export type { NexusResponseDto } from './schemas/NexusResponseDto';
311
337
  export type { NgVariable } from './schemas/NgVariable';
312
338
  export type { NotificationSettingConfigDto } from './schemas/NotificationSettingConfigDto';
@@ -332,11 +358,13 @@ export type { ProjectRequest } from './schemas/ProjectRequest';
332
358
  export type { ProjectResponse } from './schemas/ProjectResponse';
333
359
  export type { RegionGar } from './schemas/RegionGar';
334
360
  export type { ResourceScope } from './schemas/ResourceScope';
361
+ export type { ResponseAcrBuildDetailsDto } from './schemas/ResponseAcrBuildDetailsDto';
335
362
  export type { ResponseAcrRegistriesDto } from './schemas/ResponseAcrRegistriesDto';
336
363
  export type { ResponseAcrRepositoriesDto } from './schemas/ResponseAcrRepositoriesDto';
337
364
  export type { ResponseAcrResponseDto } from './schemas/ResponseAcrResponseDto';
338
365
  export type { ResponseApiKeyDto } from './schemas/ResponseApiKeyDto';
339
366
  export type { ResponseArtifactSourcesResponseDto } from './schemas/ResponseArtifactSourcesResponseDto';
367
+ export type { ResponseArtifactoryBuildDetailsDto } from './schemas/ResponseArtifactoryBuildDetailsDto';
340
368
  export type { ResponseArtifactoryImagePathsDto } from './schemas/ResponseArtifactoryImagePathsDto';
341
369
  export type { ResponseArtifactoryRepoDetailsDto } from './schemas/ResponseArtifactoryRepoDetailsDto';
342
370
  export type { ResponseArtifactoryResponseDto } from './schemas/ResponseArtifactoryResponseDto';
@@ -352,11 +380,13 @@ export type { ResponseDockerResponseDto } from './schemas/ResponseDockerResponse
352
380
  export type { ResponseEcrBuildDetailsDto } from './schemas/ResponseEcrBuildDetailsDto';
353
381
  export type { ResponseEcrListImagesDto } from './schemas/ResponseEcrListImagesDto';
354
382
  export type { ResponseEcrResponseDto } from './schemas/ResponseEcrResponseDto';
383
+ export type { ResponseGarBuildDetailsDto } from './schemas/ResponseGarBuildDetailsDto';
355
384
  export type { ResponseGarPackageDtoList } from './schemas/ResponseGarPackageDtoList';
356
385
  export type { ResponseGarRepositoryDtoList } from './schemas/ResponseGarRepositoryDtoList';
357
386
  export type { ResponseGarResponseDto } from './schemas/ResponseGarResponseDto';
358
387
  export type { ResponseGcpProjectResponseDto } from './schemas/ResponseGcpProjectResponseDto';
359
388
  export type { ResponseGcpResponseDto } from './schemas/ResponseGcpResponseDto';
389
+ export type { ResponseGcrBuildDetailsDto } from './schemas/ResponseGcrBuildDetailsDto';
360
390
  export type { ResponseGitListRepositoryResponse } from './schemas/ResponseGitListRepositoryResponse';
361
391
  export type { ResponseGithubPackagesResponseDto } from './schemas/ResponseGithubPackagesResponseDto';
362
392
  export type { ResponseGoogleCloudStorageBucketsResponseDto } from './schemas/ResponseGoogleCloudStorageBucketsResponseDto';
@@ -387,6 +417,7 @@ export type { ResponseListString } from './schemas/ResponseListString';
387
417
  export type { ResponseListUserRepoResponse } from './schemas/ResponseListUserRepoResponse';
388
418
  export type { ResponseMapStringString } from './schemas/ResponseMapStringString';
389
419
  export type { ResponseMessage } from './schemas/ResponseMessage';
420
+ export type { ResponseNexusBuildDetailsDto } from './schemas/ResponseNexusBuildDetailsDto';
390
421
  export type { ResponseNexusResponseDto } from './schemas/ResponseNexusResponseDto';
391
422
  export type { ResponseOrganizationResponse } from './schemas/ResponseOrganizationResponse';
392
423
  export type { ResponsePageApiKeyAggregateDto } from './schemas/ResponsePageApiKeyAggregateDto';
@@ -51,8 +51,13 @@ export { getJiraProjects, useGetJiraProjectsQuery } from './hooks/useGetJiraProj
51
51
  export { getJiraStatuses, useGetJiraStatusesQuery } from './hooks/useGetJiraStatusesQuery';
52
52
  export { getJobDetailsForCustom, useGetJobDetailsForCustomMutation, } from './hooks/useGetJobDetailsForCustomMutation';
53
53
  export { getJobDetailsForJenkins, useGetJobDetailsForJenkinsQuery, } from './hooks/useGetJobDetailsForJenkinsQuery';
54
+ export { getLastSuccessfulBuildForAcrRepository, useGetLastSuccessfulBuildForAcrRepositoryMutation, } from './hooks/useGetLastSuccessfulBuildForAcrRepositoryMutation';
55
+ export { getLastSuccessfulBuildForArtifactoryArtifact, useGetLastSuccessfulBuildForArtifactoryArtifactMutation, } from './hooks/useGetLastSuccessfulBuildForArtifactoryArtifactMutation';
54
56
  export { getLastSuccessfulBuildForDocker, useGetLastSuccessfulBuildForDockerMutation, } from './hooks/useGetLastSuccessfulBuildForDockerMutation';
55
57
  export { getLastSuccessfulBuildForEcr, useGetLastSuccessfulBuildForEcrMutation, } from './hooks/useGetLastSuccessfulBuildForEcrMutation';
58
+ export { getLastSuccessfulBuildForGcr, useGetLastSuccessfulBuildForGcrMutation, } from './hooks/useGetLastSuccessfulBuildForGcrMutation';
59
+ export { getLastSuccessfulBuildForGoogleArtifactRegistry, useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation, } from './hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation';
60
+ export { getLastSuccessfulBuildForNexusArtifact, useGetLastSuccessfulBuildForNexusArtifactMutation, } from './hooks/useGetLastSuccessfulBuildForNexusArtifactMutation';
56
61
  export { getLastSuccessfulVersion, useGetLastSuccessfulVersionQuery, } from './hooks/useGetLastSuccessfulVersionQuery';
57
62
  export { getListOfAllReposByRefConnector, useGetListOfAllReposByRefConnectorQuery, } from './hooks/useGetListOfAllReposByRefConnectorQuery';
58
63
  export { getListOfReposByRefConnector, useGetListOfReposByRefConnectorQuery, } from './hooks/useGetListOfReposByRefConnectorQuery';
@@ -90,6 +95,7 @@ export { listFeedsForAzureArtifacts, useListFeedsForAzureArtifactsQuery, } from
90
95
  export { listPackagesForAzureArtifacts, useListPackagesForAzureArtifactsQuery, } from './hooks/useListPackagesForAzureArtifactsQuery';
91
96
  export { listProjectsForAzureArtifacts, useListProjectsForAzureArtifactsQuery, } from './hooks/useListProjectsForAzureArtifactsQuery';
92
97
  export { listTagsForAmiArtifact, useListTagsForAmiArtifactMutation, } from './hooks/useListTagsForAmiArtifactMutation';
98
+ export { listVersionsForAmiArtifact, useListVersionsForAmiArtifactMutation, } from './hooks/useListVersionsForAmiArtifactMutation';
93
99
  export { postOrganization, usePostOrganizationMutation } from './hooks/usePostOrganizationMutation';
94
100
  export { postProject, usePostProjectMutation } from './hooks/usePostProjectMutation';
95
101
  export { removeMember, useRemoveMemberMutation } from './hooks/useRemoveMemberMutation';
@@ -0,0 +1,2 @@
1
+ import type { AcrRequestDto } from '../schemas/AcrRequestDto';
2
+ export type AcrRequestDtoRequestBody = AcrRequestDto;
@@ -0,0 +1,2 @@
1
+ import type { ArtifactoryRequestDto } from '../schemas/ArtifactoryRequestDto';
2
+ export type ArtifactoryRequestDtoRequestBody = ArtifactoryRequestDto;
@@ -0,0 +1,2 @@
1
+ import type { GarRequestDto } from '../schemas/GarRequestDto';
2
+ export type GarRequestDtoRequestBody = GarRequestDto;
@@ -0,0 +1,2 @@
1
+ import type { GcrRequestDto } from '../schemas/GcrRequestDto';
2
+ export type GcrRequestDtoRequestBody = GcrRequestDto;
@@ -0,0 +1,2 @@
1
+ import type { NexusRequestDto } from '../schemas/NexusRequestDto';
2
+ export type NexusRequestDtoRequestBody = NexusRequestDto;
@@ -0,0 +1,6 @@
1
+ export interface AcrRequestDto {
2
+ runtimeInputYaml?: string;
3
+ tag?: string;
4
+ tagRegex?: string;
5
+ tagsList?: string[];
6
+ }
@@ -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
+ export interface AmiFilter {
2
+ name?: string;
3
+ value?: string;
4
+ }
@@ -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,7 @@
1
+ import type { AmiFilter } from '../schemas/AmiFilter';
2
+ import type { AmiTag } from '../schemas/AmiTag';
3
+ export interface AmiRequestBody {
4
+ filters?: AmiFilter[];
5
+ runtimeInputYaml?: string;
6
+ tags?: AmiTag[];
7
+ }
@@ -0,0 +1,4 @@
1
+ export interface AmiTag {
2
+ name?: string;
3
+ value?: string;
4
+ }
@@ -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,5 @@
1
+ export interface ArtifactoryRequestDto {
2
+ runtimeInputYaml?: string;
3
+ tag?: string;
4
+ tagRegex?: string;
5
+ }
@@ -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 {};
@@ -3,7 +3,7 @@ export interface EnvironmentFilterProperties {
3
3
  environmentIdentifiers?: string[];
4
4
  environmentNames?: string[];
5
5
  environmentTypes?: Array<'PreProduction' | 'Production'>;
6
- filterType?: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Service' | 'Template' | 'Trigger' | 'Webhook';
6
+ filterType?: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'QueuedPipeline' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Service' | 'Template' | 'Trigger' | 'Webhook';
7
7
  labels?: {
8
8
  [key: string]: string;
9
9
  };
@@ -0,0 +1,6 @@
1
+ export interface GarRequestDto {
2
+ runtimeInputYaml?: string;
3
+ version?: string;
4
+ versionList?: string[];
5
+ versionRegex?: string;
6
+ }
@@ -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,11 @@
1
+ export interface GcrBuildDetailsDto {
2
+ buildUrl?: string;
3
+ imagePath?: string;
4
+ labels?: {
5
+ [key: string]: string;
6
+ };
7
+ metadata?: {
8
+ [key: string]: string;
9
+ };
10
+ tag?: string;
11
+ }
@@ -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,7 @@
1
+ export interface GcrRequestDto {
2
+ registryHostname?: string;
3
+ runtimeInputYaml?: string;
4
+ tag?: string;
5
+ tagRegex?: string;
6
+ tagsList?: string[];
7
+ }
@@ -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,5 @@
1
+ export interface NexusRequestDto {
2
+ runtimeInputYaml?: string;
3
+ tag?: string;
4
+ tagRegex?: string;
5
+ }
@@ -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,9 @@
1
+ import type { AcrBuildDetailsDto } from '../schemas/AcrBuildDetailsDto';
2
+ export interface ResponseAcrBuildDetailsDto {
3
+ correlationId?: string;
4
+ data?: AcrBuildDetailsDto;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { ArtifactoryBuildDetailsDto } from '../schemas/ArtifactoryBuildDetailsDto';
2
+ export interface ResponseArtifactoryBuildDetailsDto {
3
+ correlationId?: string;
4
+ data?: ArtifactoryBuildDetailsDto;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { GarBuildDetailsDto } from '../schemas/GarBuildDetailsDto';
2
+ export interface ResponseGarBuildDetailsDto {
3
+ correlationId?: string;
4
+ data?: GarBuildDetailsDto;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { GcrBuildDetailsDto } from '../schemas/GcrBuildDetailsDto';
2
+ export interface ResponseGcrBuildDetailsDto {
3
+ correlationId?: string;
4
+ data?: GcrBuildDetailsDto;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { NexusBuildDetailsDto } from '../schemas/NexusBuildDetailsDto';
2
+ export interface ResponseNexusBuildDetailsDto {
3
+ correlationId?: string;
4
+ data?: NexusBuildDetailsDto;
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.15.0",
3
+ "version": "1.17.0",
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",