@harnessio/react-ng-manager-swagger-service-client 1.5.1 → 1.6.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.
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetArtifactPathForJenkinsQuery.d.ts +34 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetArtifactPathForJenkinsQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetArtifactPathsForBambooMutation.d.ts +38 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetArtifactPathsForBambooMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetAzureSubscriptionsQuery.d.ts +24 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetAzureSubscriptionsQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBucketListForS3Query.d.ts +25 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBucketListForS3Query.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetGcsBucketListQuery.d.ts +24 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetGcsBucketListQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetGcsBucketsMutation.d.ts +38 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetGcsBucketsMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetPackagesForGoogleArtifactRegistryQuery.d.ts +34 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetPackagesForGoogleArtifactRegistryQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetPlansKeyMutation.d.ts +37 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetPlansKeyMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetProjectsMutation.d.ts +39 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetProjectsMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetRegionsForGoogleArtifactRegistryQuery.d.ts +15 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetRegionsForGoogleArtifactRegistryQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetRepositoriesDetailsForArtifactoryQuery.d.ts +28 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetRepositoriesDetailsForArtifactoryQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetRepositoriesDetailsV2ForArtifactoryMutation.d.ts +41 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetRepositoriesDetailsV2ForArtifactoryMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetRepositoriesForGoogleArtifactRegistryQuery.d.ts +33 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetRepositoriesForGoogleArtifactRegistryQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useListFeedsForAzureArtifactsQuery.d.ts +33 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useListFeedsForAzureArtifactsQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useListPackagesForAzureArtifactsQuery.d.ts +35 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useListPackagesForAzureArtifactsQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useListProjectsForAzureArtifactsQuery.d.ts +32 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useListProjectsForAzureArtifactsQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useListTagsForAmiArtifactMutation.d.ts +38 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useListTagsForAmiArtifactMutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +64 -0
- package/dist/ng-manager-swagger-service/src/services/index.js +17 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AmiTagObject.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AmiTagObject.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ArtifactoryRepoDetailsDto.d.ts +5 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ArtifactoryRepoDetailsDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureArtifactsFeed.d.ts +7 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureArtifactsFeed.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureArtifactsPackage.d.ts +5 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureArtifactsPackage.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureDevopsProject.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureDevopsProject.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureSubscriptionDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureSubscriptionDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureSubscriptionsDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureSubscriptionsDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/BambooPlanKeysDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/BambooPlanKeysDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/BambooPlanNames.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/BambooPlanNames.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GarPackageDto.d.ts +5 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GarPackageDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GarPackageDtoList.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GarPackageDtoList.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GarRepositoryDto.d.ts +6 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GarRepositoryDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GarRepositoryDtoList.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GarRepositoryDtoList.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GcpProjectDetails.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GcpProjectDetails.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GcpProjectResponseDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GcpProjectResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GoogleCloudStorageBucketDetails.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GoogleCloudStorageBucketDetails.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GoogleCloudStorageBucketsResponseDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GoogleCloudStorageBucketsResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RegionGar.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/RegionGar.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseArtifactoryRepoDetailsDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseArtifactoryRepoDetailsDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAzureSubscriptionsDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAzureSubscriptionsDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseBambooPlanKeysDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseBambooPlanKeysDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGarPackageDtoList.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGarPackageDtoList.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGarRepositoryDtoList.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGarRepositoryDtoList.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGcpProjectResponseDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGcpProjectResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGoogleCloudStorageBucketsResponseDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGoogleCloudStorageBucketsResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListAmiTagObject.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListAmiTagObject.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListAzureArtifactsFeed.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListAzureArtifactsFeed.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListAzureArtifactsPackage.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListAzureArtifactsPackage.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListAzureDevopsProject.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListAzureDevopsProject.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListRegionGar.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListRegionGar.js +1 -0
- package/package.json +1 -1
package/dist/ng-manager-swagger-service/src/services/hooks/useGetArtifactPathForJenkinsQuery.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseListString } from '../schemas/ResponseListString';
|
|
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 GetArtifactPathForJenkinsQueryPathParams {
|
|
8
|
+
jobName: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetArtifactPathForJenkinsQueryQueryParams {
|
|
11
|
+
connectorRef?: string;
|
|
12
|
+
accountIdentifier: string;
|
|
13
|
+
orgIdentifier?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
branch?: string;
|
|
16
|
+
repoIdentifier?: string;
|
|
17
|
+
getDefaultFromOtherRepo?: boolean;
|
|
18
|
+
parentEntityConnectorRef?: string;
|
|
19
|
+
parentEntityRepoName?: string;
|
|
20
|
+
parentEntityAccountIdentifier?: string;
|
|
21
|
+
parentEntityOrgIdentifier?: string;
|
|
22
|
+
parentEntityProjectIdentifier?: string;
|
|
23
|
+
repoName?: string;
|
|
24
|
+
}
|
|
25
|
+
export type GetArtifactPathForJenkinsOkResponse = ResponseWithPagination<ResponseListString>;
|
|
26
|
+
export type GetArtifactPathForJenkinsErrorResponse = Failure | Error;
|
|
27
|
+
export interface GetArtifactPathForJenkinsProps extends GetArtifactPathForJenkinsQueryPathParams, Omit<FetcherOptions<GetArtifactPathForJenkinsQueryQueryParams, unknown>, 'url'> {
|
|
28
|
+
queryParams: GetArtifactPathForJenkinsQueryQueryParams;
|
|
29
|
+
}
|
|
30
|
+
export declare function getArtifactPathForJenkins(props: GetArtifactPathForJenkinsProps): Promise<GetArtifactPathForJenkinsOkResponse>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export declare function useGetArtifactPathForJenkinsQuery(props: GetArtifactPathForJenkinsProps, options?: Omit<UseQueryOptions<GetArtifactPathForJenkinsOkResponse, GetArtifactPathForJenkinsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetArtifactPathForJenkinsOkResponse, GetArtifactPathForJenkinsErrorResponse>;
|
package/dist/ng-manager-swagger-service/src/services/hooks/useGetArtifactPathForJenkinsQuery.js
ADDED
|
@@ -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 getArtifactPathForJenkins(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/jenkins/job/${props.jobName}/paths`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetArtifactPathForJenkinsQuery(props, options) {
|
|
13
|
+
return useQuery(['getArtifactPath For Jenkins', props.jobName, props.queryParams], ({ signal }) => getArtifactPathForJenkins(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/ng-manager-swagger-service/src/services/hooks/useGetArtifactPathsForBambooMutation.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseListString } from '../schemas/ResponseListString';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ListTagsForAmiArtifactBodyRequestBody } from '../requestBodies/ListTagsForAmiArtifactBodyRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetArtifactPathsForBambooMutationQueryParams {
|
|
9
|
+
connectorRef?: string;
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
orgIdentifier?: string;
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
pipelineIdentifier?: string;
|
|
14
|
+
planName?: string;
|
|
15
|
+
branch?: string;
|
|
16
|
+
repoIdentifier?: string;
|
|
17
|
+
getDefaultFromOtherRepo?: boolean;
|
|
18
|
+
parentEntityConnectorRef?: string;
|
|
19
|
+
parentEntityRepoName?: string;
|
|
20
|
+
parentEntityAccountIdentifier?: string;
|
|
21
|
+
parentEntityOrgIdentifier?: string;
|
|
22
|
+
parentEntityProjectIdentifier?: string;
|
|
23
|
+
repoName?: string;
|
|
24
|
+
fqnPath?: string;
|
|
25
|
+
serviceId?: string;
|
|
26
|
+
}
|
|
27
|
+
export type GetArtifactPathsForBambooRequestBody = ListTagsForAmiArtifactBodyRequestBody;
|
|
28
|
+
export type GetArtifactPathsForBambooOkResponse = ResponseWithPagination<ResponseListString>;
|
|
29
|
+
export type GetArtifactPathsForBambooErrorResponse = Failure | Error;
|
|
30
|
+
export interface GetArtifactPathsForBambooProps extends Omit<FetcherOptions<GetArtifactPathsForBambooMutationQueryParams, GetArtifactPathsForBambooRequestBody>, 'url'> {
|
|
31
|
+
queryParams: GetArtifactPathsForBambooMutationQueryParams;
|
|
32
|
+
body: GetArtifactPathsForBambooRequestBody;
|
|
33
|
+
}
|
|
34
|
+
export declare function getArtifactPathsForBamboo(props: GetArtifactPathsForBambooProps): Promise<GetArtifactPathsForBambooOkResponse>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
export declare function useGetArtifactPathsForBambooMutation(options?: Omit<UseMutationOptions<GetArtifactPathsForBambooOkResponse, GetArtifactPathsForBambooErrorResponse, GetArtifactPathsForBambooProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetArtifactPathsForBambooOkResponse, GetArtifactPathsForBambooErrorResponse, GetArtifactPathsForBambooProps, unknown>;
|
package/dist/ng-manager-swagger-service/src/services/hooks/useGetArtifactPathsForBambooMutation.js
ADDED
|
@@ -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 getArtifactPathsForBamboo(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/bamboo/paths`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetArtifactPathsForBambooMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getArtifactPathsForBamboo(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseAzureSubscriptionsDto } from '../schemas/ResponseAzureSubscriptionsDto';
|
|
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 GetAzureSubscriptionsQueryQueryParams {
|
|
8
|
+
connectorRef?: string;
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
envId?: string;
|
|
13
|
+
infraDefinitionId?: string;
|
|
14
|
+
}
|
|
15
|
+
export type GetAzureSubscriptionsOkResponse = ResponseWithPagination<ResponseAzureSubscriptionsDto>;
|
|
16
|
+
export type GetAzureSubscriptionsErrorResponse = Failure | Error;
|
|
17
|
+
export interface GetAzureSubscriptionsProps extends Omit<FetcherOptions<GetAzureSubscriptionsQueryQueryParams, unknown>, 'url'> {
|
|
18
|
+
queryParams: GetAzureSubscriptionsQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function getAzureSubscriptions(props: GetAzureSubscriptionsProps): Promise<GetAzureSubscriptionsOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export declare function useGetAzureSubscriptionsQuery(props: GetAzureSubscriptionsProps, options?: Omit<UseQueryOptions<GetAzureSubscriptionsOkResponse, GetAzureSubscriptionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAzureSubscriptionsOkResponse, GetAzureSubscriptionsErrorResponse>;
|
|
@@ -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 getAzureSubscriptions(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/azure/subscriptions`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAzureSubscriptionsQuery(props, options) {
|
|
13
|
+
return useQuery(['getAzureSubscriptions', props.queryParams], ({ signal }) => getAzureSubscriptions(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseMapStringString } from '../schemas/ResponseMapStringString';
|
|
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 GetBucketListForS3QueryQueryParams {
|
|
8
|
+
region?: string;
|
|
9
|
+
connectorRef?: string;
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
orgIdentifier?: string;
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
fqnPath?: string;
|
|
14
|
+
serviceId?: string;
|
|
15
|
+
}
|
|
16
|
+
export type GetBucketListForS3OkResponse = ResponseWithPagination<ResponseMapStringString>;
|
|
17
|
+
export type GetBucketListForS3ErrorResponse = Failure | Error;
|
|
18
|
+
export interface GetBucketListForS3Props extends Omit<FetcherOptions<GetBucketListForS3QueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GetBucketListForS3QueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getBucketListForS3(props: GetBucketListForS3Props): Promise<GetBucketListForS3OkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetBucketListForS3Query(props: GetBucketListForS3Props, options?: Omit<UseQueryOptions<GetBucketListForS3OkResponse, GetBucketListForS3ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetBucketListForS3OkResponse, GetBucketListForS3ErrorResponse>;
|
|
@@ -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 getBucketListForS3(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/buckets/s3/getBuckets`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetBucketListForS3Query(props, options) {
|
|
13
|
+
return useQuery(['getBucketListForS3', props.queryParams], ({ signal }) => getBucketListForS3(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseMapStringString } from '../schemas/ResponseMapStringString';
|
|
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 GetGcsBucketListQueryQueryParams {
|
|
8
|
+
connectorRef?: string;
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
fqnPath?: string;
|
|
13
|
+
serviceId?: string;
|
|
14
|
+
}
|
|
15
|
+
export type GetGcsBucketListOkResponse = ResponseWithPagination<ResponseMapStringString>;
|
|
16
|
+
export type GetGcsBucketListErrorResponse = Failure | Error;
|
|
17
|
+
export interface GetGcsBucketListProps extends Omit<FetcherOptions<GetGcsBucketListQueryQueryParams, unknown>, 'url'> {
|
|
18
|
+
queryParams: GetGcsBucketListQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export declare function getGcsBucketList(props: GetGcsBucketListProps): Promise<GetGcsBucketListOkResponse>;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
export declare function useGetGcsBucketListQuery(props: GetGcsBucketListProps, options?: Omit<UseQueryOptions<GetGcsBucketListOkResponse, GetGcsBucketListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetGcsBucketListOkResponse, GetGcsBucketListErrorResponse>;
|
|
@@ -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 getGcsBucketList(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/buckets/gcs`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetGcsBucketListQuery(props, options) {
|
|
13
|
+
return useQuery(['getGCSBucketList', props.queryParams], ({ signal }) => getGcsBucketList(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseGoogleCloudStorageBucketsResponseDto } from '../schemas/ResponseGoogleCloudStorageBucketsResponseDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ListTagsForAmiArtifactBodyRequestBody } from '../requestBodies/ListTagsForAmiArtifactBodyRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetGcsBucketsMutationQueryParams {
|
|
9
|
+
project?: string;
|
|
10
|
+
connectorRef?: string;
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
orgIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
pipelineIdentifier?: string;
|
|
15
|
+
fqnPath?: 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
|
+
serviceId?: string;
|
|
26
|
+
}
|
|
27
|
+
export type GetGcsBucketsRequestBody = ListTagsForAmiArtifactBodyRequestBody;
|
|
28
|
+
export type GetGcsBucketsOkResponse = ResponseWithPagination<ResponseGoogleCloudStorageBucketsResponseDto>;
|
|
29
|
+
export type GetGcsBucketsErrorResponse = Failure | Error;
|
|
30
|
+
export interface GetGcsBucketsProps extends Omit<FetcherOptions<GetGcsBucketsMutationQueryParams, GetGcsBucketsRequestBody>, 'url'> {
|
|
31
|
+
queryParams: GetGcsBucketsMutationQueryParams;
|
|
32
|
+
body: GetGcsBucketsRequestBody;
|
|
33
|
+
}
|
|
34
|
+
export declare function getGcsBuckets(props: GetGcsBucketsProps): Promise<GetGcsBucketsOkResponse>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
export declare function useGetGcsBucketsMutation(options?: Omit<UseMutationOptions<GetGcsBucketsOkResponse, GetGcsBucketsErrorResponse, GetGcsBucketsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetGcsBucketsOkResponse, GetGcsBucketsErrorResponse, GetGcsBucketsProps, 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 getGcsBuckets(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/google-cloud-storage/buckets`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetGcsBucketsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getGcsBuckets(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseGarPackageDtoList } from '../schemas/ResponseGarPackageDtoList';
|
|
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 GetPackagesForGoogleArtifactRegistryQueryQueryParams {
|
|
8
|
+
connectorRef?: string;
|
|
9
|
+
region?: string;
|
|
10
|
+
repositoryName?: string;
|
|
11
|
+
project?: string;
|
|
12
|
+
accountIdentifier: string;
|
|
13
|
+
orgIdentifier?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
branch?: string;
|
|
16
|
+
repoIdentifier?: string;
|
|
17
|
+
getDefaultFromOtherRepo?: boolean;
|
|
18
|
+
parentEntityConnectorRef?: string;
|
|
19
|
+
parentEntityRepoName?: string;
|
|
20
|
+
parentEntityAccountIdentifier?: string;
|
|
21
|
+
parentEntityOrgIdentifier?: string;
|
|
22
|
+
parentEntityProjectIdentifier?: string;
|
|
23
|
+
repoName?: string;
|
|
24
|
+
}
|
|
25
|
+
export type GetPackagesForGoogleArtifactRegistryOkResponse = ResponseWithPagination<ResponseGarPackageDtoList>;
|
|
26
|
+
export type GetPackagesForGoogleArtifactRegistryErrorResponse = Failure | Error;
|
|
27
|
+
export interface GetPackagesForGoogleArtifactRegistryProps extends Omit<FetcherOptions<GetPackagesForGoogleArtifactRegistryQueryQueryParams, unknown>, 'url'> {
|
|
28
|
+
queryParams: GetPackagesForGoogleArtifactRegistryQueryQueryParams;
|
|
29
|
+
}
|
|
30
|
+
export declare function getPackagesForGoogleArtifactRegistry(props: GetPackagesForGoogleArtifactRegistryProps): Promise<GetPackagesForGoogleArtifactRegistryOkResponse>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export declare function useGetPackagesForGoogleArtifactRegistryQuery(props: GetPackagesForGoogleArtifactRegistryProps, options?: Omit<UseQueryOptions<GetPackagesForGoogleArtifactRegistryOkResponse, GetPackagesForGoogleArtifactRegistryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetPackagesForGoogleArtifactRegistryOkResponse, GetPackagesForGoogleArtifactRegistryErrorResponse>;
|
|
@@ -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 getPackagesForGoogleArtifactRegistry(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/gar/getPackages`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetPackagesForGoogleArtifactRegistryQuery(props, options) {
|
|
13
|
+
return useQuery(['getPackagesForGoogleArtifactRegistry', props.queryParams], ({ signal }) => getPackagesForGoogleArtifactRegistry(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseBambooPlanKeysDto } from '../schemas/ResponseBambooPlanKeysDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ListTagsForAmiArtifactBodyRequestBody } from '../requestBodies/ListTagsForAmiArtifactBodyRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetPlansKeyMutationQueryParams {
|
|
9
|
+
connectorRef?: string;
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
orgIdentifier?: string;
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
pipelineIdentifier?: string;
|
|
14
|
+
branch?: string;
|
|
15
|
+
repoIdentifier?: string;
|
|
16
|
+
getDefaultFromOtherRepo?: boolean;
|
|
17
|
+
parentEntityConnectorRef?: string;
|
|
18
|
+
parentEntityRepoName?: string;
|
|
19
|
+
parentEntityAccountIdentifier?: string;
|
|
20
|
+
parentEntityOrgIdentifier?: string;
|
|
21
|
+
parentEntityProjectIdentifier?: string;
|
|
22
|
+
repoName?: string;
|
|
23
|
+
fqnPath?: string;
|
|
24
|
+
serviceId?: string;
|
|
25
|
+
}
|
|
26
|
+
export type GetPlansKeyRequestBody = ListTagsForAmiArtifactBodyRequestBody;
|
|
27
|
+
export type GetPlansKeyOkResponse = ResponseWithPagination<ResponseBambooPlanKeysDto>;
|
|
28
|
+
export type GetPlansKeyErrorResponse = Failure | Error;
|
|
29
|
+
export interface GetPlansKeyProps extends Omit<FetcherOptions<GetPlansKeyMutationQueryParams, GetPlansKeyRequestBody>, 'url'> {
|
|
30
|
+
queryParams: GetPlansKeyMutationQueryParams;
|
|
31
|
+
body: GetPlansKeyRequestBody;
|
|
32
|
+
}
|
|
33
|
+
export declare function getPlansKey(props: GetPlansKeyProps): Promise<GetPlansKeyOkResponse>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
export declare function useGetPlansKeyMutation(options?: Omit<UseMutationOptions<GetPlansKeyOkResponse, GetPlansKeyErrorResponse, GetPlansKeyProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetPlansKeyOkResponse, GetPlansKeyErrorResponse, GetPlansKeyProps, 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 getPlansKey(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/bamboo/plans`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetPlansKeyMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getPlansKey(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseGcpProjectResponseDto } from '../schemas/ResponseGcpProjectResponseDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ListTagsForAmiArtifactBodyRequestBody } from '../requestBodies/ListTagsForAmiArtifactBodyRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetProjectsMutationQueryParams {
|
|
9
|
+
connectorRef?: string;
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
orgIdentifier?: string;
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
pipelineIdentifier?: string;
|
|
14
|
+
fqnPath?: string;
|
|
15
|
+
branch?: string;
|
|
16
|
+
repoIdentifier?: string;
|
|
17
|
+
getDefaultFromOtherRepo?: boolean;
|
|
18
|
+
parentEntityConnectorRef?: string;
|
|
19
|
+
parentEntityRepoName?: string;
|
|
20
|
+
parentEntityAccountIdentifier?: string;
|
|
21
|
+
parentEntityOrgIdentifier?: string;
|
|
22
|
+
parentEntityProjectIdentifier?: string;
|
|
23
|
+
repoName?: string;
|
|
24
|
+
serviceId?: string;
|
|
25
|
+
envId?: string;
|
|
26
|
+
infraDefinitionId?: string;
|
|
27
|
+
}
|
|
28
|
+
export type GetProjectsRequestBody = ListTagsForAmiArtifactBodyRequestBody;
|
|
29
|
+
export type GetProjectsOkResponse = ResponseWithPagination<ResponseGcpProjectResponseDto>;
|
|
30
|
+
export type GetProjectsErrorResponse = Failure | Error;
|
|
31
|
+
export interface GetProjectsProps extends Omit<FetcherOptions<GetProjectsMutationQueryParams, GetProjectsRequestBody>, 'url'> {
|
|
32
|
+
queryParams: GetProjectsMutationQueryParams;
|
|
33
|
+
body: GetProjectsRequestBody;
|
|
34
|
+
}
|
|
35
|
+
export declare function getProjects(props: GetProjectsProps): Promise<GetProjectsOkResponse>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export declare function useGetProjectsMutation(options?: Omit<UseMutationOptions<GetProjectsOkResponse, GetProjectsErrorResponse, GetProjectsProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetProjectsOkResponse, GetProjectsErrorResponse, GetProjectsProps, 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 getProjects(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/gcp/project`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetProjectsMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getProjects(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseListRegionGar } from '../schemas/ResponseListRegionGar';
|
|
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 type GetRegionsForGoogleArtifactRegistryOkResponse = ResponseWithPagination<ResponseListRegionGar>;
|
|
8
|
+
export type GetRegionsForGoogleArtifactRegistryErrorResponse = Failure | Error;
|
|
9
|
+
export interface GetRegionsForGoogleArtifactRegistryProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
|
|
10
|
+
}
|
|
11
|
+
export declare function getRegionsForGoogleArtifactRegistry(props: GetRegionsForGoogleArtifactRegistryProps): Promise<GetRegionsForGoogleArtifactRegistryOkResponse>;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare function useGetRegionsForGoogleArtifactRegistryQuery(props: GetRegionsForGoogleArtifactRegistryProps, options?: Omit<UseQueryOptions<GetRegionsForGoogleArtifactRegistryOkResponse, GetRegionsForGoogleArtifactRegistryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRegionsForGoogleArtifactRegistryOkResponse, GetRegionsForGoogleArtifactRegistryErrorResponse>;
|
|
@@ -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 getRegionsForGoogleArtifactRegistry(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/gar/getRegions`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetRegionsForGoogleArtifactRegistryQuery(props, options) {
|
|
13
|
+
return useQuery(['getRegionsForGoogleArtifactRegistry'], ({ signal }) => getRegionsForGoogleArtifactRegistry(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseArtifactoryRepoDetailsDto } from '../schemas/ResponseArtifactoryRepoDetailsDto';
|
|
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 GetRepositoriesDetailsForArtifactoryQueryQueryParams {
|
|
8
|
+
connectorRef?: string;
|
|
9
|
+
/**
|
|
10
|
+
* @default "any"
|
|
11
|
+
*/
|
|
12
|
+
repositoryType?: string;
|
|
13
|
+
accountIdentifier: string;
|
|
14
|
+
orgIdentifier?: string;
|
|
15
|
+
projectIdentifier?: string;
|
|
16
|
+
fqnPath?: string;
|
|
17
|
+
serviceId?: string;
|
|
18
|
+
}
|
|
19
|
+
export type GetRepositoriesDetailsForArtifactoryOkResponse = ResponseWithPagination<ResponseArtifactoryRepoDetailsDto>;
|
|
20
|
+
export type GetRepositoriesDetailsForArtifactoryErrorResponse = Failure | Error;
|
|
21
|
+
export interface GetRepositoriesDetailsForArtifactoryProps extends Omit<FetcherOptions<GetRepositoriesDetailsForArtifactoryQueryQueryParams, unknown>, 'url'> {
|
|
22
|
+
queryParams: GetRepositoriesDetailsForArtifactoryQueryQueryParams;
|
|
23
|
+
}
|
|
24
|
+
export declare function getRepositoriesDetailsForArtifactory(props: GetRepositoriesDetailsForArtifactoryProps): Promise<GetRepositoriesDetailsForArtifactoryOkResponse>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare function useGetRepositoriesDetailsForArtifactoryQuery(props: GetRepositoriesDetailsForArtifactoryProps, options?: Omit<UseQueryOptions<GetRepositoriesDetailsForArtifactoryOkResponse, GetRepositoriesDetailsForArtifactoryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRepositoriesDetailsForArtifactoryOkResponse, GetRepositoriesDetailsForArtifactoryErrorResponse>;
|
|
@@ -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 getRepositoriesDetailsForArtifactory(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/artifactory/repositoriesDetails`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetRepositoriesDetailsForArtifactoryQuery(props, options) {
|
|
13
|
+
return useQuery(['getRepositoriesDetailsForArtifactory', props.queryParams], ({ signal }) => getRepositoriesDetailsForArtifactory(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseArtifactoryRepoDetailsDto } from '../schemas/ResponseArtifactoryRepoDetailsDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ListTagsForAmiArtifactBodyRequestBody } from '../requestBodies/ListTagsForAmiArtifactBodyRequestBody';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetRepositoriesDetailsV2ForArtifactoryMutationQueryParams {
|
|
9
|
+
connectorRef?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @default "any"
|
|
12
|
+
*/
|
|
13
|
+
repositoryType?: string;
|
|
14
|
+
accountIdentifier: string;
|
|
15
|
+
orgIdentifier?: string;
|
|
16
|
+
projectIdentifier?: string;
|
|
17
|
+
pipelineIdentifier?: string;
|
|
18
|
+
fqnPath?: string;
|
|
19
|
+
serviceId?: string;
|
|
20
|
+
branch?: string;
|
|
21
|
+
repoIdentifier?: string;
|
|
22
|
+
getDefaultFromOtherRepo?: boolean;
|
|
23
|
+
parentEntityConnectorRef?: string;
|
|
24
|
+
parentEntityRepoName?: string;
|
|
25
|
+
parentEntityAccountIdentifier?: string;
|
|
26
|
+
parentEntityOrgIdentifier?: string;
|
|
27
|
+
parentEntityProjectIdentifier?: string;
|
|
28
|
+
repoName?: string;
|
|
29
|
+
}
|
|
30
|
+
export type GetRepositoriesDetailsV2ForArtifactoryRequestBody = ListTagsForAmiArtifactBodyRequestBody;
|
|
31
|
+
export type GetRepositoriesDetailsV2ForArtifactoryOkResponse = ResponseWithPagination<ResponseArtifactoryRepoDetailsDto>;
|
|
32
|
+
export type GetRepositoriesDetailsV2ForArtifactoryErrorResponse = Failure | Error;
|
|
33
|
+
export interface GetRepositoriesDetailsV2ForArtifactoryProps extends Omit<FetcherOptions<GetRepositoriesDetailsV2ForArtifactoryMutationQueryParams, GetRepositoriesDetailsV2ForArtifactoryRequestBody>, 'url'> {
|
|
34
|
+
queryParams: GetRepositoriesDetailsV2ForArtifactoryMutationQueryParams;
|
|
35
|
+
body: GetRepositoriesDetailsV2ForArtifactoryRequestBody;
|
|
36
|
+
}
|
|
37
|
+
export declare function getRepositoriesDetailsV2ForArtifactory(props: GetRepositoriesDetailsV2ForArtifactoryProps): Promise<GetRepositoriesDetailsV2ForArtifactoryOkResponse>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export declare function useGetRepositoriesDetailsV2ForArtifactoryMutation(options?: Omit<UseMutationOptions<GetRepositoriesDetailsV2ForArtifactoryOkResponse, GetRepositoriesDetailsV2ForArtifactoryErrorResponse, GetRepositoriesDetailsV2ForArtifactoryProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetRepositoriesDetailsV2ForArtifactoryOkResponse, GetRepositoriesDetailsV2ForArtifactoryErrorResponse, GetRepositoriesDetailsV2ForArtifactoryProps, 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 getRepositoriesDetailsV2ForArtifactory(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/artifactory/repositoriesDetailsV2`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetRepositoriesDetailsV2ForArtifactoryMutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => getRepositoriesDetailsV2ForArtifactory(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseGarRepositoryDtoList } from '../schemas/ResponseGarRepositoryDtoList';
|
|
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 GetRepositoriesForGoogleArtifactRegistryQueryQueryParams {
|
|
8
|
+
connectorRef?: string;
|
|
9
|
+
region?: string;
|
|
10
|
+
project?: string;
|
|
11
|
+
accountIdentifier: string;
|
|
12
|
+
orgIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
branch?: string;
|
|
15
|
+
repoIdentifier?: string;
|
|
16
|
+
getDefaultFromOtherRepo?: boolean;
|
|
17
|
+
parentEntityConnectorRef?: string;
|
|
18
|
+
parentEntityRepoName?: string;
|
|
19
|
+
parentEntityAccountIdentifier?: string;
|
|
20
|
+
parentEntityOrgIdentifier?: string;
|
|
21
|
+
parentEntityProjectIdentifier?: string;
|
|
22
|
+
repoName?: string;
|
|
23
|
+
}
|
|
24
|
+
export type GetRepositoriesForGoogleArtifactRegistryOkResponse = ResponseWithPagination<ResponseGarRepositoryDtoList>;
|
|
25
|
+
export type GetRepositoriesForGoogleArtifactRegistryErrorResponse = Failure | Error;
|
|
26
|
+
export interface GetRepositoriesForGoogleArtifactRegistryProps extends Omit<FetcherOptions<GetRepositoriesForGoogleArtifactRegistryQueryQueryParams, unknown>, 'url'> {
|
|
27
|
+
queryParams: GetRepositoriesForGoogleArtifactRegistryQueryQueryParams;
|
|
28
|
+
}
|
|
29
|
+
export declare function getRepositoriesForGoogleArtifactRegistry(props: GetRepositoriesForGoogleArtifactRegistryProps): Promise<GetRepositoriesForGoogleArtifactRegistryOkResponse>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export declare function useGetRepositoriesForGoogleArtifactRegistryQuery(props: GetRepositoriesForGoogleArtifactRegistryProps, options?: Omit<UseQueryOptions<GetRepositoriesForGoogleArtifactRegistryOkResponse, GetRepositoriesForGoogleArtifactRegistryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetRepositoriesForGoogleArtifactRegistryOkResponse, GetRepositoriesForGoogleArtifactRegistryErrorResponse>;
|
|
@@ -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 getRepositoriesForGoogleArtifactRegistry(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/gar/getRepositories`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetRepositoriesForGoogleArtifactRegistryQuery(props, options) {
|
|
13
|
+
return useQuery(['getRepositoriesForGoogleArtifactRegistry', props.queryParams], ({ signal }) => getRepositoriesForGoogleArtifactRegistry(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|