@harnessio/react-ng-manager-swagger-service-client 1.26.0 → 1.27.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/index.d.ts +14 -0
- package/dist/ng-manager-swagger-service/src/services/index.js +2 -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/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/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
|
+
}
|
|
@@ -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';
|
|
@@ -356,6 +360,8 @@ export type { BucketResponse } from './schemas/BucketResponse';
|
|
|
356
360
|
export type { BuildDetails } from './schemas/BuildDetails';
|
|
357
361
|
export type { CacheResponseMetadata } from './schemas/CacheResponseMetadata';
|
|
358
362
|
export type { CustomScriptInfo } from './schemas/CustomScriptInfo';
|
|
363
|
+
export type { DestinationEnvironmentConfig } from './schemas/DestinationEnvironmentConfig';
|
|
364
|
+
export type { DestinationServiceConfig } from './schemas/DestinationServiceConfig';
|
|
359
365
|
export type { DockerBuildDetailsDto } from './schemas/DockerBuildDetailsDto';
|
|
360
366
|
export type { DockerRequestDto } from './schemas/DockerRequestDto';
|
|
361
367
|
export type { DockerResponseDto } from './schemas/DockerResponseDto';
|
|
@@ -371,6 +377,8 @@ export type { EntitySetupUsageDto } from './schemas/EntitySetupUsageDto';
|
|
|
371
377
|
export type { EntityValidityDetails } from './schemas/EntityValidityDetails';
|
|
372
378
|
export type { EntityWithGitInfo } from './schemas/EntityWithGitInfo';
|
|
373
379
|
export type { EnvironmentAndServiceOverridesMetadataInput } from './schemas/EnvironmentAndServiceOverridesMetadataInput';
|
|
380
|
+
export type { EnvironmentCloneRequestDto } from './schemas/EnvironmentCloneRequestDto';
|
|
381
|
+
export type { EnvironmentCloneResponseDto } from './schemas/EnvironmentCloneResponseDto';
|
|
374
382
|
export type { EnvironmentFilterProperties } from './schemas/EnvironmentFilterProperties';
|
|
375
383
|
export type { EnvironmentInputsetYamlAndServiceOverridesMetadata } from './schemas/EnvironmentInputsetYamlAndServiceOverridesMetadata';
|
|
376
384
|
export type { EnvironmentResponse } from './schemas/EnvironmentResponse';
|
|
@@ -399,6 +407,8 @@ export type { GoogleCloudStorageBucketDetails } from './schemas/GoogleCloudStora
|
|
|
399
407
|
export type { GoogleCloudStorageBucketsResponseDto } from './schemas/GoogleCloudStorageBucketsResponseDto';
|
|
400
408
|
export type { GovernanceMetadata } from './schemas/GovernanceMetadata';
|
|
401
409
|
export type { HelmChartResponseDto } from './schemas/HelmChartResponseDto';
|
|
410
|
+
export type { InfrastructureResponse } from './schemas/InfrastructureResponse';
|
|
411
|
+
export type { InfrastructureResponseDto } from './schemas/InfrastructureResponseDto';
|
|
402
412
|
export type { InfrastructureYamlMetadata } from './schemas/InfrastructureYamlMetadata';
|
|
403
413
|
export type { InfrastructureYamlMetadataApiInputV2 } from './schemas/InfrastructureYamlMetadataApiInputV2';
|
|
404
414
|
export type { InfrastructureYamlMetadataDto } from './schemas/InfrastructureYamlMetadataDto';
|
|
@@ -480,6 +490,7 @@ export type { ResponseDockerResponseDto } from './schemas/ResponseDockerResponse
|
|
|
480
490
|
export type { ResponseEcrBuildDetailsDto } from './schemas/ResponseEcrBuildDetailsDto';
|
|
481
491
|
export type { ResponseEcrListImagesDto } from './schemas/ResponseEcrListImagesDto';
|
|
482
492
|
export type { ResponseEcrResponseDto } from './schemas/ResponseEcrResponseDto';
|
|
493
|
+
export type { ResponseEnvironmentCloneResponseDto } from './schemas/ResponseEnvironmentCloneResponseDto';
|
|
483
494
|
export type { ResponseEnvironmentYamlMetadataDto } from './schemas/ResponseEnvironmentYamlMetadataDto';
|
|
484
495
|
export type { ResponseGarBuildDetailsDto } from './schemas/ResponseGarBuildDetailsDto';
|
|
485
496
|
export type { ResponseGarPackageDtoList } from './schemas/ResponseGarPackageDtoList';
|
|
@@ -555,6 +566,7 @@ export type { ScopeName } from './schemas/ScopeName';
|
|
|
555
566
|
export type { ScopeSelector } from './schemas/ScopeSelector';
|
|
556
567
|
export type { ScopedResourceMetadata } from './schemas/ScopedResourceMetadata';
|
|
557
568
|
export type { ScopedResourcePermission } from './schemas/ScopedResourcePermission';
|
|
569
|
+
export type { ServiceCloneRequestDto } from './schemas/ServiceCloneRequestDto';
|
|
558
570
|
export type { ServiceDashboardResponseDto } from './schemas/ServiceDashboardResponseDto';
|
|
559
571
|
export type { ServiceNowFieldAllowedValueNg } from './schemas/ServiceNowFieldAllowedValueNg';
|
|
560
572
|
export type { ServiceNowFieldNg } from './schemas/ServiceNowFieldNg';
|
|
@@ -569,6 +581,8 @@ export type { ServicesV2YamlMetadataDto } from './schemas/ServicesV2YamlMetadata
|
|
|
569
581
|
export type { ServicesYamlMetadataApiInputV2 } from './schemas/ServicesYamlMetadataApiInputV2';
|
|
570
582
|
export type { SetupUsageDetail } from './schemas/SetupUsageDetail';
|
|
571
583
|
export type { ShouldDisableDeploymentFreezeResponseDto } from './schemas/ShouldDisableDeploymentFreezeResponseDto';
|
|
584
|
+
export type { SourceEnvironmentConfig } from './schemas/SourceEnvironmentConfig';
|
|
585
|
+
export type { SourceServiceConfig } from './schemas/SourceServiceConfig';
|
|
572
586
|
export type { StackTraceElement } from './schemas/StackTraceElement';
|
|
573
587
|
export type { TaskSelectorYaml } from './schemas/TaskSelectorYaml';
|
|
574
588
|
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';
|
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 {};
|
|
@@ -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 {};
|
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.27.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",
|