@harnessio/react-ng-manager-swagger-service-client 1.25.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.
Files changed (36) hide show
  1. package/dist/ng-manager-swagger-service/src/services/hooks/useCloneEnvironmentV2Mutation.d.ts +22 -0
  2. package/dist/ng-manager-swagger-service/src/services/hooks/useCloneEnvironmentV2Mutation.js +14 -0
  3. package/dist/ng-manager-swagger-service/src/services/hooks/useCloneServiceV2Mutation.d.ts +22 -0
  4. package/dist/ng-manager-swagger-service/src/services/hooks/useCloneServiceV2Mutation.js +14 -0
  5. package/dist/ng-manager-swagger-service/src/services/hooks/useGetHelmChartVersionDetailsWithYamlMutation.d.ts +44 -0
  6. package/dist/ng-manager-swagger-service/src/services/hooks/useGetHelmChartVersionDetailsWithYamlMutation.js +14 -0
  7. package/dist/ng-manager-swagger-service/src/services/hooks/useListAwsRegionsQuery.d.ts +15 -0
  8. package/dist/ng-manager-swagger-service/src/services/hooks/useListAwsRegionsQuery.js +14 -0
  9. package/dist/ng-manager-swagger-service/src/services/index.d.ts +20 -0
  10. package/dist/ng-manager-swagger-service/src/services/index.js +4 -0
  11. package/dist/ng-manager-swagger-service/src/services/schemas/DestinationEnvironmentConfig.d.ts +19 -0
  12. package/dist/ng-manager-swagger-service/src/services/schemas/DestinationEnvironmentConfig.js +4 -0
  13. package/dist/ng-manager-swagger-service/src/services/schemas/DestinationServiceConfig.d.ts +19 -0
  14. package/dist/ng-manager-swagger-service/src/services/schemas/DestinationServiceConfig.js +4 -0
  15. package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentCloneRequestDto.d.ts +7 -0
  16. package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentCloneRequestDto.js +1 -0
  17. package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentCloneResponseDto.d.ts +19 -0
  18. package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentCloneResponseDto.js +1 -0
  19. package/dist/ng-manager-swagger-service/src/services/schemas/InfrastructureResponse.d.ts +16 -0
  20. package/dist/ng-manager-swagger-service/src/services/schemas/InfrastructureResponse.js +1 -0
  21. package/dist/ng-manager-swagger-service/src/services/schemas/InfrastructureResponseDto.d.ts +22 -0
  22. package/dist/ng-manager-swagger-service/src/services/schemas/InfrastructureResponseDto.js +1 -0
  23. package/dist/ng-manager-swagger-service/src/services/schemas/JiraIssueTransitionNg.d.ts +5 -0
  24. package/dist/ng-manager-swagger-service/src/services/schemas/NameValuePair.d.ts +5 -0
  25. package/dist/ng-manager-swagger-service/src/services/schemas/NameValuePair.js +4 -0
  26. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseEnvironmentCloneResponseDto.d.ts +9 -0
  27. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseEnvironmentCloneResponseDto.js +1 -0
  28. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListNameValuePair.d.ts +9 -0
  29. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListNameValuePair.js +1 -0
  30. package/dist/ng-manager-swagger-service/src/services/schemas/ServiceCloneRequestDto.d.ts +6 -0
  31. package/dist/ng-manager-swagger-service/src/services/schemas/ServiceCloneRequestDto.js +1 -0
  32. package/dist/ng-manager-swagger-service/src/services/schemas/SourceEnvironmentConfig.d.ts +6 -0
  33. package/dist/ng-manager-swagger-service/src/services/schemas/SourceEnvironmentConfig.js +4 -0
  34. package/dist/ng-manager-swagger-service/src/services/schemas/SourceServiceConfig.d.ts +6 -0
  35. package/dist/ng-manager-swagger-service/src/services/schemas/SourceServiceConfig.js +4 -0
  36. 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,44 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseHelmChartResponseDto } from '../schemas/ResponseHelmChartResponseDto';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ListTagsForAmiArtifactBodyRequestBody } from '../requestBodies/ListTagsForAmiArtifactBodyRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetHelmChartVersionDetailsWithYamlMutationQueryParams {
9
+ accountIdentifier: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ pipelineIdentifier: string;
13
+ serviceId: string;
14
+ fqnPath: string;
15
+ connectorRef?: string;
16
+ chartName?: string;
17
+ region?: string;
18
+ bucketName?: string;
19
+ folderPath?: string;
20
+ lastTag?: string;
21
+ registryId?: string;
22
+ chartVersionInput?: 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 GetHelmChartVersionDetailsWithYamlRequestBody = ListTagsForAmiArtifactBodyRequestBody;
34
+ export type GetHelmChartVersionDetailsWithYamlOkResponse = ResponseWithPagination<ResponseHelmChartResponseDto>;
35
+ export type GetHelmChartVersionDetailsWithYamlErrorResponse = Failure | Error;
36
+ export interface GetHelmChartVersionDetailsWithYamlProps extends Omit<FetcherOptions<GetHelmChartVersionDetailsWithYamlMutationQueryParams, GetHelmChartVersionDetailsWithYamlRequestBody>, 'url'> {
37
+ queryParams: GetHelmChartVersionDetailsWithYamlMutationQueryParams;
38
+ body: GetHelmChartVersionDetailsWithYamlRequestBody;
39
+ }
40
+ export declare function getHelmChartVersionDetailsWithYaml(props: GetHelmChartVersionDetailsWithYamlProps): Promise<GetHelmChartVersionDetailsWithYamlOkResponse>;
41
+ /**
42
+ *
43
+ */
44
+ export declare function useGetHelmChartVersionDetailsWithYamlMutation(options?: Omit<UseMutationOptions<GetHelmChartVersionDetailsWithYamlOkResponse, GetHelmChartVersionDetailsWithYamlErrorResponse, GetHelmChartVersionDetailsWithYamlProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetHelmChartVersionDetailsWithYamlOkResponse, GetHelmChartVersionDetailsWithYamlErrorResponse, GetHelmChartVersionDetailsWithYamlProps, 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 getHelmChartVersionDetailsWithYaml(props) {
7
+ return fetcher(Object.assign({ url: `/manifests/helm/v2/chart/version`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetHelmChartVersionDetailsWithYamlMutation(options) {
13
+ return useMutation((mutateProps) => getHelmChartVersionDetailsWithYaml(mutateProps), options);
14
+ }
@@ -0,0 +1,15 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseListNameValuePair } from '../schemas/ResponseListNameValuePair';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ResponseWithPagination } from '../helpers';
6
+ import { FetcherOptions } from '../../../../fetcher/index.js';
7
+ export type ListAwsRegionsOkResponse = ResponseWithPagination<ResponseListNameValuePair>;
8
+ export type ListAwsRegionsErrorResponse = Failure | Error;
9
+ export interface ListAwsRegionsProps extends Omit<FetcherOptions<unknown, unknown>, 'url'> {
10
+ }
11
+ export declare function listAwsRegions(props: ListAwsRegionsProps): Promise<ListAwsRegionsOkResponse>;
12
+ /**
13
+ *
14
+ */
15
+ export declare function useListAwsRegionsQuery(props: ListAwsRegionsProps, options?: Omit<UseQueryOptions<ListAwsRegionsOkResponse, ListAwsRegionsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListAwsRegionsOkResponse, ListAwsRegionsErrorResponse>;
@@ -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 listAwsRegions(props) {
7
+ return fetcher(Object.assign({ url: `/aws/aws-helper/aws-regions`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useListAwsRegionsQuery(props, options) {
13
+ return useQuery(['listAwsRegions'], ({ signal }) => listAwsRegions(Object.assign(Object.assign({}, props), { signal })), 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';
@@ -107,6 +111,8 @@ export type { GetHelmChartVersionDetailsErrorResponse, GetHelmChartVersionDetail
107
111
  export { getHelmChartVersionDetails, useGetHelmChartVersionDetailsQuery, } from './hooks/useGetHelmChartVersionDetailsQuery';
108
112
  export type { GetHelmChartVersionDetailsV1ErrorResponse, GetHelmChartVersionDetailsV1OkResponse, GetHelmChartVersionDetailsV1Props, GetHelmChartVersionDetailsV1QueryQueryParams, } from './hooks/useGetHelmChartVersionDetailsV1Query';
109
113
  export { getHelmChartVersionDetailsV1, useGetHelmChartVersionDetailsV1Query, } from './hooks/useGetHelmChartVersionDetailsV1Query';
114
+ export type { GetHelmChartVersionDetailsWithYamlErrorResponse, GetHelmChartVersionDetailsWithYamlMutationQueryParams, GetHelmChartVersionDetailsWithYamlOkResponse, GetHelmChartVersionDetailsWithYamlProps, GetHelmChartVersionDetailsWithYamlRequestBody, } from './hooks/useGetHelmChartVersionDetailsWithYamlMutation';
115
+ export { getHelmChartVersionDetailsWithYaml, useGetHelmChartVersionDetailsWithYamlMutation, } from './hooks/useGetHelmChartVersionDetailsWithYamlMutation';
110
116
  export type { GetImagePathsForArtifactoryErrorResponse, GetImagePathsForArtifactoryOkResponse, GetImagePathsForArtifactoryProps, GetImagePathsForArtifactoryQueryQueryParams, } from './hooks/useGetImagePathsForArtifactoryQuery';
111
117
  export { getImagePathsForArtifactory, useGetImagePathsForArtifactoryQuery, } from './hooks/useGetImagePathsForArtifactoryQuery';
112
118
  export type { GetImagePathsForArtifactoryV2ErrorResponse, GetImagePathsForArtifactoryV2MutationQueryParams, GetImagePathsForArtifactoryV2OkResponse, GetImagePathsForArtifactoryV2Props, GetImagePathsForArtifactoryV2RequestBody, } from './hooks/useGetImagePathsForArtifactoryV2Mutation';
@@ -247,6 +253,8 @@ export type { ListAllEntityUsageByFqnErrorResponse, ListAllEntityUsageByFqnOkRes
247
253
  export { listAllEntityUsageByFqn, useListAllEntityUsageByFqnQuery, } from './hooks/useListAllEntityUsageByFqnQuery';
248
254
  export type { ListApiKeysErrorResponse, ListApiKeysOkResponse, ListApiKeysProps, ListApiKeysQueryQueryParams, } from './hooks/useListApiKeysQuery';
249
255
  export { listApiKeys, useListApiKeysQuery } from './hooks/useListApiKeysQuery';
256
+ export type { ListAwsRegionsErrorResponse, ListAwsRegionsOkResponse, ListAwsRegionsProps, } from './hooks/useListAwsRegionsQuery';
257
+ export { listAwsRegions, useListAwsRegionsQuery } from './hooks/useListAwsRegionsQuery';
250
258
  export type { ListBucketsWithServiceV2ErrorResponse, ListBucketsWithServiceV2MutationQueryParams, ListBucketsWithServiceV2OkResponse, ListBucketsWithServiceV2Props, ListBucketsWithServiceV2RequestBody, } from './hooks/useListBucketsWithServiceV2Mutation';
251
259
  export { listBucketsWithServiceV2, useListBucketsWithServiceV2Mutation, } from './hooks/useListBucketsWithServiceV2Mutation';
252
260
  export type { ListFeedsForAzureArtifactsErrorResponse, ListFeedsForAzureArtifactsOkResponse, ListFeedsForAzureArtifactsProps, ListFeedsForAzureArtifactsQueryQueryParams, } from './hooks/useListFeedsForAzureArtifactsQuery';
@@ -352,6 +360,8 @@ export type { BucketResponse } from './schemas/BucketResponse';
352
360
  export type { BuildDetails } from './schemas/BuildDetails';
353
361
  export type { CacheResponseMetadata } from './schemas/CacheResponseMetadata';
354
362
  export type { CustomScriptInfo } from './schemas/CustomScriptInfo';
363
+ export type { DestinationEnvironmentConfig } from './schemas/DestinationEnvironmentConfig';
364
+ export type { DestinationServiceConfig } from './schemas/DestinationServiceConfig';
355
365
  export type { DockerBuildDetailsDto } from './schemas/DockerBuildDetailsDto';
356
366
  export type { DockerRequestDto } from './schemas/DockerRequestDto';
357
367
  export type { DockerResponseDto } from './schemas/DockerResponseDto';
@@ -367,6 +377,8 @@ export type { EntitySetupUsageDto } from './schemas/EntitySetupUsageDto';
367
377
  export type { EntityValidityDetails } from './schemas/EntityValidityDetails';
368
378
  export type { EntityWithGitInfo } from './schemas/EntityWithGitInfo';
369
379
  export type { EnvironmentAndServiceOverridesMetadataInput } from './schemas/EnvironmentAndServiceOverridesMetadataInput';
380
+ export type { EnvironmentCloneRequestDto } from './schemas/EnvironmentCloneRequestDto';
381
+ export type { EnvironmentCloneResponseDto } from './schemas/EnvironmentCloneResponseDto';
370
382
  export type { EnvironmentFilterProperties } from './schemas/EnvironmentFilterProperties';
371
383
  export type { EnvironmentInputsetYamlAndServiceOverridesMetadata } from './schemas/EnvironmentInputsetYamlAndServiceOverridesMetadata';
372
384
  export type { EnvironmentResponse } from './schemas/EnvironmentResponse';
@@ -395,6 +407,8 @@ export type { GoogleCloudStorageBucketDetails } from './schemas/GoogleCloudStora
395
407
  export type { GoogleCloudStorageBucketsResponseDto } from './schemas/GoogleCloudStorageBucketsResponseDto';
396
408
  export type { GovernanceMetadata } from './schemas/GovernanceMetadata';
397
409
  export type { HelmChartResponseDto } from './schemas/HelmChartResponseDto';
410
+ export type { InfrastructureResponse } from './schemas/InfrastructureResponse';
411
+ export type { InfrastructureResponseDto } from './schemas/InfrastructureResponseDto';
398
412
  export type { InfrastructureYamlMetadata } from './schemas/InfrastructureYamlMetadata';
399
413
  export type { InfrastructureYamlMetadataApiInputV2 } from './schemas/InfrastructureYamlMetadataApiInputV2';
400
414
  export type { InfrastructureYamlMetadataDto } from './schemas/InfrastructureYamlMetadataDto';
@@ -420,6 +434,7 @@ export type { JobParameter } from './schemas/JobParameter';
420
434
  export type { LdapGroupResponse } from './schemas/LdapGroupResponse';
421
435
  export type { LdapLinkGroupRequest } from './schemas/LdapLinkGroupRequest';
422
436
  export type { LdapUserResponse } from './schemas/LdapUserResponse';
437
+ export type { NameValuePair } from './schemas/NameValuePair';
423
438
  export type { NexusBuildDetailsDto } from './schemas/NexusBuildDetailsDto';
424
439
  export type { NexusRepositories } from './schemas/NexusRepositories';
425
440
  export type { NexusRequestDto } from './schemas/NexusRequestDto';
@@ -475,6 +490,7 @@ export type { ResponseDockerResponseDto } from './schemas/ResponseDockerResponse
475
490
  export type { ResponseEcrBuildDetailsDto } from './schemas/ResponseEcrBuildDetailsDto';
476
491
  export type { ResponseEcrListImagesDto } from './schemas/ResponseEcrListImagesDto';
477
492
  export type { ResponseEcrResponseDto } from './schemas/ResponseEcrResponseDto';
493
+ export type { ResponseEnvironmentCloneResponseDto } from './schemas/ResponseEnvironmentCloneResponseDto';
478
494
  export type { ResponseEnvironmentYamlMetadataDto } from './schemas/ResponseEnvironmentYamlMetadataDto';
479
495
  export type { ResponseGarBuildDetailsDto } from './schemas/ResponseGarBuildDetailsDto';
480
496
  export type { ResponseGarPackageDtoList } from './schemas/ResponseGarPackageDtoList';
@@ -505,6 +521,7 @@ export type { ResponseListJiraIssueTransitionNg } from './schemas/ResponseListJi
505
521
  export type { ResponseListJiraProjectBasicNg } from './schemas/ResponseListJiraProjectBasicNg';
506
522
  export type { ResponseListJiraStatusNg } from './schemas/ResponseListJiraStatusNg';
507
523
  export type { ResponseListJiraUserData } from './schemas/ResponseListJiraUserData';
524
+ export type { ResponseListNameValuePair } from './schemas/ResponseListNameValuePair';
508
525
  export type { ResponseListNexusRepositories } from './schemas/ResponseListNexusRepositories';
509
526
  export type { ResponseListRegionGar } from './schemas/ResponseListRegionGar';
510
527
  export type { ResponseListScopeName } from './schemas/ResponseListScopeName';
@@ -549,6 +566,7 @@ export type { ScopeName } from './schemas/ScopeName';
549
566
  export type { ScopeSelector } from './schemas/ScopeSelector';
550
567
  export type { ScopedResourceMetadata } from './schemas/ScopedResourceMetadata';
551
568
  export type { ScopedResourcePermission } from './schemas/ScopedResourcePermission';
569
+ export type { ServiceCloneRequestDto } from './schemas/ServiceCloneRequestDto';
552
570
  export type { ServiceDashboardResponseDto } from './schemas/ServiceDashboardResponseDto';
553
571
  export type { ServiceNowFieldAllowedValueNg } from './schemas/ServiceNowFieldAllowedValueNg';
554
572
  export type { ServiceNowFieldNg } from './schemas/ServiceNowFieldNg';
@@ -563,6 +581,8 @@ export type { ServicesV2YamlMetadataDto } from './schemas/ServicesV2YamlMetadata
563
581
  export type { ServicesYamlMetadataApiInputV2 } from './schemas/ServicesYamlMetadataApiInputV2';
564
582
  export type { SetupUsageDetail } from './schemas/SetupUsageDetail';
565
583
  export type { ShouldDisableDeploymentFreezeResponseDto } from './schemas/ShouldDisableDeploymentFreezeResponseDto';
584
+ export type { SourceEnvironmentConfig } from './schemas/SourceEnvironmentConfig';
585
+ export type { SourceServiceConfig } from './schemas/SourceServiceConfig';
566
586
  export type { StackTraceElement } from './schemas/StackTraceElement';
567
587
  export type { TaskSelectorYaml } from './schemas/TaskSelectorYaml';
568
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';
@@ -52,6 +54,7 @@ export { getGcsBuckets, useGetGcsBucketsMutation } from './hooks/useGetGcsBucket
52
54
  export { getGroupIds, useGetGroupIdsMutation } from './hooks/useGetGroupIdsMutation';
53
55
  export { getHelmChartVersionDetails, useGetHelmChartVersionDetailsQuery, } from './hooks/useGetHelmChartVersionDetailsQuery';
54
56
  export { getHelmChartVersionDetailsV1, useGetHelmChartVersionDetailsV1Query, } from './hooks/useGetHelmChartVersionDetailsV1Query';
57
+ export { getHelmChartVersionDetailsWithYaml, useGetHelmChartVersionDetailsWithYamlMutation, } from './hooks/useGetHelmChartVersionDetailsWithYamlMutation';
55
58
  export { getImagePathsForArtifactory, useGetImagePathsForArtifactoryQuery, } from './hooks/useGetImagePathsForArtifactoryQuery';
56
59
  export { getImagePathsForArtifactoryV2, useGetImagePathsForArtifactoryV2Mutation, } from './hooks/useGetImagePathsForArtifactoryV2Mutation';
57
60
  export { getImagesListForEcr, useGetImagesListForEcrMutation, } from './hooks/useGetImagesListForEcrMutation';
@@ -122,6 +125,7 @@ export { listAggregatedApiKeys, useListAggregatedApiKeysQuery, } from './hooks/u
122
125
  export { listAggregatedTokens, useListAggregatedTokensQuery, } from './hooks/useListAggregatedTokensQuery';
123
126
  export { listAllEntityUsageByFqn, useListAllEntityUsageByFqnQuery, } from './hooks/useListAllEntityUsageByFqnQuery';
124
127
  export { listApiKeys, useListApiKeysQuery } from './hooks/useListApiKeysQuery';
128
+ export { listAwsRegions, useListAwsRegionsQuery } from './hooks/useListAwsRegionsQuery';
125
129
  export { listBucketsWithServiceV2, useListBucketsWithServiceV2Mutation, } from './hooks/useListBucketsWithServiceV2Mutation';
126
130
  export { listFeedsForAzureArtifacts, useListFeedsForAzureArtifactsQuery, } from './hooks/useListFeedsForAzureArtifactsQuery';
127
131
  export { listFeedsForAzureArtifactsWithServiceV2, useListFeedsForAzureArtifactsWithServiceV2Mutation, } from './hooks/useListFeedsForAzureArtifactsWithServiceV2Mutation';
@@ -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,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,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,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,7 @@
1
+ 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,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,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,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
+ }
@@ -1,6 +1,11 @@
1
1
  import type { JiraStatusNg } from '../schemas/JiraStatusNg';
2
2
  export interface JiraIssueTransitionNg {
3
3
  available?: boolean;
4
+ fields?: {
5
+ [key: string]: {
6
+ [key: string]: any;
7
+ };
8
+ };
4
9
  id: string;
5
10
  name: string;
6
11
  to: JiraStatusNg;
@@ -0,0 +1,5 @@
1
+ export interface NameValuePair {
2
+ name?: string;
3
+ value: string;
4
+ valueType?: string;
5
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,9 @@
1
+ import type { 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
+ }
@@ -0,0 +1,9 @@
1
+ import type { NameValuePair } from '../schemas/NameValuePair';
2
+ export interface ResponseListNameValuePair {
3
+ correlationId?: string;
4
+ data?: NameValuePair[];
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -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,6 @@
1
+ export interface SourceEnvironmentConfig {
2
+ branch?: string;
3
+ envIdentifier?: string;
4
+ orgIdentifier?: string;
5
+ projectIdentifier?: string;
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,6 @@
1
+ export interface SourceServiceConfig {
2
+ branch?: string;
3
+ orgIdentifier?: string;
4
+ projectIdentifier?: string;
5
+ serviceIdentifier?: string;
6
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ng-manager-swagger-service-client",
3
- "version": "1.25.0",
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",