@harnessio/react-ng-manager-swagger-service-client 1.26.0 → 1.28.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/useCloneEnvironmentV2Mutation.d.ts +22 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useCloneEnvironmentV2Mutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useCloneServiceV2Mutation.d.ts +22 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useCloneServiceV2Mutation.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetCannyCategoriesQuery.d.ts +20 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetCannyCategoriesQuery.js +14 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetHelmChartVersionDetailsQuery.d.ts +2 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetHelmChartVersionDetailsV1Query.d.ts +2 -0
- package/dist/ng-manager-swagger-service/src/services/hooks/useGetHelmChartVersionDetailsWithYamlMutation.d.ts +2 -0
- package/dist/ng-manager-swagger-service/src/services/index.d.ts +19 -0
- package/dist/ng-manager-swagger-service/src/services/index.js +3 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/CannyCategoriesResponseDto.d.ts +5 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/CannyCategoriesResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/Category.d.ts +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/Category.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/DestinationEnvironmentConfig.d.ts +19 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/DestinationEnvironmentConfig.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/DestinationServiceConfig.d.ts +19 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/DestinationServiceConfig.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentCloneRequestDto.d.ts +7 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentCloneRequestDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentCloneResponseDto.d.ts +19 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentCloneResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/InfrastructureResponse.d.ts +16 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/InfrastructureResponse.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/InfrastructureResponseDto.d.ts +22 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/InfrastructureResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/JiraIssueTransitionNg.d.ts +5 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseCannyCategoriesResponseDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseCannyCategoriesResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseEnvironmentCloneResponseDto.d.ts +9 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ResponseEnvironmentCloneResponseDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ServiceCloneRequestDto.d.ts +6 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/ServiceCloneRequestDto.js +1 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/SourceEnvironmentConfig.d.ts +6 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/SourceEnvironmentConfig.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/SourceServiceConfig.d.ts +6 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/SourceServiceConfig.js +4 -0
- package/dist/ng-manager-swagger-service/src/services/schemas/TokenDto.d.ts +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseEnvironmentCloneResponseDto } from '../schemas/ResponseEnvironmentCloneResponseDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { EnvironmentCloneRequestDto } from '../schemas/EnvironmentCloneRequestDto';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface CloneEnvironmentV2MutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type CloneEnvironmentV2RequestBody = EnvironmentCloneRequestDto;
|
|
12
|
+
export type CloneEnvironmentV2OkResponse = ResponseWithPagination<ResponseEnvironmentCloneResponseDto>;
|
|
13
|
+
export type CloneEnvironmentV2ErrorResponse = Failure | Error;
|
|
14
|
+
export interface CloneEnvironmentV2Props extends Omit<FetcherOptions<CloneEnvironmentV2MutationQueryParams, CloneEnvironmentV2RequestBody>, 'url'> {
|
|
15
|
+
queryParams: CloneEnvironmentV2MutationQueryParams;
|
|
16
|
+
body: CloneEnvironmentV2RequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function cloneEnvironmentV2(props: CloneEnvironmentV2Props): Promise<CloneEnvironmentV2OkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCloneEnvironmentV2Mutation(options?: Omit<UseMutationOptions<CloneEnvironmentV2OkResponse, CloneEnvironmentV2ErrorResponse, CloneEnvironmentV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CloneEnvironmentV2OkResponse, CloneEnvironmentV2ErrorResponse, CloneEnvironmentV2Props, 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 cloneEnvironmentV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/environmentsV2/clone`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useCloneEnvironmentV2Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => cloneEnvironmentV2(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseServiceResponse } from '../schemas/ResponseServiceResponse';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { Error } from '../schemas/Error';
|
|
5
|
+
import type { ServiceCloneRequestDto } from '../schemas/ServiceCloneRequestDto';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface CloneServiceV2MutationQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type CloneServiceV2RequestBody = ServiceCloneRequestDto;
|
|
12
|
+
export type CloneServiceV2OkResponse = ResponseWithPagination<ResponseServiceResponse>;
|
|
13
|
+
export type CloneServiceV2ErrorResponse = Failure | Error;
|
|
14
|
+
export interface CloneServiceV2Props extends Omit<FetcherOptions<CloneServiceV2MutationQueryParams, CloneServiceV2RequestBody>, 'url'> {
|
|
15
|
+
queryParams: CloneServiceV2MutationQueryParams;
|
|
16
|
+
body: CloneServiceV2RequestBody;
|
|
17
|
+
}
|
|
18
|
+
export declare function cloneServiceV2(props: CloneServiceV2Props): Promise<CloneServiceV2OkResponse>;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCloneServiceV2Mutation(options?: Omit<UseMutationOptions<CloneServiceV2OkResponse, CloneServiceV2ErrorResponse, CloneServiceV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CloneServiceV2OkResponse, CloneServiceV2ErrorResponse, CloneServiceV2Props, 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 cloneServiceV2(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/servicesV2/clone`, method: 'POST' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useCloneServiceV2Mutation(options) {
|
|
13
|
+
return useMutation((mutateProps) => cloneServiceV2(mutateProps), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ResponseCannyCategoriesResponseDto } from '../schemas/ResponseCannyCategoriesResponseDto';
|
|
3
|
+
import type { Failure } from '../schemas/Failure';
|
|
4
|
+
import type { AccessControlCheckError } from '../schemas/AccessControlCheckError';
|
|
5
|
+
import type { Error } from '../schemas/Error';
|
|
6
|
+
import type { ResponseWithPagination } from '../helpers';
|
|
7
|
+
import { FetcherOptions } from '../../../../fetcher/index.js';
|
|
8
|
+
export interface GetCannyCategoriesQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
}
|
|
11
|
+
export type GetCannyCategoriesOkResponse = ResponseWithPagination<ResponseCannyCategoriesResponseDto>;
|
|
12
|
+
export type GetCannyCategoriesErrorResponse = Failure | AccessControlCheckError | Error;
|
|
13
|
+
export interface GetCannyCategoriesProps extends Omit<FetcherOptions<GetCannyCategoriesQueryQueryParams, unknown>, 'url'> {
|
|
14
|
+
queryParams: GetCannyCategoriesQueryQueryParams;
|
|
15
|
+
}
|
|
16
|
+
export declare function getCannyCategories(props: GetCannyCategoriesProps): Promise<GetCannyCategoriesOkResponse>;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare function useGetCannyCategoriesQuery(props: GetCannyCategoriesProps, options?: Omit<UseQueryOptions<GetCannyCategoriesOkResponse, GetCannyCategoriesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetCannyCategoriesOkResponse, GetCannyCategoriesErrorResponse>;
|
|
@@ -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 getCannyCategories(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/canny/categories`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export function useGetCannyCategoriesQuery(props, options) {
|
|
13
|
+
return useQuery(['getCannyCategories', props.queryParams], ({ signal }) => getCannyCategories(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
package/dist/ng-manager-swagger-service/src/services/hooks/useGetHelmChartVersionDetailsQuery.d.ts
CHANGED
|
@@ -17,6 +17,8 @@ export interface GetHelmChartVersionDetailsQueryQueryParams {
|
|
|
17
17
|
folderPath?: string;
|
|
18
18
|
lastTag?: string;
|
|
19
19
|
registryId?: string;
|
|
20
|
+
gcpProject?: string;
|
|
21
|
+
garRepositoryName?: string;
|
|
20
22
|
}
|
|
21
23
|
export type GetHelmChartVersionDetailsOkResponse = ResponseWithPagination<ResponseHelmChartResponseDto>;
|
|
22
24
|
export type GetHelmChartVersionDetailsErrorResponse = Failure | Error;
|
package/dist/ng-manager-swagger-service/src/services/hooks/useGetHelmChartVersionDetailsV1Query.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export interface GetHelmChartVersionDetailsV1QueryQueryParams {
|
|
|
18
18
|
ociHelmChartStoreConfigType?: string;
|
|
19
19
|
helmVersion?: string;
|
|
20
20
|
registryId?: string;
|
|
21
|
+
gcpProject?: string;
|
|
22
|
+
garRepositoryName?: string;
|
|
21
23
|
}
|
|
22
24
|
export type GetHelmChartVersionDetailsV1OkResponse = ResponseWithPagination<ResponseHelmChartResponseDto>;
|
|
23
25
|
export type GetHelmChartVersionDetailsV1ErrorResponse = Failure | Error;
|
|
@@ -19,6 +19,8 @@ export interface GetHelmChartVersionDetailsWithYamlMutationQueryParams {
|
|
|
19
19
|
folderPath?: string;
|
|
20
20
|
lastTag?: string;
|
|
21
21
|
registryId?: string;
|
|
22
|
+
gcpProject?: string;
|
|
23
|
+
garRepositoryName?: string;
|
|
22
24
|
chartVersionInput?: string;
|
|
23
25
|
branch?: string;
|
|
24
26
|
repoIdentifier?: string;
|
|
@@ -9,6 +9,10 @@ export type { AutoScalingGroupsErrorResponse, AutoScalingGroupsOkResponse, AutoS
|
|
|
9
9
|
export { autoScalingGroups, useAutoScalingGroupsQuery } from './hooks/useAutoScalingGroupsQuery';
|
|
10
10
|
export type { CheckMemberErrorResponse, CheckMemberOkResponse, CheckMemberProps, CheckMemberQueryPathParams, CheckMemberQueryQueryParams, } from './hooks/useCheckMemberQuery';
|
|
11
11
|
export { checkMember, useCheckMemberQuery } from './hooks/useCheckMemberQuery';
|
|
12
|
+
export type { CloneEnvironmentV2ErrorResponse, CloneEnvironmentV2MutationQueryParams, CloneEnvironmentV2OkResponse, CloneEnvironmentV2Props, CloneEnvironmentV2RequestBody, } from './hooks/useCloneEnvironmentV2Mutation';
|
|
13
|
+
export { cloneEnvironmentV2, useCloneEnvironmentV2Mutation, } from './hooks/useCloneEnvironmentV2Mutation';
|
|
14
|
+
export type { CloneServiceV2ErrorResponse, CloneServiceV2MutationQueryParams, CloneServiceV2OkResponse, CloneServiceV2Props, CloneServiceV2RequestBody, } from './hooks/useCloneServiceV2Mutation';
|
|
15
|
+
export { cloneServiceV2, useCloneServiceV2Mutation } from './hooks/useCloneServiceV2Mutation';
|
|
12
16
|
export type { ClustersErrorResponse, ClustersOkResponse, ClustersProps, ClustersQueryQueryParams, } from './hooks/useClustersQuery';
|
|
13
17
|
export { clusters, useClustersQuery } from './hooks/useClustersQuery';
|
|
14
18
|
export type { CreateApiKeyErrorResponse, CreateApiKeyMutationQueryParams, CreateApiKeyOkResponse, CreateApiKeyProps, CreateApiKeyRequestBody, } from './hooks/useCreateApiKeyMutation';
|
|
@@ -83,6 +87,8 @@ export type { GetBuildsForBambooErrorResponse, GetBuildsForBambooMutationQueryPa
|
|
|
83
87
|
export { getBuildsForBamboo, useGetBuildsForBambooMutation, } from './hooks/useGetBuildsForBambooMutation';
|
|
84
88
|
export type { GetBuildsForJenkinsErrorResponse, GetBuildsForJenkinsOkResponse, GetBuildsForJenkinsProps, GetBuildsForJenkinsQueryPathParams, GetBuildsForJenkinsQueryQueryParams, } from './hooks/useGetBuildsForJenkinsQuery';
|
|
85
89
|
export { getBuildsForJenkins, useGetBuildsForJenkinsQuery, } from './hooks/useGetBuildsForJenkinsQuery';
|
|
90
|
+
export type { GetCannyCategoriesErrorResponse, GetCannyCategoriesOkResponse, GetCannyCategoriesProps, GetCannyCategoriesQueryQueryParams, } from './hooks/useGetCannyCategoriesQuery';
|
|
91
|
+
export { getCannyCategories, useGetCannyCategoriesQuery } from './hooks/useGetCannyCategoriesQuery';
|
|
86
92
|
export type { GetClusterNamesForGcpErrorResponse, GetClusterNamesForGcpOkResponse, GetClusterNamesForGcpProps, GetClusterNamesForGcpQueryQueryParams, } from './hooks/useGetClusterNamesForGcpQuery';
|
|
87
93
|
export { getClusterNamesForGcp, useGetClusterNamesForGcpQuery, } from './hooks/useGetClusterNamesForGcpQuery';
|
|
88
94
|
export type { GetEksClusterNamesErrorResponse, GetEksClusterNamesOkResponse, GetEksClusterNamesProps, GetEksClusterNamesQueryQueryParams, } from './hooks/useGetEksClusterNamesQuery';
|
|
@@ -355,7 +361,11 @@ export type { BambooPlanNames } from './schemas/BambooPlanNames';
|
|
|
355
361
|
export type { BucketResponse } from './schemas/BucketResponse';
|
|
356
362
|
export type { BuildDetails } from './schemas/BuildDetails';
|
|
357
363
|
export type { CacheResponseMetadata } from './schemas/CacheResponseMetadata';
|
|
364
|
+
export type { CannyCategoriesResponseDto } from './schemas/CannyCategoriesResponseDto';
|
|
365
|
+
export type { Category } from './schemas/Category';
|
|
358
366
|
export type { CustomScriptInfo } from './schemas/CustomScriptInfo';
|
|
367
|
+
export type { DestinationEnvironmentConfig } from './schemas/DestinationEnvironmentConfig';
|
|
368
|
+
export type { DestinationServiceConfig } from './schemas/DestinationServiceConfig';
|
|
359
369
|
export type { DockerBuildDetailsDto } from './schemas/DockerBuildDetailsDto';
|
|
360
370
|
export type { DockerRequestDto } from './schemas/DockerRequestDto';
|
|
361
371
|
export type { DockerResponseDto } from './schemas/DockerResponseDto';
|
|
@@ -371,6 +381,8 @@ export type { EntitySetupUsageDto } from './schemas/EntitySetupUsageDto';
|
|
|
371
381
|
export type { EntityValidityDetails } from './schemas/EntityValidityDetails';
|
|
372
382
|
export type { EntityWithGitInfo } from './schemas/EntityWithGitInfo';
|
|
373
383
|
export type { EnvironmentAndServiceOverridesMetadataInput } from './schemas/EnvironmentAndServiceOverridesMetadataInput';
|
|
384
|
+
export type { EnvironmentCloneRequestDto } from './schemas/EnvironmentCloneRequestDto';
|
|
385
|
+
export type { EnvironmentCloneResponseDto } from './schemas/EnvironmentCloneResponseDto';
|
|
374
386
|
export type { EnvironmentFilterProperties } from './schemas/EnvironmentFilterProperties';
|
|
375
387
|
export type { EnvironmentInputsetYamlAndServiceOverridesMetadata } from './schemas/EnvironmentInputsetYamlAndServiceOverridesMetadata';
|
|
376
388
|
export type { EnvironmentResponse } from './schemas/EnvironmentResponse';
|
|
@@ -399,6 +411,8 @@ export type { GoogleCloudStorageBucketDetails } from './schemas/GoogleCloudStora
|
|
|
399
411
|
export type { GoogleCloudStorageBucketsResponseDto } from './schemas/GoogleCloudStorageBucketsResponseDto';
|
|
400
412
|
export type { GovernanceMetadata } from './schemas/GovernanceMetadata';
|
|
401
413
|
export type { HelmChartResponseDto } from './schemas/HelmChartResponseDto';
|
|
414
|
+
export type { InfrastructureResponse } from './schemas/InfrastructureResponse';
|
|
415
|
+
export type { InfrastructureResponseDto } from './schemas/InfrastructureResponseDto';
|
|
402
416
|
export type { InfrastructureYamlMetadata } from './schemas/InfrastructureYamlMetadata';
|
|
403
417
|
export type { InfrastructureYamlMetadataApiInputV2 } from './schemas/InfrastructureYamlMetadataApiInputV2';
|
|
404
418
|
export type { InfrastructureYamlMetadataDto } from './schemas/InfrastructureYamlMetadataDto';
|
|
@@ -475,11 +489,13 @@ export type { ResponseAzureTagsDto } from './schemas/ResponseAzureTagsDto';
|
|
|
475
489
|
export type { ResponseBambooPlanKeysDto } from './schemas/ResponseBambooPlanKeysDto';
|
|
476
490
|
export type { ResponseBoolean } from './schemas/ResponseBoolean';
|
|
477
491
|
export type { ResponseBuildDetails } from './schemas/ResponseBuildDetails';
|
|
492
|
+
export type { ResponseCannyCategoriesResponseDto } from './schemas/ResponseCannyCategoriesResponseDto';
|
|
478
493
|
export type { ResponseDockerBuildDetailsDto } from './schemas/ResponseDockerBuildDetailsDto';
|
|
479
494
|
export type { ResponseDockerResponseDto } from './schemas/ResponseDockerResponseDto';
|
|
480
495
|
export type { ResponseEcrBuildDetailsDto } from './schemas/ResponseEcrBuildDetailsDto';
|
|
481
496
|
export type { ResponseEcrListImagesDto } from './schemas/ResponseEcrListImagesDto';
|
|
482
497
|
export type { ResponseEcrResponseDto } from './schemas/ResponseEcrResponseDto';
|
|
498
|
+
export type { ResponseEnvironmentCloneResponseDto } from './schemas/ResponseEnvironmentCloneResponseDto';
|
|
483
499
|
export type { ResponseEnvironmentYamlMetadataDto } from './schemas/ResponseEnvironmentYamlMetadataDto';
|
|
484
500
|
export type { ResponseGarBuildDetailsDto } from './schemas/ResponseGarBuildDetailsDto';
|
|
485
501
|
export type { ResponseGarPackageDtoList } from './schemas/ResponseGarPackageDtoList';
|
|
@@ -555,6 +571,7 @@ export type { ScopeName } from './schemas/ScopeName';
|
|
|
555
571
|
export type { ScopeSelector } from './schemas/ScopeSelector';
|
|
556
572
|
export type { ScopedResourceMetadata } from './schemas/ScopedResourceMetadata';
|
|
557
573
|
export type { ScopedResourcePermission } from './schemas/ScopedResourcePermission';
|
|
574
|
+
export type { ServiceCloneRequestDto } from './schemas/ServiceCloneRequestDto';
|
|
558
575
|
export type { ServiceDashboardResponseDto } from './schemas/ServiceDashboardResponseDto';
|
|
559
576
|
export type { ServiceNowFieldAllowedValueNg } from './schemas/ServiceNowFieldAllowedValueNg';
|
|
560
577
|
export type { ServiceNowFieldNg } from './schemas/ServiceNowFieldNg';
|
|
@@ -569,6 +586,8 @@ export type { ServicesV2YamlMetadataDto } from './schemas/ServicesV2YamlMetadata
|
|
|
569
586
|
export type { ServicesYamlMetadataApiInputV2 } from './schemas/ServicesYamlMetadataApiInputV2';
|
|
570
587
|
export type { SetupUsageDetail } from './schemas/SetupUsageDetail';
|
|
571
588
|
export type { ShouldDisableDeploymentFreezeResponseDto } from './schemas/ShouldDisableDeploymentFreezeResponseDto';
|
|
589
|
+
export type { SourceEnvironmentConfig } from './schemas/SourceEnvironmentConfig';
|
|
590
|
+
export type { SourceServiceConfig } from './schemas/SourceServiceConfig';
|
|
572
591
|
export type { StackTraceElement } from './schemas/StackTraceElement';
|
|
573
592
|
export type { TaskSelectorYaml } from './schemas/TaskSelectorYaml';
|
|
574
593
|
export type { Throwable } from './schemas/Throwable';
|
|
@@ -3,6 +3,8 @@ export { addMember, useAddMemberMutation } from './hooks/useAddMemberMutation';
|
|
|
3
3
|
export { artifactIds, useArtifactIdsMutation } from './hooks/useArtifactIdsMutation';
|
|
4
4
|
export { autoScalingGroups, useAutoScalingGroupsQuery } from './hooks/useAutoScalingGroupsQuery';
|
|
5
5
|
export { checkMember, useCheckMemberQuery } from './hooks/useCheckMemberQuery';
|
|
6
|
+
export { cloneEnvironmentV2, useCloneEnvironmentV2Mutation, } from './hooks/useCloneEnvironmentV2Mutation';
|
|
7
|
+
export { cloneServiceV2, useCloneServiceV2Mutation } from './hooks/useCloneServiceV2Mutation';
|
|
6
8
|
export { clusters, useClustersQuery } from './hooks/useClustersQuery';
|
|
7
9
|
export { createApiKey, useCreateApiKeyMutation } from './hooks/useCreateApiKeyMutation';
|
|
8
10
|
export { createJiraIssue, useCreateJiraIssueMutation } from './hooks/useCreateJiraIssueMutation';
|
|
@@ -40,6 +42,7 @@ export { getBuildDetailsForNexusArtifact, useGetBuildDetailsForNexusArtifactQuer
|
|
|
40
42
|
export { getBuildDetailsForNexusArtifactWithYaml, useGetBuildDetailsForNexusArtifactWithYamlMutation, } from './hooks/useGetBuildDetailsForNexusArtifactWithYamlMutation';
|
|
41
43
|
export { getBuildsForBamboo, useGetBuildsForBambooMutation, } from './hooks/useGetBuildsForBambooMutation';
|
|
42
44
|
export { getBuildsForJenkins, useGetBuildsForJenkinsQuery, } from './hooks/useGetBuildsForJenkinsQuery';
|
|
45
|
+
export { getCannyCategories, useGetCannyCategoriesQuery } from './hooks/useGetCannyCategoriesQuery';
|
|
43
46
|
export { getClusterNamesForGcp, useGetClusterNamesForGcpQuery, } from './hooks/useGetClusterNamesForGcpQuery';
|
|
44
47
|
export { getEksClusterNames, useGetEksClusterNamesQuery } from './hooks/useGetEksClusterNamesQuery';
|
|
45
48
|
export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/ng-manager-swagger-service/src/services/schemas/DestinationEnvironmentConfig.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface DestinationEnvironmentConfig {
|
|
2
|
+
baseBranch?: string;
|
|
3
|
+
branch?: string;
|
|
4
|
+
commitMessage?: string;
|
|
5
|
+
connectorRef?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
envIdentifier?: string;
|
|
8
|
+
envName?: string;
|
|
9
|
+
filePath?: string;
|
|
10
|
+
harnessCodeRepo?: boolean;
|
|
11
|
+
newBranch?: boolean;
|
|
12
|
+
orgIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
repoName?: string;
|
|
15
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
16
|
+
tags?: {
|
|
17
|
+
[key: string]: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface DestinationServiceConfig {
|
|
2
|
+
baseBranch?: string;
|
|
3
|
+
branch?: string;
|
|
4
|
+
commitMessage?: string;
|
|
5
|
+
connectorRef?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
filePath?: string;
|
|
8
|
+
harnessCodeRepo?: boolean;
|
|
9
|
+
newBranch?: boolean;
|
|
10
|
+
orgIdentifier?: string;
|
|
11
|
+
projectIdentifier?: string;
|
|
12
|
+
repoName?: string;
|
|
13
|
+
serviceIdentifier?: string;
|
|
14
|
+
serviceName?: string;
|
|
15
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
16
|
+
tags?: {
|
|
17
|
+
[key: string]: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { DestinationEnvironmentConfig } from '../schemas/DestinationEnvironmentConfig';
|
|
2
|
+
import type { SourceEnvironmentConfig } from '../schemas/SourceEnvironmentConfig';
|
|
3
|
+
export interface EnvironmentCloneRequestDto {
|
|
4
|
+
cloneInfrastructures?: boolean;
|
|
5
|
+
destinationConfig: DestinationEnvironmentConfig;
|
|
6
|
+
sourceConfig: SourceEnvironmentConfig;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { EntityValidityDetails } from '../schemas/EntityValidityDetails';
|
|
2
|
+
import type { EnvironmentResponseDto } from '../schemas/EnvironmentResponseDto';
|
|
3
|
+
import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
|
|
4
|
+
import type { InfrastructureResponse } from '../schemas/InfrastructureResponse';
|
|
5
|
+
export interface EnvironmentCloneResponseDto {
|
|
6
|
+
cloneFailedInfrastructures?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* @format int64
|
|
9
|
+
*/
|
|
10
|
+
createdAt?: number;
|
|
11
|
+
entityValidityDetails?: EntityValidityDetails;
|
|
12
|
+
environment?: EnvironmentResponseDto;
|
|
13
|
+
governanceMetadata?: GovernanceMetadata;
|
|
14
|
+
infrastructureResponseList?: InfrastructureResponse[];
|
|
15
|
+
/**
|
|
16
|
+
* @format int64
|
|
17
|
+
*/
|
|
18
|
+
lastModifiedAt?: number;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { EntityValidityDetails } from '../schemas/EntityValidityDetails';
|
|
2
|
+
import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
|
|
3
|
+
import type { InfrastructureResponseDto } from '../schemas/InfrastructureResponseDto';
|
|
4
|
+
export interface InfrastructureResponse {
|
|
5
|
+
/**
|
|
6
|
+
* @format int64
|
|
7
|
+
*/
|
|
8
|
+
createdAt?: number;
|
|
9
|
+
entityValidityDetails?: EntityValidityDetails;
|
|
10
|
+
governanceMetadata?: GovernanceMetadata;
|
|
11
|
+
infrastructure?: InfrastructureResponseDto;
|
|
12
|
+
/**
|
|
13
|
+
* @format int64
|
|
14
|
+
*/
|
|
15
|
+
lastModifiedAt?: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { CacheResponseMetadata } from '../schemas/CacheResponseMetadata';
|
|
2
|
+
import type { EntityGitDetails } from '../schemas/EntityGitDetails';
|
|
3
|
+
export interface InfrastructureResponseDto {
|
|
4
|
+
accountId?: string;
|
|
5
|
+
cacheResponseMetadataDTO?: CacheResponseMetadata;
|
|
6
|
+
connectorRef?: string;
|
|
7
|
+
deploymentType?: 'AWS_SAM' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
|
|
8
|
+
description?: string;
|
|
9
|
+
entityGitDetails?: EntityGitDetails;
|
|
10
|
+
environmentRef?: string;
|
|
11
|
+
fallbackBranch?: string;
|
|
12
|
+
identifier?: string;
|
|
13
|
+
name?: string;
|
|
14
|
+
orgIdentifier?: string;
|
|
15
|
+
projectIdentifier?: string;
|
|
16
|
+
storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
|
|
17
|
+
tags?: {
|
|
18
|
+
[key: string]: string;
|
|
19
|
+
};
|
|
20
|
+
type?: 'AWS_SAM' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'KubernetesAws' | 'KubernetesAzure' | 'KubernetesDirect' | 'KubernetesGcp' | 'KubernetesRancher' | 'Pdc' | 'Salesforce' | 'ServerlessAwsLambda' | 'SshWinRmAws' | 'SshWinRmAzure' | 'TAS';
|
|
21
|
+
yaml?: string;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/ng-manager-swagger-service/src/services/schemas/ResponseCannyCategoriesResponseDto.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CannyCategoriesResponseDto } from '../schemas/CannyCategoriesResponseDto';
|
|
2
|
+
export interface ResponseCannyCategoriesResponseDto {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: CannyCategoriesResponseDto;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
package/dist/ng-manager-swagger-service/src/services/schemas/ResponseCannyCategoriesResponseDto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { EnvironmentCloneResponseDto } from '../schemas/EnvironmentCloneResponseDto';
|
|
2
|
+
export interface ResponseEnvironmentCloneResponseDto {
|
|
3
|
+
correlationId?: string;
|
|
4
|
+
data?: EnvironmentCloneResponseDto;
|
|
5
|
+
metaData?: {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
};
|
|
8
|
+
status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
|
|
9
|
+
}
|
package/dist/ng-manager-swagger-service/src/services/schemas/ResponseEnvironmentCloneResponseDto.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { DestinationServiceConfig } from '../schemas/DestinationServiceConfig';
|
|
2
|
+
import type { SourceServiceConfig } from '../schemas/SourceServiceConfig';
|
|
3
|
+
export interface ServiceCloneRequestDto {
|
|
4
|
+
destinationConfig: DestinationServiceConfig;
|
|
5
|
+
sourceConfig: SourceServiceConfig;
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,7 +3,7 @@ import type { ScopedResourceMetadata } from '../schemas/ScopedResourceMetadata';
|
|
|
3
3
|
import type { ScopedResourcePermission } from '../schemas/ScopedResourcePermission';
|
|
4
4
|
export interface TokenDto {
|
|
5
5
|
accountIdentifier: string;
|
|
6
|
-
apiKeyIdentifier
|
|
6
|
+
apiKeyIdentifier?: string;
|
|
7
7
|
apiKeyType: 'PGP_KEY' | 'SCOPED_TOKEN' | 'SERVICE_ACCOUNT' | 'SSH_KEY' | 'USER';
|
|
8
8
|
content?: string;
|
|
9
9
|
description?: string;
|
|
@@ -13,7 +13,7 @@ export interface TokenDto {
|
|
|
13
13
|
name: string;
|
|
14
14
|
orgIdentifier?: string;
|
|
15
15
|
parentEntityUniqueId?: string;
|
|
16
|
-
parentIdentifier
|
|
16
|
+
parentIdentifier?: string;
|
|
17
17
|
parentUniqueId?: string;
|
|
18
18
|
pgpIdentities?: PgpKeyIdentity[];
|
|
19
19
|
pgpIsSubKey?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@harnessio/react-ng-manager-swagger-service-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.28.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",
|