@harnessio/react-ng-manager-swagger-service-client 1.6.2 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ng-manager-swagger-service/src/services/hooks/useAutoScalingGroupsQuery.d.ts +25 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useAutoScalingGroupsQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useClustersQuery.d.ts +25 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useClustersQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetAzureClustersQuery.d.ts +26 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetAzureClustersQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetAzureResourceGroupsBySubscriptionQuery.d.ts +25 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetAzureResourceGroupsBySubscriptionQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForArtifactoryArtifactQuery.d.ts +36 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForArtifactoryArtifactQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForEcrQuery.d.ts +34 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForEcrQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForGoogleArtifactRegistryQuery.d.ts +37 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForGoogleArtifactRegistryQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForNexusArtifactQuery.d.ts +42 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetBuildDetailsForNexusArtifactQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetClusterNamesForGcpQuery.d.ts +25 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetClusterNamesForGcpQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetEksClusterNamesQuery.d.ts +25 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetEksClusterNamesQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetProjectAggregateDtoListQuery.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetSubscriptionTagsQuery.d.ts +25 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetSubscriptionTagsQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useTagsQuery.d.ts +23 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useTagsQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useVpcsQuery.d.ts +25 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useVpcsQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +52 -0
- package/dist/ng-manager-swagger-service/src/services/index.js +13 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ArtifactoryBuildDetailsDto.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ArtifactoryBuildDetailsDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ArtifactoryResponseDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ArtifactoryResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AwsVpc.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AwsVpc.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureClusterDto.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureClusterDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureClustersDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureClustersDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureResourceGroupDto.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureResourceGroupDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureResourceGroupsDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureResourceGroupsDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureTagDto.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureTagDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureTagsDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/AzureTagsDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/EcrBuildDetailsDto.d.ts +11 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/EcrBuildDetailsDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/EcrResponseDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/EcrResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/Error.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/schemas/Failure.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/schemas/GarBuildDetailsDto.d.ts +6 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GarBuildDetailsDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GarResponseDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GarResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GcpResponseDto.d.ts +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/GcpResponseDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NexusBuildDetailsDto.d.ts +11 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NexusBuildDetailsDto.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NexusResponseDto.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/NexusResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/Project.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseArtifactoryResponseDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseArtifactoryResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAzureClustersDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAzureClustersDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAzureResourceGroupsDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAzureResourceGroupsDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAzureTagsDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseAzureTagsDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseEcrResponseDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseEcrResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGarResponseDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGarResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGcpResponseDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseGcpResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListAwsVpc.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListAwsVpc.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseMessage.d.ts +1 -1
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseNexusResponseDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseNexusResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseSetString.d.ts +8 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseSetString.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
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 AutoScalingGroupsQueryQueryParams {
|
|
8
|
+
awsConnectorRef?: string;
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
region?: string;
|
|
13
|
+
envId?: string;
|
|
14
|
+
infraDefinitionId?: string;
|
|
15
|
+
}
|
|
16
|
+
export type AutoScalingGroupsOkResponse = ResponseWithPagination<ResponseListString>;
|
|
17
|
+
export type AutoScalingGroupsErrorResponse = Failure | Error;
|
|
18
|
+
export interface AutoScalingGroupsProps extends Omit<FetcherOptions<AutoScalingGroupsQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: AutoScalingGroupsQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function autoScalingGroups(props: AutoScalingGroupsProps): Promise<AutoScalingGroupsOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare function useAutoScalingGroupsQuery(props: AutoScalingGroupsProps, options?: Omit<UseQueryOptions<AutoScalingGroupsOkResponse, AutoScalingGroupsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<AutoScalingGroupsOkResponse, AutoScalingGroupsErrorResponse>;
|
|
@@ -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 autoScalingGroups(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/aws/aws-helper/auto-scaling-groups`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useAutoScalingGroupsQuery(props, options) {
|
|
13
|
+
return useQuery(['autoScalingGroups', props.queryParams], ({ signal }) => autoScalingGroups(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 ClustersQueryQueryParams {
|
|
8
|
+
awsConnectorRef?: string;
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
region?: string;
|
|
13
|
+
envId?: string;
|
|
14
|
+
infraDefinitionId?: string;
|
|
15
|
+
}
|
|
16
|
+
export type ClustersOkResponse = ResponseWithPagination<ResponseListString>;
|
|
17
|
+
export type ClustersErrorResponse = Failure | Error;
|
|
18
|
+
export interface ClustersProps extends Omit<FetcherOptions<ClustersQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: ClustersQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function clusters(props: ClustersProps): Promise<ClustersOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare function useClustersQuery(props: ClustersProps, options?: Omit<UseQueryOptions<ClustersOkResponse, ClustersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ClustersOkResponse, ClustersErrorResponse>;
|
|
@@ -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 clusters(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/aws/aws-helper/clusters`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useClustersQuery(props, options) {
|
|
13
|
+
return useQuery(['clusters', props.queryParams], ({ signal }) => clusters(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseAzureClustersDto } from '../schemas/ResponseAzureClustersDto';
|
|
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 GetAzureClustersQueryPathParams {
|
|
8
|
+
subscriptionId: string;
|
|
9
|
+
resourceGroup: string;
|
|
10
|
+
}
|
|
11
|
+
export interface GetAzureClustersQueryQueryParams {
|
|
12
|
+
connectorRef: string;
|
|
13
|
+
accountIdentifier: string;
|
|
14
|
+
orgIdentifier?: string;
|
|
15
|
+
projectIdentifier?: string;
|
|
16
|
+
}
|
|
17
|
+
export type GetAzureClustersOkResponse = ResponseWithPagination<ResponseAzureClustersDto>;
|
|
18
|
+
export type GetAzureClustersErrorResponse = Failure | Error;
|
|
19
|
+
export interface GetAzureClustersProps extends GetAzureClustersQueryPathParams, Omit<FetcherOptions<GetAzureClustersQueryQueryParams, unknown>, 'url'> {
|
|
20
|
+
queryParams: GetAzureClustersQueryQueryParams;
|
|
21
|
+
}
|
|
22
|
+
export declare function getAzureClusters(props: GetAzureClustersProps): Promise<GetAzureClustersOkResponse>;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare function useGetAzureClustersQuery(props: GetAzureClustersProps, options?: Omit<UseQueryOptions<GetAzureClustersOkResponse, GetAzureClustersErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAzureClustersOkResponse, GetAzureClustersErrorResponse>;
|
|
@@ -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 getAzureClusters(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/azure/subscriptions/${props.subscriptionId}/resourceGroups/${props.resourceGroup}/clusters`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAzureClustersQuery(props, options) {
|
|
13
|
+
return useQuery(['getAzureClusters', props.subscriptionId, props.resourceGroup, props.queryParams], ({ signal }) => getAzureClusters(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseAzureResourceGroupsDto } from '../schemas/ResponseAzureResourceGroupsDto';
|
|
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 GetAzureResourceGroupsBySubscriptionQueryPathParams {
|
|
8
|
+
subscriptionId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetAzureResourceGroupsBySubscriptionQueryQueryParams {
|
|
11
|
+
connectorRef: string;
|
|
12
|
+
accountIdentifier: string;
|
|
13
|
+
orgIdentifier?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
}
|
|
16
|
+
export type GetAzureResourceGroupsBySubscriptionOkResponse = ResponseWithPagination<ResponseAzureResourceGroupsDto>;
|
|
17
|
+
export type GetAzureResourceGroupsBySubscriptionErrorResponse = Failure | Error;
|
|
18
|
+
export interface GetAzureResourceGroupsBySubscriptionProps extends GetAzureResourceGroupsBySubscriptionQueryPathParams, Omit<FetcherOptions<GetAzureResourceGroupsBySubscriptionQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GetAzureResourceGroupsBySubscriptionQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getAzureResourceGroupsBySubscription(props: GetAzureResourceGroupsBySubscriptionProps): Promise<GetAzureResourceGroupsBySubscriptionOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetAzureResourceGroupsBySubscriptionQuery(props: GetAzureResourceGroupsBySubscriptionProps, options?: Omit<UseQueryOptions<GetAzureResourceGroupsBySubscriptionOkResponse, GetAzureResourceGroupsBySubscriptionErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetAzureResourceGroupsBySubscriptionOkResponse, GetAzureResourceGroupsBySubscriptionErrorResponse>;
|
|
@@ -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 getAzureResourceGroupsBySubscription(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/azure/subscriptions/${props.subscriptionId}/resourceGroups`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetAzureResourceGroupsBySubscriptionQuery(props, options) {
|
|
13
|
+
return useQuery(['getAzureResourceGroupsBySubscription', props.subscriptionId, props.queryParams], ({ signal }) => getAzureResourceGroupsBySubscription(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseArtifactoryResponseDto } from '../schemas/ResponseArtifactoryResponseDto';
|
|
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 GetBuildDetailsForArtifactoryArtifactQueryQueryParams {
|
|
8
|
+
repository?: string;
|
|
9
|
+
artifactPath?: string;
|
|
10
|
+
repositoryFormat?: string;
|
|
11
|
+
repositoryUrl?: string;
|
|
12
|
+
connectorRef?: string;
|
|
13
|
+
accountIdentifier: string;
|
|
14
|
+
orgIdentifier?: string;
|
|
15
|
+
artifactFilter?: string;
|
|
16
|
+
projectIdentifier?: string;
|
|
17
|
+
branch?: string;
|
|
18
|
+
repoIdentifier?: string;
|
|
19
|
+
getDefaultFromOtherRepo?: boolean;
|
|
20
|
+
parentEntityConnectorRef?: string;
|
|
21
|
+
parentEntityRepoName?: string;
|
|
22
|
+
parentEntityAccountIdentifier?: string;
|
|
23
|
+
parentEntityOrgIdentifier?: string;
|
|
24
|
+
parentEntityProjectIdentifier?: string;
|
|
25
|
+
repoName?: string;
|
|
26
|
+
}
|
|
27
|
+
export type GetBuildDetailsForArtifactoryArtifactOkResponse = ResponseWithPagination<ResponseArtifactoryResponseDto>;
|
|
28
|
+
export type GetBuildDetailsForArtifactoryArtifactErrorResponse = Failure | Error;
|
|
29
|
+
export interface GetBuildDetailsForArtifactoryArtifactProps extends Omit<FetcherOptions<GetBuildDetailsForArtifactoryArtifactQueryQueryParams, unknown>, 'url'> {
|
|
30
|
+
queryParams: GetBuildDetailsForArtifactoryArtifactQueryQueryParams;
|
|
31
|
+
}
|
|
32
|
+
export declare function getBuildDetailsForArtifactoryArtifact(props: GetBuildDetailsForArtifactoryArtifactProps): Promise<GetBuildDetailsForArtifactoryArtifactOkResponse>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
export declare function useGetBuildDetailsForArtifactoryArtifactQuery(props: GetBuildDetailsForArtifactoryArtifactProps, options?: Omit<UseQueryOptions<GetBuildDetailsForArtifactoryArtifactOkResponse, GetBuildDetailsForArtifactoryArtifactErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetBuildDetailsForArtifactoryArtifactOkResponse, GetBuildDetailsForArtifactoryArtifactErrorResponse>;
|
|
@@ -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 getBuildDetailsForArtifactoryArtifact(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/artifactory/getBuildDetails`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetBuildDetailsForArtifactoryArtifactQuery(props, options) {
|
|
13
|
+
return useQuery(['getBuildDetailsForArtifactoryArtifact', props.queryParams], ({ signal }) => getBuildDetailsForArtifactoryArtifact(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseEcrResponseDto } from '../schemas/ResponseEcrResponseDto';
|
|
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 GetBuildDetailsForEcrQueryQueryParams {
|
|
8
|
+
registryId?: string;
|
|
9
|
+
imagePath: string;
|
|
10
|
+
region: string;
|
|
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 GetBuildDetailsForEcrOkResponse = ResponseWithPagination<ResponseEcrResponseDto>;
|
|
26
|
+
export type GetBuildDetailsForEcrErrorResponse = Failure | Error;
|
|
27
|
+
export interface GetBuildDetailsForEcrProps extends Omit<FetcherOptions<GetBuildDetailsForEcrQueryQueryParams, unknown>, 'url'> {
|
|
28
|
+
queryParams: GetBuildDetailsForEcrQueryQueryParams;
|
|
29
|
+
}
|
|
30
|
+
export declare function getBuildDetailsForEcr(props: GetBuildDetailsForEcrProps): Promise<GetBuildDetailsForEcrOkResponse>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export declare function useGetBuildDetailsForEcrQuery(props: GetBuildDetailsForEcrProps, options?: Omit<UseQueryOptions<GetBuildDetailsForEcrOkResponse, GetBuildDetailsForEcrErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetBuildDetailsForEcrOkResponse, GetBuildDetailsForEcrErrorResponse>;
|
|
@@ -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 getBuildDetailsForEcr(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/ecr/getBuildDetails`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetBuildDetailsForEcrQuery(props, options) {
|
|
13
|
+
return useQuery(['getBuildDetailsForEcr', props.queryParams], ({ signal }) => getBuildDetailsForEcr(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseGarResponseDto } from '../schemas/ResponseGarResponseDto';
|
|
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 GetBuildDetailsForGoogleArtifactRegistryQueryQueryParams {
|
|
8
|
+
connectorRef?: string;
|
|
9
|
+
region?: string;
|
|
10
|
+
repositoryName?: string;
|
|
11
|
+
project?: string;
|
|
12
|
+
package?: string;
|
|
13
|
+
accountIdentifier: string;
|
|
14
|
+
orgIdentifier?: string;
|
|
15
|
+
projectIdentifier?: string;
|
|
16
|
+
version?: string;
|
|
17
|
+
versionRegex?: string;
|
|
18
|
+
branch?: string;
|
|
19
|
+
repoIdentifier?: string;
|
|
20
|
+
getDefaultFromOtherRepo?: boolean;
|
|
21
|
+
parentEntityConnectorRef?: string;
|
|
22
|
+
parentEntityRepoName?: string;
|
|
23
|
+
parentEntityAccountIdentifier?: string;
|
|
24
|
+
parentEntityOrgIdentifier?: string;
|
|
25
|
+
parentEntityProjectIdentifier?: string;
|
|
26
|
+
repoName?: string;
|
|
27
|
+
}
|
|
28
|
+
export type GetBuildDetailsForGoogleArtifactRegistryOkResponse = ResponseWithPagination<ResponseGarResponseDto>;
|
|
29
|
+
export type GetBuildDetailsForGoogleArtifactRegistryErrorResponse = Failure | Error;
|
|
30
|
+
export interface GetBuildDetailsForGoogleArtifactRegistryProps extends Omit<FetcherOptions<GetBuildDetailsForGoogleArtifactRegistryQueryQueryParams, unknown>, 'url'> {
|
|
31
|
+
queryParams: GetBuildDetailsForGoogleArtifactRegistryQueryQueryParams;
|
|
32
|
+
}
|
|
33
|
+
export declare function getBuildDetailsForGoogleArtifactRegistry(props: GetBuildDetailsForGoogleArtifactRegistryProps): Promise<GetBuildDetailsForGoogleArtifactRegistryOkResponse>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
export declare function useGetBuildDetailsForGoogleArtifactRegistryQuery(props: GetBuildDetailsForGoogleArtifactRegistryProps, options?: Omit<UseQueryOptions<GetBuildDetailsForGoogleArtifactRegistryOkResponse, GetBuildDetailsForGoogleArtifactRegistryErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetBuildDetailsForGoogleArtifactRegistryOkResponse, GetBuildDetailsForGoogleArtifactRegistryErrorResponse>;
|
|
@@ -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 getBuildDetailsForGoogleArtifactRegistry(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/gar/getBuildDetails`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetBuildDetailsForGoogleArtifactRegistryQuery(props, options) {
|
|
13
|
+
return useQuery(['getBuildDetailsForGoogleArtifactRegistry', props.queryParams], ({ signal }) => getBuildDetailsForGoogleArtifactRegistry(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseNexusResponseDto } from '../schemas/ResponseNexusResponseDto';
|
|
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 GetBuildDetailsForNexusArtifactQueryQueryParams {
|
|
8
|
+
repository?: string;
|
|
9
|
+
repositoryPort?: string;
|
|
10
|
+
repositoryFormat?: string;
|
|
11
|
+
repositoryUrl?: string;
|
|
12
|
+
artifactPath?: string;
|
|
13
|
+
connectorRef?: string;
|
|
14
|
+
groupId?: string;
|
|
15
|
+
artifactId?: string;
|
|
16
|
+
extension?: string;
|
|
17
|
+
classifier?: string;
|
|
18
|
+
packageName?: string;
|
|
19
|
+
group?: string;
|
|
20
|
+
accountIdentifier: string;
|
|
21
|
+
orgIdentifier?: string;
|
|
22
|
+
projectIdentifier?: string;
|
|
23
|
+
branch?: string;
|
|
24
|
+
repoIdentifier?: string;
|
|
25
|
+
getDefaultFromOtherRepo?: boolean;
|
|
26
|
+
parentEntityConnectorRef?: string;
|
|
27
|
+
parentEntityRepoName?: string;
|
|
28
|
+
parentEntityAccountIdentifier?: string;
|
|
29
|
+
parentEntityOrgIdentifier?: string;
|
|
30
|
+
parentEntityProjectIdentifier?: string;
|
|
31
|
+
repoName?: string;
|
|
32
|
+
}
|
|
33
|
+
export type GetBuildDetailsForNexusArtifactOkResponse = ResponseWithPagination<ResponseNexusResponseDto>;
|
|
34
|
+
export type GetBuildDetailsForNexusArtifactErrorResponse = Failure | Error;
|
|
35
|
+
export interface GetBuildDetailsForNexusArtifactProps extends Omit<FetcherOptions<GetBuildDetailsForNexusArtifactQueryQueryParams, unknown>, 'url'> {
|
|
36
|
+
queryParams: GetBuildDetailsForNexusArtifactQueryQueryParams;
|
|
37
|
+
}
|
|
38
|
+
export declare function getBuildDetailsForNexusArtifact(props: GetBuildDetailsForNexusArtifactProps): Promise<GetBuildDetailsForNexusArtifactOkResponse>;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export declare function useGetBuildDetailsForNexusArtifactQuery(props: GetBuildDetailsForNexusArtifactProps, options?: Omit<UseQueryOptions<GetBuildDetailsForNexusArtifactOkResponse, GetBuildDetailsForNexusArtifactErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetBuildDetailsForNexusArtifactOkResponse, GetBuildDetailsForNexusArtifactErrorResponse>;
|
|
@@ -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 getBuildDetailsForNexusArtifact(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/nexus/getBuildDetails`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetBuildDetailsForNexusArtifactQuery(props, options) {
|
|
13
|
+
return useQuery(['getBuildDetailsForNexusArtifact', props.queryParams], ({ signal }) => getBuildDetailsForNexusArtifact(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseGcpResponseDto } from '../schemas/ResponseGcpResponseDto';
|
|
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 GetClusterNamesForGcpQueryQueryParams {
|
|
8
|
+
connectorRef: string;
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
envId?: string;
|
|
13
|
+
infraDefinitionId?: string;
|
|
14
|
+
targetProject?: string;
|
|
15
|
+
}
|
|
16
|
+
export type GetClusterNamesForGcpOkResponse = ResponseWithPagination<ResponseGcpResponseDto>;
|
|
17
|
+
export type GetClusterNamesForGcpErrorResponse = Failure | Error;
|
|
18
|
+
export interface GetClusterNamesForGcpProps extends Omit<FetcherOptions<GetClusterNamesForGcpQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GetClusterNamesForGcpQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getClusterNamesForGcp(props: GetClusterNamesForGcpProps): Promise<GetClusterNamesForGcpOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetClusterNamesForGcpQuery(props: GetClusterNamesForGcpProps, options?: Omit<UseQueryOptions<GetClusterNamesForGcpOkResponse, GetClusterNamesForGcpErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetClusterNamesForGcpOkResponse, GetClusterNamesForGcpErrorResponse>;
|
|
@@ -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 getClusterNamesForGcp(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/gcp/clusters`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetClusterNamesForGcpQuery(props, options) {
|
|
13
|
+
return useQuery(['getClusterNamesForGcp', props.queryParams], ({ signal }) => getClusterNamesForGcp(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 GetEksClusterNamesQueryQueryParams {
|
|
8
|
+
awsConnectorRef?: string;
|
|
9
|
+
region?: string;
|
|
10
|
+
accountIdentifier: string;
|
|
11
|
+
orgIdentifier?: string;
|
|
12
|
+
projectIdentifier?: string;
|
|
13
|
+
envId?: string;
|
|
14
|
+
infraDefinitionId?: string;
|
|
15
|
+
}
|
|
16
|
+
export type GetEksClusterNamesOkResponse = ResponseWithPagination<ResponseListString>;
|
|
17
|
+
export type GetEksClusterNamesErrorResponse = Failure | Error;
|
|
18
|
+
export interface GetEksClusterNamesProps extends Omit<FetcherOptions<GetEksClusterNamesQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GetEksClusterNamesQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getEksClusterNames(props: GetEksClusterNamesProps): Promise<GetEksClusterNamesOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetEksClusterNamesQuery(props: GetEksClusterNamesProps, options?: Omit<UseQueryOptions<GetEksClusterNamesOkResponse, GetEksClusterNamesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetEksClusterNamesOkResponse, GetEksClusterNamesErrorResponse>;
|
|
@@ -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 getEksClusterNames(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/aws/aws-helper/eks/clusters`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetEksClusterNamesQuery(props, options) {
|
|
13
|
+
return useQuery(['getEKSClusterNames', props.queryParams], ({ signal }) => getEksClusterNames(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/ng-manager-swagger-service/src/services/hooks/useGetProjectAggregateDtoListQuery.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface GetProjectAggregateDtoListQueryQueryParams {
|
|
|
11
11
|
* @default true
|
|
12
12
|
*/
|
|
13
13
|
hasModule?: boolean;
|
|
14
|
-
moduleType?: 'AI_AGENT_MLOPS' | 'AI_TEST_AUTOMATION' | 'CD' | 'CE' | 'CET' | 'CF' | 'CHAOS' | 'CI' | 'CODE' | 'CORE' | 'CV' | 'DBOPS' | 'DevopsEssentials' | 'FME' | 'GOVERNANCE' | 'HAR' | 'IACM' | 'IDP' | 'PLATFORM' | 'PMS' | 'RMG' | 'SEI' | 'SRM' | 'SSCA' | 'STO' | 'TEMPLATESERVICE';
|
|
14
|
+
moduleType?: 'AARP' | 'AASP' | 'AAST' | 'AISRE' | 'AI_AGENT_MLOPS' | 'AI_TEST_AUTOMATION' | 'CD' | 'CE' | 'CET' | 'CF' | 'CHAOS' | 'CI' | 'CODE' | 'CORE' | 'CV' | 'DBOPS' | 'DevopsEssentials' | 'FME' | 'GOVERNANCE' | 'HAR' | 'IACM' | 'IDP' | 'PLATFORM' | 'PMS' | 'RMG' | 'SEI' | 'SRM' | 'SSCA' | 'STO' | 'TEMPLATESERVICE';
|
|
15
15
|
searchTerm?: string;
|
|
16
16
|
onlyFavorites?: boolean;
|
|
17
17
|
/**
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseAzureTagsDto } from '../schemas/ResponseAzureTagsDto';
|
|
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 GetSubscriptionTagsQueryPathParams {
|
|
8
|
+
subscriptionId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface GetSubscriptionTagsQueryQueryParams {
|
|
11
|
+
connectorRef: string;
|
|
12
|
+
accountIdentifier: string;
|
|
13
|
+
orgIdentifier?: string;
|
|
14
|
+
projectIdentifier?: string;
|
|
15
|
+
}
|
|
16
|
+
export type GetSubscriptionTagsOkResponse = ResponseWithPagination<ResponseAzureTagsDto>;
|
|
17
|
+
export type GetSubscriptionTagsErrorResponse = Failure | Error;
|
|
18
|
+
export interface GetSubscriptionTagsProps extends GetSubscriptionTagsQueryPathParams, Omit<FetcherOptions<GetSubscriptionTagsQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: GetSubscriptionTagsQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function getSubscriptionTags(props: GetSubscriptionTagsProps): Promise<GetSubscriptionTagsOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare function useGetSubscriptionTagsQuery(props: GetSubscriptionTagsProps, options?: Omit<UseQueryOptions<GetSubscriptionTagsOkResponse, GetSubscriptionTagsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetSubscriptionTagsOkResponse, GetSubscriptionTagsErrorResponse>;
|
|
@@ -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 getSubscriptionTags(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/azure/subscriptions/${props.subscriptionId}/tags`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetSubscriptionTagsQuery(props, options) {
|
|
13
|
+
return useQuery(['getSubscriptionTags', props.subscriptionId, props.queryParams], ({ signal }) => getSubscriptionTags(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseSetString } from '../schemas/ResponseSetString';
|
|
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 TagsQueryQueryParams {
|
|
8
|
+
awsConnectorRef: string;
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
region: string;
|
|
13
|
+
}
|
|
14
|
+
export type TagsOkResponse = ResponseWithPagination<ResponseSetString>;
|
|
15
|
+
export type TagsErrorResponse = Failure | Error;
|
|
16
|
+
export interface TagsProps extends Omit<FetcherOptions<TagsQueryQueryParams, unknown>, 'url'> {
|
|
17
|
+
queryParams: TagsQueryQueryParams;
|
|
18
|
+
}
|
|
19
|
+
export declare function tags(props: TagsProps): Promise<TagsOkResponse>;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export declare function useTagsQuery(props: TagsProps, options?: Omit<UseQueryOptions<TagsOkResponse, TagsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<TagsOkResponse, TagsErrorResponse>;
|
|
@@ -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 tags(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/aws/aws-helper/tags`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useTagsQuery(props, options) {
|
|
13
|
+
return useQuery(['tags', props.queryParams], ({ signal }) => tags(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseListAwsVpc } from '../schemas/ResponseListAwsVpc';
|
|
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 VpcsQueryQueryParams {
|
|
8
|
+
awsConnectorRef?: string;
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
region?: string;
|
|
13
|
+
envId?: string;
|
|
14
|
+
infraDefinitionId?: string;
|
|
15
|
+
}
|
|
16
|
+
export type VpcsOkResponse = ResponseWithPagination<ResponseListAwsVpc>;
|
|
17
|
+
export type VpcsErrorResponse = Failure | Error;
|
|
18
|
+
export interface VpcsProps extends Omit<FetcherOptions<VpcsQueryQueryParams, unknown>, 'url'> {
|
|
19
|
+
queryParams: VpcsQueryQueryParams;
|
|
20
|
+
}
|
|
21
|
+
export declare function vpcs(props: VpcsProps): Promise<VpcsOkResponse>;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare function useVpcsQuery(props: VpcsProps, options?: Omit<UseQueryOptions<VpcsOkResponse, VpcsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<VpcsOkResponse, VpcsErrorResponse>;
|
|
@@ -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 vpcs(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/aws/aws-helper/vpcs`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useVpcsQuery(props, options) {
|
|
13
|
+
return useQuery(['vpcs', props.queryParams], ({ signal }) => vpcs(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|