@harnessio/react-ng-manager-swagger-service-client 1.16.0 → 1.18.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 (52) hide show
  1. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildsForJenkinsQuery.d.ts +35 -0
  2. package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildsForJenkinsQuery.js +14 -0
  3. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForAcrRepositoryMutation.d.ts +28 -0
  4. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForAcrRepositoryMutation.js +14 -0
  5. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForArtifactoryArtifactMutation.d.ts +29 -0
  6. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForArtifactoryArtifactMutation.js +14 -0
  7. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGcrMutation.d.ts +26 -0
  8. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGcrMutation.js +14 -0
  9. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation.d.ts +29 -0
  10. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation.js +14 -0
  11. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForNexusArtifactMutation.d.ts +30 -0
  12. package/dist/ng-manager-swagger-service/src/services/hooks/useGetLastSuccessfulBuildForNexusArtifactMutation.js +14 -0
  13. package/dist/ng-manager-swagger-service/src/services/hooks/useGetUserGroupAggregateQuery.d.ts +26 -0
  14. package/dist/ng-manager-swagger-service/src/services/hooks/useGetUserGroupAggregateQuery.js +14 -0
  15. package/dist/ng-manager-swagger-service/src/services/index.d.ts +31 -0
  16. package/dist/ng-manager-swagger-service/src/services/index.js +7 -0
  17. package/dist/ng-manager-swagger-service/src/services/requestBodies/AcrRequestDtoRequestBody.d.ts +2 -0
  18. package/dist/ng-manager-swagger-service/src/services/requestBodies/AcrRequestDtoRequestBody.js +1 -0
  19. package/dist/ng-manager-swagger-service/src/services/requestBodies/ArtifactoryRequestDtoRequestBody.d.ts +2 -0
  20. package/dist/ng-manager-swagger-service/src/services/requestBodies/ArtifactoryRequestDtoRequestBody.js +1 -0
  21. package/dist/ng-manager-swagger-service/src/services/requestBodies/GarRequestDtoRequestBody.d.ts +2 -0
  22. package/dist/ng-manager-swagger-service/src/services/requestBodies/GarRequestDtoRequestBody.js +1 -0
  23. package/dist/ng-manager-swagger-service/src/services/requestBodies/GcrRequestDtoRequestBody.d.ts +2 -0
  24. package/dist/ng-manager-swagger-service/src/services/requestBodies/GcrRequestDtoRequestBody.js +1 -0
  25. package/dist/ng-manager-swagger-service/src/services/requestBodies/NexusRequestDtoRequestBody.d.ts +2 -0
  26. package/dist/ng-manager-swagger-service/src/services/requestBodies/NexusRequestDtoRequestBody.js +1 -0
  27. package/dist/ng-manager-swagger-service/src/services/schemas/AcrRequestDto.d.ts +6 -0
  28. package/dist/ng-manager-swagger-service/src/services/schemas/AcrRequestDto.js +4 -0
  29. package/dist/ng-manager-swagger-service/src/services/schemas/ArtifactoryRequestDto.d.ts +5 -0
  30. package/dist/ng-manager-swagger-service/src/services/schemas/ArtifactoryRequestDto.js +4 -0
  31. package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentFilterProperties.d.ts +1 -1
  32. package/dist/ng-manager-swagger-service/src/services/schemas/GarRequestDto.d.ts +6 -0
  33. package/dist/ng-manager-swagger-service/src/services/schemas/GarRequestDto.js +4 -0
  34. package/dist/ng-manager-swagger-service/src/services/schemas/GcrBuildDetailsDto.d.ts +11 -0
  35. package/dist/ng-manager-swagger-service/src/services/schemas/GcrBuildDetailsDto.js +4 -0
  36. package/dist/ng-manager-swagger-service/src/services/schemas/GcrRequestDto.d.ts +7 -0
  37. package/dist/ng-manager-swagger-service/src/services/schemas/GcrRequestDto.js +4 -0
  38. package/dist/ng-manager-swagger-service/src/services/schemas/NexusRequestDto.d.ts +5 -0
  39. package/dist/ng-manager-swagger-service/src/services/schemas/NexusRequestDto.js +4 -0
  40. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAcrBuildDetailsDto.d.ts +9 -0
  41. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAcrBuildDetailsDto.js +1 -0
  42. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseArtifactoryBuildDetailsDto.d.ts +9 -0
  43. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseArtifactoryBuildDetailsDto.js +1 -0
  44. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGarBuildDetailsDto.d.ts +9 -0
  45. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGarBuildDetailsDto.js +1 -0
  46. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGcrBuildDetailsDto.d.ts +9 -0
  47. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGcrBuildDetailsDto.js +1 -0
  48. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseNexusBuildDetailsDto.d.ts +9 -0
  49. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseNexusBuildDetailsDto.js +1 -0
  50. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseUserGroupAggregateDto.d.ts +9 -0
  51. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseUserGroupAggregateDto.js +1 -0
  52. package/package.json +1 -1
@@ -0,0 +1,35 @@
1
+ import { UseQueryOptions } 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 { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export interface GetBuildsForJenkinsQueryPathParams {
8
+ jobName: string;
9
+ }
10
+ export interface GetBuildsForJenkinsQueryQueryParams {
11
+ connectorRef?: string;
12
+ accountIdentifier: string;
13
+ orgIdentifier?: string;
14
+ projectIdentifier?: string;
15
+ artifactPath?: string;
16
+ branch?: string;
17
+ repoIdentifier?: string;
18
+ getDefaultFromOtherRepo?: boolean;
19
+ parentEntityConnectorRef?: string;
20
+ parentEntityRepoName?: string;
21
+ parentEntityAccountIdentifier?: string;
22
+ parentEntityOrgIdentifier?: string;
23
+ parentEntityProjectIdentifier?: string;
24
+ repoName?: string;
25
+ }
26
+ export type GetBuildsForJenkinsOkResponse = ResponseWithPagination<ResponseListBuildDetails>;
27
+ export type GetBuildsForJenkinsErrorResponse = Failure | Error;
28
+ export interface GetBuildsForJenkinsProps extends GetBuildsForJenkinsQueryPathParams, Omit<FetcherOptions<GetBuildsForJenkinsQueryQueryParams, unknown>, 'url'> {
29
+ queryParams: GetBuildsForJenkinsQueryQueryParams;
30
+ }
31
+ export declare function getBuildsForJenkins(props: GetBuildsForJenkinsProps): Promise<GetBuildsForJenkinsOkResponse>;
32
+ /**
33
+ *
34
+ */
35
+ export declare function useGetBuildsForJenkinsQuery(props: GetBuildsForJenkinsProps, options?: Omit<UseQueryOptions<GetBuildsForJenkinsOkResponse, GetBuildsForJenkinsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetBuildsForJenkinsOkResponse, GetBuildsForJenkinsErrorResponse>;
@@ -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 getBuildsForJenkins(props) {
7
+ return fetcher(Object.assign({ url: `/artifacts/jenkins/job/${props.jobName}/builds`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetBuildsForJenkinsQuery(props, options) {
13
+ return useQuery(['getBuilds For Jenkins', props.jobName, props.queryParams], ({ signal }) => getBuildsForJenkins(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -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,26 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseUserGroupAggregateDto } from '../schemas/ResponseUserGroupAggregateDto';
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 GetUserGroupAggregateQueryPathParams {
8
+ identifier: string;
9
+ }
10
+ export interface GetUserGroupAggregateQueryQueryParams {
11
+ accountIdentifier: string;
12
+ orgIdentifier?: string;
13
+ projectIdentifier?: string;
14
+ roleAssignmentScopeOrgIdentifier?: string;
15
+ roleAssignmentScopeProjectIdentifier?: string;
16
+ }
17
+ export type GetUserGroupAggregateOkResponse = ResponseWithPagination<ResponseUserGroupAggregateDto>;
18
+ export type GetUserGroupAggregateErrorResponse = Failure | Error;
19
+ export interface GetUserGroupAggregateProps extends GetUserGroupAggregateQueryPathParams, Omit<FetcherOptions<GetUserGroupAggregateQueryQueryParams, unknown>, 'url'> {
20
+ queryParams: GetUserGroupAggregateQueryQueryParams;
21
+ }
22
+ export declare function getUserGroupAggregate(props: GetUserGroupAggregateProps): Promise<GetUserGroupAggregateOkResponse>;
23
+ /**
24
+ *
25
+ */
26
+ export declare function useGetUserGroupAggregateQuery(props: GetUserGroupAggregateProps, options?: Omit<UseQueryOptions<GetUserGroupAggregateOkResponse, GetUserGroupAggregateErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetUserGroupAggregateOkResponse, GetUserGroupAggregateErrorResponse>;
@@ -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 getUserGroupAggregate(props) {
7
+ return fetcher(Object.assign({ url: `/aggregate/acl/usergroups/${props.identifier}`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetUserGroupAggregateQuery(props, options) {
13
+ return useQuery(['getUserGroupAggregate', props.identifier, props.queryParams], ({ signal }) => getUserGroupAggregate(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -61,6 +61,8 @@ export type { GetBuildDetailsForGoogleArtifactRegistryErrorResponse, GetBuildDet
61
61
  export { getBuildDetailsForGoogleArtifactRegistry, useGetBuildDetailsForGoogleArtifactRegistryQuery, } from './hooks/useGetBuildDetailsForGoogleArtifactRegistryQuery';
62
62
  export type { GetBuildDetailsForNexusArtifactErrorResponse, GetBuildDetailsForNexusArtifactOkResponse, GetBuildDetailsForNexusArtifactProps, GetBuildDetailsForNexusArtifactQueryQueryParams, } from './hooks/useGetBuildDetailsForNexusArtifactQuery';
63
63
  export { getBuildDetailsForNexusArtifact, useGetBuildDetailsForNexusArtifactQuery, } from './hooks/useGetBuildDetailsForNexusArtifactQuery';
64
+ export type { GetBuildsForJenkinsErrorResponse, GetBuildsForJenkinsOkResponse, GetBuildsForJenkinsProps, GetBuildsForJenkinsQueryPathParams, GetBuildsForJenkinsQueryQueryParams, } from './hooks/useGetBuildsForJenkinsQuery';
65
+ export { getBuildsForJenkins, useGetBuildsForJenkinsQuery, } from './hooks/useGetBuildsForJenkinsQuery';
64
66
  export type { GetClusterNamesForGcpErrorResponse, GetClusterNamesForGcpOkResponse, GetClusterNamesForGcpProps, GetClusterNamesForGcpQueryQueryParams, } from './hooks/useGetClusterNamesForGcpQuery';
65
67
  export { getClusterNamesForGcp, useGetClusterNamesForGcpQuery, } from './hooks/useGetClusterNamesForGcpQuery';
66
68
  export type { GetEksClusterNamesErrorResponse, GetEksClusterNamesOkResponse, GetEksClusterNamesProps, GetEksClusterNamesQueryQueryParams, } from './hooks/useGetEksClusterNamesQuery';
@@ -105,10 +107,20 @@ export type { GetJobDetailsForCustomErrorResponse, GetJobDetailsForCustomMutatio
105
107
  export { getJobDetailsForCustom, useGetJobDetailsForCustomMutation, } from './hooks/useGetJobDetailsForCustomMutation';
106
108
  export type { GetJobDetailsForJenkinsErrorResponse, GetJobDetailsForJenkinsOkResponse, GetJobDetailsForJenkinsProps, GetJobDetailsForJenkinsQueryQueryParams, } from './hooks/useGetJobDetailsForJenkinsQuery';
107
109
  export { getJobDetailsForJenkins, useGetJobDetailsForJenkinsQuery, } from './hooks/useGetJobDetailsForJenkinsQuery';
110
+ export type { GetLastSuccessfulBuildForAcrRepositoryErrorResponse, GetLastSuccessfulBuildForAcrRepositoryMutationQueryParams, GetLastSuccessfulBuildForAcrRepositoryOkResponse, GetLastSuccessfulBuildForAcrRepositoryProps, GetLastSuccessfulBuildForAcrRepositoryRequestBody, } from './hooks/useGetLastSuccessfulBuildForAcrRepositoryMutation';
111
+ export { getLastSuccessfulBuildForAcrRepository, useGetLastSuccessfulBuildForAcrRepositoryMutation, } from './hooks/useGetLastSuccessfulBuildForAcrRepositoryMutation';
112
+ export type { GetLastSuccessfulBuildForArtifactoryArtifactErrorResponse, GetLastSuccessfulBuildForArtifactoryArtifactMutationQueryParams, GetLastSuccessfulBuildForArtifactoryArtifactOkResponse, GetLastSuccessfulBuildForArtifactoryArtifactProps, GetLastSuccessfulBuildForArtifactoryArtifactRequestBody, } from './hooks/useGetLastSuccessfulBuildForArtifactoryArtifactMutation';
113
+ export { getLastSuccessfulBuildForArtifactoryArtifact, useGetLastSuccessfulBuildForArtifactoryArtifactMutation, } from './hooks/useGetLastSuccessfulBuildForArtifactoryArtifactMutation';
108
114
  export type { GetLastSuccessfulBuildForDockerErrorResponse, GetLastSuccessfulBuildForDockerMutationQueryParams, GetLastSuccessfulBuildForDockerOkResponse, GetLastSuccessfulBuildForDockerProps, GetLastSuccessfulBuildForDockerRequestBody, } from './hooks/useGetLastSuccessfulBuildForDockerMutation';
109
115
  export { getLastSuccessfulBuildForDocker, useGetLastSuccessfulBuildForDockerMutation, } from './hooks/useGetLastSuccessfulBuildForDockerMutation';
110
116
  export type { GetLastSuccessfulBuildForEcrErrorResponse, GetLastSuccessfulBuildForEcrMutationQueryParams, GetLastSuccessfulBuildForEcrOkResponse, GetLastSuccessfulBuildForEcrProps, GetLastSuccessfulBuildForEcrRequestBody, } from './hooks/useGetLastSuccessfulBuildForEcrMutation';
111
117
  export { getLastSuccessfulBuildForEcr, useGetLastSuccessfulBuildForEcrMutation, } from './hooks/useGetLastSuccessfulBuildForEcrMutation';
118
+ export type { GetLastSuccessfulBuildForGcrErrorResponse, GetLastSuccessfulBuildForGcrMutationQueryParams, GetLastSuccessfulBuildForGcrOkResponse, GetLastSuccessfulBuildForGcrProps, GetLastSuccessfulBuildForGcrRequestBody, } from './hooks/useGetLastSuccessfulBuildForGcrMutation';
119
+ export { getLastSuccessfulBuildForGcr, useGetLastSuccessfulBuildForGcrMutation, } from './hooks/useGetLastSuccessfulBuildForGcrMutation';
120
+ export type { GetLastSuccessfulBuildForGoogleArtifactRegistryErrorResponse, GetLastSuccessfulBuildForGoogleArtifactRegistryMutationQueryParams, GetLastSuccessfulBuildForGoogleArtifactRegistryOkResponse, GetLastSuccessfulBuildForGoogleArtifactRegistryProps, GetLastSuccessfulBuildForGoogleArtifactRegistryRequestBody, } from './hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation';
121
+ export { getLastSuccessfulBuildForGoogleArtifactRegistry, useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation, } from './hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation';
122
+ export type { GetLastSuccessfulBuildForNexusArtifactErrorResponse, GetLastSuccessfulBuildForNexusArtifactMutationQueryParams, GetLastSuccessfulBuildForNexusArtifactOkResponse, GetLastSuccessfulBuildForNexusArtifactProps, GetLastSuccessfulBuildForNexusArtifactRequestBody, } from './hooks/useGetLastSuccessfulBuildForNexusArtifactMutation';
123
+ export { getLastSuccessfulBuildForNexusArtifact, useGetLastSuccessfulBuildForNexusArtifactMutation, } from './hooks/useGetLastSuccessfulBuildForNexusArtifactMutation';
112
124
  export type { GetLastSuccessfulVersionErrorResponse, GetLastSuccessfulVersionOkResponse, GetLastSuccessfulVersionProps, GetLastSuccessfulVersionQueryQueryParams, } from './hooks/useGetLastSuccessfulVersionQuery';
113
125
  export { getLastSuccessfulVersion, useGetLastSuccessfulVersionQuery, } from './hooks/useGetLastSuccessfulVersionQuery';
114
126
  export type { GetListOfAllReposByRefConnectorErrorResponse, GetListOfAllReposByRefConnectorOkResponse, GetListOfAllReposByRefConnectorProps, GetListOfAllReposByRefConnectorQueryQueryParams, } from './hooks/useGetListOfAllReposByRefConnectorQuery';
@@ -157,6 +169,8 @@ export type { GetUserGroupAggregateListByUserErrorResponse, GetUserGroupAggregat
157
169
  export { getUserGroupAggregateListByUser, useGetUserGroupAggregateListByUserMutation, } from './hooks/useGetUserGroupAggregateListByUserMutation';
158
170
  export type { GetUserGroupAggregateListErrorResponse, GetUserGroupAggregateListOkResponse, GetUserGroupAggregateListProps, GetUserGroupAggregateListQueryQueryParams, } from './hooks/useGetUserGroupAggregateListQuery';
159
171
  export { getUserGroupAggregateList, useGetUserGroupAggregateListQuery, } from './hooks/useGetUserGroupAggregateListQuery';
172
+ export type { GetUserGroupAggregateErrorResponse, GetUserGroupAggregateOkResponse, GetUserGroupAggregateProps, GetUserGroupAggregateQueryPathParams, GetUserGroupAggregateQueryQueryParams, } from './hooks/useGetUserGroupAggregateQuery';
173
+ export { getUserGroupAggregate, useGetUserGroupAggregateQuery, } from './hooks/useGetUserGroupAggregateQuery';
160
174
  export type { GetV2BucketListForS3ErrorResponse, GetV2BucketListForS3OkResponse, GetV2BucketListForS3Props, GetV2BucketListForS3QueryQueryParams, } from './hooks/useGetV2BucketListForS3Query';
161
175
  export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
162
176
  export type { GetVariableErrorResponse, GetVariableOkResponse, GetVariableProps, GetVariableQueryPathParams, GetVariableQueryQueryParams, } from './hooks/useGetVariableQuery';
@@ -207,12 +221,17 @@ export type { ValidateJiraCredentialsErrorResponse, ValidateJiraCredentialsOkRes
207
221
  export { useValidateJiraCredentialsQuery, validateJiraCredentials, } from './hooks/useValidateJiraCredentialsQuery';
208
222
  export type { VpcsErrorResponse, VpcsOkResponse, VpcsProps, VpcsQueryQueryParams, } from './hooks/useVpcsQuery';
209
223
  export { useVpcsQuery, vpcs } from './hooks/useVpcsQuery';
224
+ export type { AcrRequestDtoRequestBody } from './requestBodies/AcrRequestDtoRequestBody';
210
225
  export type { ApiKeyDtoRequestBody } from './requestBodies/ApiKeyDtoRequestBody';
226
+ export type { ArtifactoryRequestDtoRequestBody } from './requestBodies/ArtifactoryRequestDtoRequestBody';
211
227
  export type { DockerRequestDtoRequestBody } from './requestBodies/DockerRequestDtoRequestBody';
212
228
  export type { EcrRequestDtoRequestBody } from './requestBodies/EcrRequestDtoRequestBody';
213
229
  export type { EnvironmentFilterPropertiesRequestBody } from './requestBodies/EnvironmentFilterPropertiesRequestBody';
230
+ export type { GarRequestDtoRequestBody } from './requestBodies/GarRequestDtoRequestBody';
231
+ export type { GcrRequestDtoRequestBody } from './requestBodies/GcrRequestDtoRequestBody';
214
232
  export type { GetFileContentUsingScopedFilePathV2BodyRequestBody } from './requestBodies/GetFileContentUsingScopedFilePathV2BodyRequestBody';
215
233
  export type { ListTagsForAmiArtifactBodyRequestBody } from './requestBodies/ListTagsForAmiArtifactBodyRequestBody';
234
+ export type { NexusRequestDtoRequestBody } from './requestBodies/NexusRequestDtoRequestBody';
216
235
  export type { OrganizationRequestRequestBody } from './requestBodies/OrganizationRequestRequestBody';
217
236
  export type { ProjectRequestRequestBody } from './requestBodies/ProjectRequestRequestBody';
218
237
  export type { ServiceRequestDtoRequestBody } from './requestBodies/ServiceRequestDtoRequestBody';
@@ -225,6 +244,7 @@ export type { AcrRegistriesDto } from './schemas/AcrRegistriesDto';
225
244
  export type { AcrRegistryDto } from './schemas/AcrRegistryDto';
226
245
  export type { AcrRepositoriesDto } from './schemas/AcrRepositoriesDto';
227
246
  export type { AcrRepositoryDto } from './schemas/AcrRepositoryDto';
247
+ export type { AcrRequestDto } from './schemas/AcrRequestDto';
228
248
  export type { AcrResponseDto } from './schemas/AcrResponseDto';
229
249
  export type { AmiFilter } from './schemas/AmiFilter';
230
250
  export type { AmiRequestBody } from './schemas/AmiRequestBody';
@@ -238,6 +258,7 @@ export type { ArtifactoryBuildDetailsDto } from './schemas/ArtifactoryBuildDetai
238
258
  export type { ArtifactoryImagePath } from './schemas/ArtifactoryImagePath';
239
259
  export type { ArtifactoryImagePathsDto } from './schemas/ArtifactoryImagePathsDto';
240
260
  export type { ArtifactoryRepoDetailsDto } from './schemas/ArtifactoryRepoDetailsDto';
261
+ export type { ArtifactoryRequestDto } from './schemas/ArtifactoryRequestDto';
241
262
  export type { ArtifactoryResponseDto } from './schemas/ArtifactoryResponseDto';
242
263
  export type { AwsVpc } from './schemas/AwsVpc';
243
264
  export type { AzureArtifactsFeed } from './schemas/AzureArtifactsFeed';
@@ -279,10 +300,13 @@ export type { GarPackageDto } from './schemas/GarPackageDto';
279
300
  export type { GarPackageDtoList } from './schemas/GarPackageDtoList';
280
301
  export type { GarRepositoryDto } from './schemas/GarRepositoryDto';
281
302
  export type { GarRepositoryDtoList } from './schemas/GarRepositoryDtoList';
303
+ export type { GarRequestDto } from './schemas/GarRequestDto';
282
304
  export type { GarResponseDto } from './schemas/GarResponseDto';
283
305
  export type { GcpProjectDetails } from './schemas/GcpProjectDetails';
284
306
  export type { GcpProjectResponseDto } from './schemas/GcpProjectResponseDto';
285
307
  export type { GcpResponseDto } from './schemas/GcpResponseDto';
308
+ export type { GcrBuildDetailsDto } from './schemas/GcrBuildDetailsDto';
309
+ export type { GcrRequestDto } from './schemas/GcrRequestDto';
286
310
  export type { GitListRepositoryResponse } from './schemas/GitListRepositoryResponse';
287
311
  export type { GitRepositoryResponseDto } from './schemas/GitRepositoryResponseDto';
288
312
  export type { GithubPackageDto } from './schemas/GithubPackageDto';
@@ -312,6 +336,7 @@ export type { JobDetails } from './schemas/JobDetails';
312
336
  export type { JobParameter } from './schemas/JobParameter';
313
337
  export type { NexusBuildDetailsDto } from './schemas/NexusBuildDetailsDto';
314
338
  export type { NexusRepositories } from './schemas/NexusRepositories';
339
+ export type { NexusRequestDto } from './schemas/NexusRequestDto';
315
340
  export type { NexusResponseDto } from './schemas/NexusResponseDto';
316
341
  export type { NgVariable } from './schemas/NgVariable';
317
342
  export type { NotificationSettingConfigDto } from './schemas/NotificationSettingConfigDto';
@@ -337,11 +362,13 @@ export type { ProjectRequest } from './schemas/ProjectRequest';
337
362
  export type { ProjectResponse } from './schemas/ProjectResponse';
338
363
  export type { RegionGar } from './schemas/RegionGar';
339
364
  export type { ResourceScope } from './schemas/ResourceScope';
365
+ export type { ResponseAcrBuildDetailsDto } from './schemas/ResponseAcrBuildDetailsDto';
340
366
  export type { ResponseAcrRegistriesDto } from './schemas/ResponseAcrRegistriesDto';
341
367
  export type { ResponseAcrRepositoriesDto } from './schemas/ResponseAcrRepositoriesDto';
342
368
  export type { ResponseAcrResponseDto } from './schemas/ResponseAcrResponseDto';
343
369
  export type { ResponseApiKeyDto } from './schemas/ResponseApiKeyDto';
344
370
  export type { ResponseArtifactSourcesResponseDto } from './schemas/ResponseArtifactSourcesResponseDto';
371
+ export type { ResponseArtifactoryBuildDetailsDto } from './schemas/ResponseArtifactoryBuildDetailsDto';
345
372
  export type { ResponseArtifactoryImagePathsDto } from './schemas/ResponseArtifactoryImagePathsDto';
346
373
  export type { ResponseArtifactoryRepoDetailsDto } from './schemas/ResponseArtifactoryRepoDetailsDto';
347
374
  export type { ResponseArtifactoryResponseDto } from './schemas/ResponseArtifactoryResponseDto';
@@ -357,11 +384,13 @@ export type { ResponseDockerResponseDto } from './schemas/ResponseDockerResponse
357
384
  export type { ResponseEcrBuildDetailsDto } from './schemas/ResponseEcrBuildDetailsDto';
358
385
  export type { ResponseEcrListImagesDto } from './schemas/ResponseEcrListImagesDto';
359
386
  export type { ResponseEcrResponseDto } from './schemas/ResponseEcrResponseDto';
387
+ export type { ResponseGarBuildDetailsDto } from './schemas/ResponseGarBuildDetailsDto';
360
388
  export type { ResponseGarPackageDtoList } from './schemas/ResponseGarPackageDtoList';
361
389
  export type { ResponseGarRepositoryDtoList } from './schemas/ResponseGarRepositoryDtoList';
362
390
  export type { ResponseGarResponseDto } from './schemas/ResponseGarResponseDto';
363
391
  export type { ResponseGcpProjectResponseDto } from './schemas/ResponseGcpProjectResponseDto';
364
392
  export type { ResponseGcpResponseDto } from './schemas/ResponseGcpResponseDto';
393
+ export type { ResponseGcrBuildDetailsDto } from './schemas/ResponseGcrBuildDetailsDto';
365
394
  export type { ResponseGitListRepositoryResponse } from './schemas/ResponseGitListRepositoryResponse';
366
395
  export type { ResponseGithubPackagesResponseDto } from './schemas/ResponseGithubPackagesResponseDto';
367
396
  export type { ResponseGoogleCloudStorageBucketsResponseDto } from './schemas/ResponseGoogleCloudStorageBucketsResponseDto';
@@ -392,6 +421,7 @@ export type { ResponseListString } from './schemas/ResponseListString';
392
421
  export type { ResponseListUserRepoResponse } from './schemas/ResponseListUserRepoResponse';
393
422
  export type { ResponseMapStringString } from './schemas/ResponseMapStringString';
394
423
  export type { ResponseMessage } from './schemas/ResponseMessage';
424
+ export type { ResponseNexusBuildDetailsDto } from './schemas/ResponseNexusBuildDetailsDto';
395
425
  export type { ResponseNexusResponseDto } from './schemas/ResponseNexusResponseDto';
396
426
  export type { ResponseOrganizationResponse } from './schemas/ResponseOrganizationResponse';
397
427
  export type { ResponsePageApiKeyAggregateDto } from './schemas/ResponsePageApiKeyAggregateDto';
@@ -411,6 +441,7 @@ export type { ResponseSetHelmCommandFlagType } from './schemas/ResponseSetHelmCo
411
441
  export type { ResponseSetString } from './schemas/ResponseSetString';
412
442
  export type { ResponseString } from './schemas/ResponseString';
413
443
  export type { ResponseTokenDto } from './schemas/ResponseTokenDto';
444
+ export type { ResponseUserGroupAggregateDto } from './schemas/ResponseUserGroupAggregateDto';
414
445
  export type { ResponseUserGroupDto } from './schemas/ResponseUserGroupDto';
415
446
  export type { ResponseVariableResponseDto } from './schemas/ResponseVariableResponseDto';
416
447
  export type { RoleAssignmentMetadataDto } from './schemas/RoleAssignmentMetadataDto';
@@ -29,6 +29,7 @@ export { getBuildDetailsForDockerWithYaml, useGetBuildDetailsForDockerWithYamlMu
29
29
  export { getBuildDetailsForEcr, useGetBuildDetailsForEcrQuery, } from './hooks/useGetBuildDetailsForEcrQuery';
30
30
  export { getBuildDetailsForGoogleArtifactRegistry, useGetBuildDetailsForGoogleArtifactRegistryQuery, } from './hooks/useGetBuildDetailsForGoogleArtifactRegistryQuery';
31
31
  export { getBuildDetailsForNexusArtifact, useGetBuildDetailsForNexusArtifactQuery, } from './hooks/useGetBuildDetailsForNexusArtifactQuery';
32
+ export { getBuildsForJenkins, useGetBuildsForJenkinsQuery, } from './hooks/useGetBuildsForJenkinsQuery';
32
33
  export { getClusterNamesForGcp, useGetClusterNamesForGcpQuery, } from './hooks/useGetClusterNamesForGcpQuery';
33
34
  export { getEksClusterNames, useGetEksClusterNamesQuery } from './hooks/useGetEksClusterNamesQuery';
34
35
  export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
@@ -51,8 +52,13 @@ export { getJiraProjects, useGetJiraProjectsQuery } from './hooks/useGetJiraProj
51
52
  export { getJiraStatuses, useGetJiraStatusesQuery } from './hooks/useGetJiraStatusesQuery';
52
53
  export { getJobDetailsForCustom, useGetJobDetailsForCustomMutation, } from './hooks/useGetJobDetailsForCustomMutation';
53
54
  export { getJobDetailsForJenkins, useGetJobDetailsForJenkinsQuery, } from './hooks/useGetJobDetailsForJenkinsQuery';
55
+ export { getLastSuccessfulBuildForAcrRepository, useGetLastSuccessfulBuildForAcrRepositoryMutation, } from './hooks/useGetLastSuccessfulBuildForAcrRepositoryMutation';
56
+ export { getLastSuccessfulBuildForArtifactoryArtifact, useGetLastSuccessfulBuildForArtifactoryArtifactMutation, } from './hooks/useGetLastSuccessfulBuildForArtifactoryArtifactMutation';
54
57
  export { getLastSuccessfulBuildForDocker, useGetLastSuccessfulBuildForDockerMutation, } from './hooks/useGetLastSuccessfulBuildForDockerMutation';
55
58
  export { getLastSuccessfulBuildForEcr, useGetLastSuccessfulBuildForEcrMutation, } from './hooks/useGetLastSuccessfulBuildForEcrMutation';
59
+ export { getLastSuccessfulBuildForGcr, useGetLastSuccessfulBuildForGcrMutation, } from './hooks/useGetLastSuccessfulBuildForGcrMutation';
60
+ export { getLastSuccessfulBuildForGoogleArtifactRegistry, useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation, } from './hooks/useGetLastSuccessfulBuildForGoogleArtifactRegistryMutation';
61
+ export { getLastSuccessfulBuildForNexusArtifact, useGetLastSuccessfulBuildForNexusArtifactMutation, } from './hooks/useGetLastSuccessfulBuildForNexusArtifactMutation';
56
62
  export { getLastSuccessfulVersion, useGetLastSuccessfulVersionQuery, } from './hooks/useGetLastSuccessfulVersionQuery';
57
63
  export { getListOfAllReposByRefConnector, useGetListOfAllReposByRefConnectorQuery, } from './hooks/useGetListOfAllReposByRefConnectorQuery';
58
64
  export { getListOfReposByRefConnector, useGetListOfReposByRefConnectorQuery, } from './hooks/useGetListOfReposByRefConnectorQuery';
@@ -77,6 +83,7 @@ export { getSubscriptionTags, useGetSubscriptionTagsQuery, } from './hooks/useGe
77
83
  export { getToken, useGetTokenQuery } from './hooks/useGetTokenQuery';
78
84
  export { getUserGroupAggregateListByUser, useGetUserGroupAggregateListByUserMutation, } from './hooks/useGetUserGroupAggregateListByUserMutation';
79
85
  export { getUserGroupAggregateList, useGetUserGroupAggregateListQuery, } from './hooks/useGetUserGroupAggregateListQuery';
86
+ export { getUserGroupAggregate, useGetUserGroupAggregateQuery, } from './hooks/useGetUserGroupAggregateQuery';
80
87
  export { getV2BucketListForS3, useGetV2BucketListForS3Query, } from './hooks/useGetV2BucketListForS3Query';
81
88
  export { getVariable, useGetVariableQuery } from './hooks/useGetVariableQuery';
82
89
  export { getVariablesList, useGetVariablesListQuery } from './hooks/useGetVariablesListQuery';
@@ -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,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
+ }
@@ -0,0 +1,9 @@
1
+ import type { UserGroupAggregateDto } from '../schemas/UserGroupAggregateDto';
2
+ export interface ResponseUserGroupAggregateDto {
3
+ correlationId?: string;
4
+ data?: UserGroupAggregateDto;
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.16.0",
3
+ "version": "1.18.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",