@harnessio/react-ng-manager-swagger-service-client 1.32.0 → 1.33.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 (33) hide show
  1. package/dist/ng-manager-swagger-service/src/services/hooks/useCreateInfrastructureMutation.d.ts +33 -0
  2. package/dist/ng-manager-swagger-service/src/services/hooks/useCreateInfrastructureMutation.js +14 -0
  3. package/dist/ng-manager-swagger-service/src/services/hooks/useGetEnvironmentAccessListQuery.d.ts +36 -0
  4. package/dist/ng-manager-swagger-service/src/services/hooks/useGetEnvironmentAccessListQuery.js +14 -0
  5. package/dist/ng-manager-swagger-service/src/services/hooks/useGetInfrastructureListQuery.d.ts +40 -0
  6. package/dist/ng-manager-swagger-service/src/services/hooks/useGetInfrastructureListQuery.js +14 -0
  7. package/dist/ng-manager-swagger-service/src/services/hooks/useGetServiceAccessListQuery.d.ts +40 -0
  8. package/dist/ng-manager-swagger-service/src/services/hooks/useGetServiceAccessListQuery.js +14 -0
  9. package/dist/ng-manager-swagger-service/src/services/hooks/useGetServiceListQuery.d.ts +1 -1
  10. package/dist/ng-manager-swagger-service/src/services/hooks/useListAllEntityUsageByFqnQuery.d.ts +1 -1
  11. package/dist/ng-manager-swagger-service/src/services/hooks/useUpdateInfrastructureMutation.d.ts +35 -0
  12. package/dist/ng-manager-swagger-service/src/services/hooks/useUpdateInfrastructureMutation.js +14 -0
  13. package/dist/ng-manager-swagger-service/src/services/index.d.ts +17 -0
  14. package/dist/ng-manager-swagger-service/src/services/index.js +5 -0
  15. package/dist/ng-manager-swagger-service/src/services/requestBodies/InfrastructureRequestDtoRequestBody.d.ts +2 -0
  16. package/dist/ng-manager-swagger-service/src/services/requestBodies/InfrastructureRequestDtoRequestBody.js +1 -0
  17. package/dist/ng-manager-swagger-service/src/services/schemas/EntityDetail.d.ts +1 -1
  18. package/dist/ng-manager-swagger-service/src/services/schemas/InfrastructureRequestDto.d.ts +13 -0
  19. package/dist/ng-manager-swagger-service/src/services/schemas/InfrastructureRequestDto.js +4 -0
  20. package/dist/ng-manager-swagger-service/src/services/schemas/InfrastructureResponseDto.d.ts +2 -2
  21. package/dist/ng-manager-swagger-service/src/services/schemas/PageInfrastructureResponse.d.ts +26 -0
  22. package/dist/ng-manager-swagger-service/src/services/schemas/PageInfrastructureResponse.js +1 -0
  23. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseInfrastructureResponse.d.ts +9 -0
  24. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseInfrastructureResponse.js +1 -0
  25. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListEnvironmentResponse.d.ts +9 -0
  26. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListEnvironmentResponse.js +1 -0
  27. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListServiceDefinitionType.d.ts +1 -1
  28. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListServiceResponse.d.ts +9 -0
  29. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseListServiceResponse.js +1 -0
  30. package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageInfrastructureResponse.d.ts +9 -0
  31. package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageInfrastructureResponse.js +1 -0
  32. package/dist/ng-manager-swagger-service/src/services/schemas/ServiceResponseDto.d.ts +1 -1
  33. package/package.json +1 -1
@@ -0,0 +1,33 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseInfrastructureResponse } from '../schemas/ResponseInfrastructureResponse';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { InfrastructureRequestDtoRequestBody } from '../requestBodies/InfrastructureRequestDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface CreateInfrastructureMutationQueryParams {
9
+ accountIdentifier: string;
10
+ branch?: string;
11
+ repoIdentifier?: string;
12
+ rootFolder?: string;
13
+ filePath?: string;
14
+ commitMsg?: string;
15
+ isNewBranch?: boolean;
16
+ baseBranch?: string;
17
+ connectorRef?: string;
18
+ storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
19
+ repoName?: string;
20
+ isHarnessCodeRepo?: boolean;
21
+ }
22
+ export type CreateInfrastructureRequestBody = InfrastructureRequestDtoRequestBody;
23
+ export type CreateInfrastructureOkResponse = ResponseWithPagination<ResponseInfrastructureResponse>;
24
+ export type CreateInfrastructureErrorResponse = Failure | Error;
25
+ export interface CreateInfrastructureProps extends Omit<FetcherOptions<CreateInfrastructureMutationQueryParams, CreateInfrastructureRequestBody>, 'url'> {
26
+ queryParams: CreateInfrastructureMutationQueryParams;
27
+ body: CreateInfrastructureRequestBody;
28
+ }
29
+ export declare function createInfrastructure(props: CreateInfrastructureProps): Promise<CreateInfrastructureOkResponse>;
30
+ /**
31
+ *
32
+ */
33
+ export declare function useCreateInfrastructureMutation(options?: Omit<UseMutationOptions<CreateInfrastructureOkResponse, CreateInfrastructureErrorResponse, CreateInfrastructureProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<CreateInfrastructureOkResponse, CreateInfrastructureErrorResponse, CreateInfrastructureProps, 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 createInfrastructure(props) {
7
+ return fetcher(Object.assign({ url: `/infrastructures`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useCreateInfrastructureMutation(options) {
13
+ return useMutation((mutateProps) => createInfrastructure(mutateProps), options);
14
+ }
@@ -0,0 +1,36 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseListEnvironmentResponse } from '../schemas/ResponseListEnvironmentResponse';
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 GetEnvironmentAccessListQueryQueryParams {
8
+ /**
9
+ * @format int32
10
+ * @default 0
11
+ */
12
+ page?: number;
13
+ /**
14
+ * @format int32
15
+ * @default 100
16
+ */
17
+ size?: number;
18
+ accountIdentifier: string;
19
+ orgIdentifier?: string;
20
+ projectIdentifier?: string;
21
+ searchTerm?: string;
22
+ envIdentifiers?: string[];
23
+ envGroupIdentifier?: string;
24
+ type?: 'PreProduction' | 'Production';
25
+ sort?: string[];
26
+ }
27
+ export type GetEnvironmentAccessListOkResponse = ResponseWithPagination<ResponseListEnvironmentResponse>;
28
+ export type GetEnvironmentAccessListErrorResponse = Failure | Error;
29
+ export interface GetEnvironmentAccessListProps extends Omit<FetcherOptions<GetEnvironmentAccessListQueryQueryParams, unknown>, 'url'> {
30
+ queryParams: GetEnvironmentAccessListQueryQueryParams;
31
+ }
32
+ export declare function getEnvironmentAccessList(props: GetEnvironmentAccessListProps): Promise<GetEnvironmentAccessListOkResponse>;
33
+ /**
34
+ *
35
+ */
36
+ export declare function useGetEnvironmentAccessListQuery(props: GetEnvironmentAccessListProps, options?: Omit<UseQueryOptions<GetEnvironmentAccessListOkResponse, GetEnvironmentAccessListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetEnvironmentAccessListOkResponse, GetEnvironmentAccessListErrorResponse>;
@@ -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 getEnvironmentAccessList(props) {
7
+ return fetcher(Object.assign({ url: `/environmentsV2/list/access`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetEnvironmentAccessListQuery(props, options) {
13
+ return useQuery(['getEnvironmentAccessList', props.queryParams], ({ signal }) => getEnvironmentAccessList(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,40 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponsePageInfrastructureResponse } from '../schemas/ResponsePageInfrastructureResponse';
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 GetInfrastructureListQueryQueryParams {
8
+ /**
9
+ * @format int32
10
+ * @default 0
11
+ */
12
+ page?: number;
13
+ /**
14
+ * @format int32
15
+ * @default 100
16
+ */
17
+ size?: number;
18
+ accountIdentifier: string;
19
+ orgIdentifier?: string;
20
+ projectIdentifier?: string;
21
+ environmentIdentifier?: string;
22
+ searchTerm?: string;
23
+ infraIdentifiers?: string[];
24
+ deploymentType?: 'AWS_SAM' | 'AiAgent' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
25
+ deploymentTemplateIdentifier?: string;
26
+ versionLabel?: string;
27
+ sort?: string[];
28
+ serviceRefs?: string[];
29
+ repoName?: string;
30
+ }
31
+ export type GetInfrastructureListOkResponse = ResponseWithPagination<ResponsePageInfrastructureResponse>;
32
+ export type GetInfrastructureListErrorResponse = Failure | Error;
33
+ export interface GetInfrastructureListProps extends Omit<FetcherOptions<GetInfrastructureListQueryQueryParams, unknown>, 'url'> {
34
+ queryParams: GetInfrastructureListQueryQueryParams;
35
+ }
36
+ export declare function getInfrastructureList(props: GetInfrastructureListProps): Promise<GetInfrastructureListOkResponse>;
37
+ /**
38
+ *
39
+ */
40
+ export declare function useGetInfrastructureListQuery(props: GetInfrastructureListProps, options?: Omit<UseQueryOptions<GetInfrastructureListOkResponse, GetInfrastructureListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetInfrastructureListOkResponse, GetInfrastructureListErrorResponse>;
@@ -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 getInfrastructureList(props) {
7
+ return fetcher(Object.assign({ url: `/infrastructures`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetInfrastructureListQuery(props, options) {
13
+ return useQuery(['getInfrastructureList', props.queryParams], ({ signal }) => getInfrastructureList(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,40 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponseListServiceResponse } from '../schemas/ResponseListServiceResponse';
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 GetServiceAccessListQueryQueryParams {
8
+ /**
9
+ * @format int32
10
+ * @default 0
11
+ */
12
+ page?: number;
13
+ /**
14
+ * @format int32
15
+ * @default 100
16
+ */
17
+ size?: number;
18
+ accountIdentifier: string;
19
+ orgIdentifier?: string;
20
+ projectIdentifier?: string;
21
+ searchTerm?: string;
22
+ serviceIdentifiers?: string[];
23
+ sort?: string[];
24
+ type?: 'AWS_SAM' | 'AiAgent' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
25
+ gitOpsEnabled?: boolean;
26
+ deploymentTemplateIdentifier?: string;
27
+ versionLabel?: string;
28
+ deploymentMetadataYaml?: string;
29
+ includeAllServicesAccessibleAtScope?: boolean;
30
+ }
31
+ export type GetServiceAccessListOkResponse = ResponseWithPagination<ResponseListServiceResponse>;
32
+ export type GetServiceAccessListErrorResponse = Failure | Error;
33
+ export interface GetServiceAccessListProps extends Omit<FetcherOptions<GetServiceAccessListQueryQueryParams, unknown>, 'url'> {
34
+ queryParams: GetServiceAccessListQueryQueryParams;
35
+ }
36
+ export declare function getServiceAccessList(props: GetServiceAccessListProps): Promise<GetServiceAccessListOkResponse>;
37
+ /**
38
+ *
39
+ */
40
+ export declare function useGetServiceAccessListQuery(props: GetServiceAccessListProps, options?: Omit<UseQueryOptions<GetServiceAccessListOkResponse, GetServiceAccessListErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetServiceAccessListOkResponse, GetServiceAccessListErrorResponse>;
@@ -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 getServiceAccessList(props) {
7
+ return fetcher(Object.assign({ url: `/servicesV2/list/access`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetServiceAccessListQuery(props, options) {
13
+ return useQuery(['getServiceAccessList', props.queryParams], ({ signal }) => getServiceAccessList(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -21,7 +21,7 @@ export interface GetServiceListQueryQueryParams {
21
21
  searchTerm?: string;
22
22
  serviceIdentifiers?: string[];
23
23
  sort?: string[];
24
- type?: 'AWS_SAM' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
24
+ type?: 'AWS_SAM' | 'AiAgent' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
25
25
  gitOpsEnabled?: boolean;
26
26
  deploymentTemplateIdentifier?: string;
27
27
  versionLabel?: string;
@@ -15,7 +15,7 @@ export interface ListAllEntityUsageByFqnQueryQueryParams {
15
15
  pageSize?: number;
16
16
  accountIdentifier?: string;
17
17
  referredEntityFQN?: string;
18
- referredEntityType?: 'AIEvaluation' | 'AIExperiment' | 'AWSECR' | 'AWSSecurityHub' | 'AZURE_SLOT_DEPLOYMENT_STEP' | 'Action' | 'AiTestAutomation' | 'AiVerify' | 'AlertSetting' | 'AnalyzeDeploymentImpact' | 'Anchore' | 'AppResize' | 'AppRollback' | 'ApprovalStage' | 'AquaSecurity' | 'AquaTrivy' | 'ArtifactSource' | 'ArtifactoryUpload' | 'AsgBlueGreenDeploy' | 'AsgBlueGreenRollback' | 'AsgBlueGreenSwapService' | 'AsgCanaryDelete' | 'AsgCanaryDeploy' | 'AsgPhasedDeploy' | 'AsgRollback' | 'AsgRollingDeploy' | 'AsgRollingRollback' | 'AsgScale' | 'AsgSetup' | 'AsgShiftTraffic' | 'AsgSteadyState' | 'AuditStreamingDestination' | 'AwsCdkBootstrap' | 'AwsCdkDeploy' | 'AwsCdkDestroy' | 'AwsCdkDiff' | 'AwsCdkRollback' | 'AwsCdkSynth' | 'AwsLambdaDeploy' | 'AwsLambdaRollback' | 'AwsSamBuild' | 'AwsSamDeploy' | 'AwsSamRollback' | 'AzureARMRollback' | 'AzureCreateARMResource' | 'AzureCreateBPResource' | 'AzureFunctionDeploy' | 'AzureFunctionRollback' | 'AzureSwapSlot' | 'AzureTrafficShift' | 'AzureWebAppRollback' | 'BGAppSetup' | 'Background' | 'BackstageEnvironmentVariable' | 'BambooBuild' | 'Bandit' | 'Barrier' | 'BasicAppSetup' | 'Bitrise' | 'BlackDuck' | 'Brakeman' | 'BuildAndPushACR' | 'BuildAndPushDockerRegistry' | 'BuildAndPushECR' | 'BuildAndPushGAR' | 'BuildAndPushGCR' | 'Burp' | 'CanaryAppSetup' | 'CdSscaEnforcement' | 'CdSscaOrchestration' | 'Certificates' | 'Chaos' | 'ChaosHub' | 'ChaosInfrastructure' | 'ChaosInfrastructureV2' | 'Checkmarx' | 'CheckmarxOne' | 'Checkov' | 'Clair' | 'CloudFunctionRollback' | 'CloudFunctionTrafficShift' | 'CodeQL' | 'Command' | 'Connectors' | 'Container' | 'CookieCutter' | 'CortexCloud' | 'Coverity' | 'CreateCatalog' | 'CreateOrganisation' | 'CreatePR' | 'CreateProject' | 'CreateRepo' | 'CreateResource' | 'CreateStack' | 'CustomApproval' | 'CustomDeployment' | 'CustomIngest' | 'CustomStage' | 'CvConfig' | 'CvKubernetesActivitySource' | 'CvVerificationJob' | 'DBSchemaApply' | 'DBSchemaRollback' | 'DataSink' | 'DataTheorem' | 'DelegateConfigurations' | 'Delegates' | 'DeleteStack' | 'DeployCloudFunction' | 'DeployCloudFunctionGenOne' | 'DeployCloudFunctionWithNoTraffic' | 'Deployable' | 'DeploymentStage' | 'DeploymentSteps' | 'DirectPush' | 'DockerContentTrust' | 'DownloadAwsS3' | 'DownloadHarnessStore' | 'DownloadManifests' | 'EcsBasicRollback' | 'EcsBlueGreenCreateService' | 'EcsBlueGreenRollback' | 'EcsBlueGreenSwapTargetGroups' | 'EcsBlueGreenTrafficShift' | 'EcsCanaryDelete' | 'EcsCanaryDeploy' | 'EcsRollingDeploy' | 'EcsRollingRollback' | 'EcsRunTask' | 'EcsScale' | 'EcsServiceSetup' | 'EcsUpgradeContainer' | 'ElastigroupBGStageSetup' | 'ElastigroupBlueGreenTrafficShift' | 'ElastigroupDeploy' | 'ElastigroupRollback' | 'ElastigroupSetup' | 'ElastigroupSwapRoute' | 'Email' | 'Environment' | 'EnvironmentGroup' | 'External' | 'FeatureFlagStage' | 'FeatureFlags' | 'FetchInstanceScript' | 'Files' | 'FlagConfiguration' | 'FortifyOnDemand' | 'Fossa' | 'Freeze' | 'GCSUpload' | 'GITOPS_MERGE_PR' | 'GITOPS_SYNC' | 'GitClone' | 'GitHubAdvancedSecurity' | 'GitOpsApplication' | 'GitOpsFetchLinkedApps' | 'GitOpsRollout' | 'GitOpsUpdateReleaseRepo' | 'GitRepositories' | 'Gitleaks' | 'GoogleCloudRunDeploy' | 'GoogleCloudRunJob' | 'GoogleCloudRunPrepareRollbackData' | 'GoogleCloudRunRollback' | 'GoogleCloudRunTrafficShift' | 'GovernancePolicies' | 'GovernanceRuleAWS' | 'Grype' | 'HarUpload' | 'HarnessApproval' | 'HelmDelete' | 'HelmDeploy' | 'HelmRollback' | 'Http' | 'IACM' | 'IACMAnsiblePlugin' | 'IACMApproval' | 'IACMAwsCdkPlugin' | 'IACMBlastRadiusAgent' | 'IACMCheckov' | 'IACMModuleTestPlugin' | 'IACMOpenTofuPlugin' | 'IACMPrepareExecution' | 'IACMRemediationAgent' | 'IACMStage' | 'IACMStep' | 'IACMTFCompliance' | 'IACMTFLint' | 'IACMTFSec' | 'IACMTerraformPlugin' | 'IACMTerragruntPlugin' | 'IACMWorkspace' | 'IDPStage' | 'IdpCatalog' | 'IdpCdService' | 'IdpCheck' | 'IdpConnector' | 'IdpEnvironment' | 'IdpEnvironmentBlueprint' | 'IdpScorecard' | 'Infrastructure' | 'InputSets' | 'IntegrationStage' | 'IntegrationSteps' | 'JenkinsBuild' | 'JfrogXray' | 'JiraApproval' | 'JiraCreate' | 'JiraUpdate' | 'K8S_PATCH_STEP' | 'K8S_ROLLOUT_STEP' | 'K8sApply' | 'K8sBGSwapServices' | 'K8sBlueGreenDeploy' | 'K8sBlueGreenStageScaleDown' | 'K8sBlueGreenStageScaleUp' | 'K8sCanaryDelete' | 'K8sCanaryDeploy' | 'K8sDelete' | 'K8sDryRun' | 'K8sRollingDeploy' | 'K8sRollingRollback' | 'K8sScale' | 'K8sTrafficRouting' | 'Mend' | 'Metasploit' | 'ModelScan' | 'MonitoredService' | 'Nessus' | 'NexusIQ' | 'Nikto' | 'Nmap' | 'NotificationChannel' | 'NotificationRule' | 'Openvas' | 'OsvScaner' | 'Overrides' | 'Owasp' | 'POLICY_STEP' | 'PipelineStage' | 'PipelineSteps' | 'Pipelines' | 'Plugin' | 'PrismaCloud' | 'Projects' | 'Prowler' | 'Qualys' | 'Queue' | 'Reapsaw' | 'RegisterCatalog' | 'RestoreCache' | 'RestoreCacheAzure' | 'RestoreCacheGCS' | 'RestoreCacheS3' | 'RevertPR' | 'RollbackCloudFunctionGenOne' | 'RollbackStack' | 'RouteMapping' | 'Run' | 'RunTests' | 'S3Upload' | 'SALESFORCE_VALIDATE' | 'SASTSecret' | 'SCA' | 'SalesforceApexTest' | 'SalesforceChangeset' | 'SalesforceComparisonPair' | 'SalesforceCreateScratchOrg' | 'SalesforceDeleteScratchOrg' | 'SalesforceDeploy' | 'SalesforceDownloadDeployables' | 'SalesforceDownloadOrg' | 'SalesforceEvaluateDiff' | 'SalesforceExecution' | 'SalesforceQuickDeploy' | 'SalesforceRollback' | 'SalesforceSourceBackup' | 'SaveCache' | 'SaveCacheAzure' | 'SaveCacheGCS' | 'SaveCacheS3' | 'Secrets' | 'Security' | 'SecurityStage' | 'SecuritySteps' | 'Semgrep' | 'ServerlessAwsLambdaDeploy' | 'ServerlessAwsLambdaDeployV2' | 'ServerlessAwsLambdaPackageV2' | 'ServerlessAwsLambdaPrepareRollbackV2' | 'ServerlessAwsLambdaRollback' | 'ServerlessAwsLambdaRollbackV2' | 'Service' | 'ServiceDiscoveryAgent' | 'ServiceNowApproval' | 'ServiceNowCreate' | 'ServiceNowImportSet' | 'ServiceNowUpdate' | 'ShellScript' | 'ShellScriptProvision' | 'ShiftLeft' | 'SlackNotify' | 'SlsaVerification' | 'Sniper' | 'Snyk' | 'Sonarqube' | 'SscaArtifactVerification' | 'SscaEnforcement' | 'SscaOrchestration' | 'StandAloneTrafficShiftRollback' | 'StrategyNode' | 'SwapRollback' | 'SwapRoutes' | 'Sysdig' | 'TanzuCommand' | 'TasRollingDeploy' | 'TasRollingRollback' | 'Template' | 'TemplateStage' | 'Tenable' | 'TerraformApply' | 'TerraformCloudRollback' | 'TerraformCloudRun' | 'TerraformDestroy' | 'TerraformPlan' | 'TerraformRollback' | 'TerragruntApply' | 'TerragruntDestroy' | 'TerragruntPlan' | 'TerragruntRollback' | 'Test' | 'Traceable' | 'Triggers' | 'UpdateCatalogProperty' | 'UpdateGitOpsApp' | 'UserGroup' | 'Veracode' | 'Verify' | 'Wait' | 'Wiz' | 'Zap';
18
+ referredEntityType?: 'AIEvaluation' | 'AIExperiment' | 'AWSECR' | 'AWSSecurityHub' | 'AZURE_SLOT_DEPLOYMENT_STEP' | 'Action' | 'AiTestAutomation' | 'AiVerify' | 'AlertSetting' | 'AnalyzeDeploymentImpact' | 'Anchore' | 'AppResize' | 'AppRollback' | 'ApprovalStage' | 'AquaSecurity' | 'AquaTrivy' | 'ArtifactSource' | 'ArtifactoryUpload' | 'AsgBlueGreenDeploy' | 'AsgBlueGreenRollback' | 'AsgBlueGreenSwapService' | 'AsgCanaryDelete' | 'AsgCanaryDeploy' | 'AsgPhasedDeploy' | 'AsgRollback' | 'AsgRollingDeploy' | 'AsgRollingRollback' | 'AsgScale' | 'AsgSetup' | 'AsgShiftTraffic' | 'AsgSteadyState' | 'AuditStreamingDestination' | 'AwsCdkBootstrap' | 'AwsCdkDeploy' | 'AwsCdkDestroy' | 'AwsCdkDiff' | 'AwsCdkRollback' | 'AwsCdkSynth' | 'AwsLambdaDeploy' | 'AwsLambdaRollback' | 'AwsSamBuild' | 'AwsSamDeploy' | 'AwsSamRollback' | 'AzureARMRollback' | 'AzureCreateARMResource' | 'AzureCreateBPResource' | 'AzureFunctionDeploy' | 'AzureFunctionRollback' | 'AzureSwapSlot' | 'AzureTrafficShift' | 'AzureWebAppRollback' | 'BGAppSetup' | 'Background' | 'BackstageEnvironmentVariable' | 'BambooBuild' | 'Bandit' | 'Barrier' | 'BasicAppSetup' | 'Bitrise' | 'BlackDuck' | 'Brakeman' | 'BuildAndPushACR' | 'BuildAndPushDockerRegistry' | 'BuildAndPushECR' | 'BuildAndPushGAR' | 'BuildAndPushGCR' | 'Burp' | 'CanaryAppSetup' | 'CdSscaEnforcement' | 'CdSscaOrchestration' | 'Certificates' | 'Chaos' | 'ChaosHub' | 'ChaosInfrastructure' | 'ChaosInfrastructureV2' | 'Checkmarx' | 'CheckmarxOne' | 'Checkov' | 'Clair' | 'CloudFunctionRollback' | 'CloudFunctionTrafficShift' | 'CodeQL' | 'Command' | 'Connectors' | 'Container' | 'CookieCutter' | 'CortexCloud' | 'Coverity' | 'CreateCatalog' | 'CreateOrganisation' | 'CreatePR' | 'CreateProject' | 'CreateRepo' | 'CreateResource' | 'CreateStack' | 'CustomApproval' | 'CustomDeployment' | 'CustomIngest' | 'CustomStage' | 'CvConfig' | 'CvKubernetesActivitySource' | 'CvVerificationJob' | 'DBSchemaApply' | 'DBSchemaRollback' | 'DataSink' | 'DataTheorem' | 'DelegateConfigurations' | 'Delegates' | 'DeleteStack' | 'DeployCloudFunction' | 'DeployCloudFunctionGenOne' | 'DeployCloudFunctionWithNoTraffic' | 'DeployGoogleAgentRuntimeRevision' | 'Deployable' | 'DeploymentStage' | 'DeploymentSteps' | 'DirectPush' | 'DockerContentTrust' | 'DownloadAwsS3' | 'DownloadHarnessStore' | 'DownloadManifests' | 'EcsBasicRollback' | 'EcsBlueGreenCreateService' | 'EcsBlueGreenRollback' | 'EcsBlueGreenSwapTargetGroups' | 'EcsBlueGreenTrafficShift' | 'EcsCanaryDelete' | 'EcsCanaryDeploy' | 'EcsRollingDeploy' | 'EcsRollingRollback' | 'EcsRunTask' | 'EcsScale' | 'EcsServiceSetup' | 'EcsUpgradeContainer' | 'ElastigroupBGStageSetup' | 'ElastigroupBlueGreenTrafficShift' | 'ElastigroupDeploy' | 'ElastigroupRollback' | 'ElastigroupSetup' | 'ElastigroupSwapRoute' | 'Email' | 'Environment' | 'EnvironmentGroup' | 'External' | 'FeatureFlagStage' | 'FeatureFlags' | 'FetchInstanceScript' | 'Files' | 'FlagConfiguration' | 'FortifyOnDemand' | 'Fossa' | 'Freeze' | 'GCSUpload' | 'GITOPS_MERGE_PR' | 'GITOPS_SYNC' | 'GitClone' | 'GitHubAdvancedSecurity' | 'GitOpsApplication' | 'GitOpsFetchLinkedApps' | 'GitOpsRollout' | 'GitOpsUpdateReleaseRepo' | 'GitRepositories' | 'Gitleaks' | 'GoogleCloudRunDeploy' | 'GoogleCloudRunJob' | 'GoogleCloudRunPrepareRollbackData' | 'GoogleCloudRunRollback' | 'GoogleCloudRunTrafficShift' | 'GovernancePolicies' | 'GovernanceRuleAWS' | 'Grype' | 'HarUpload' | 'HarnessApproval' | 'HelmDelete' | 'HelmDeploy' | 'HelmRollback' | 'Http' | 'IACM' | 'IACMAnsiblePlugin' | 'IACMApproval' | 'IACMAwsCdkPlugin' | 'IACMBlastRadiusAgent' | 'IACMCheckov' | 'IACMModuleTestPlugin' | 'IACMOpenTofuPlugin' | 'IACMPrepareExecution' | 'IACMRemediationAgent' | 'IACMStage' | 'IACMStep' | 'IACMTFCompliance' | 'IACMTFLint' | 'IACMTFSec' | 'IACMTerraformPlugin' | 'IACMTerragruntPlugin' | 'IACMWorkspace' | 'IDPStage' | 'IdpCatalog' | 'IdpCdService' | 'IdpCheck' | 'IdpConnector' | 'IdpEnvironment' | 'IdpEnvironmentBlueprint' | 'IdpScorecard' | 'Infrastructure' | 'InputSets' | 'IntegrationStage' | 'IntegrationSteps' | 'JenkinsBuild' | 'JfrogXray' | 'JiraApproval' | 'JiraCreate' | 'JiraUpdate' | 'K8S_PATCH_STEP' | 'K8S_ROLLOUT_STEP' | 'K8sApply' | 'K8sBGSwapServices' | 'K8sBlueGreenDeploy' | 'K8sBlueGreenStageScaleDown' | 'K8sBlueGreenStageScaleUp' | 'K8sCanaryDelete' | 'K8sCanaryDeploy' | 'K8sDelete' | 'K8sDryRun' | 'K8sRollingDeploy' | 'K8sRollingRollback' | 'K8sScale' | 'K8sTrafficRouting' | 'Mend' | 'Metasploit' | 'ModelScan' | 'MonitoredService' | 'Nessus' | 'NexusIQ' | 'Nikto' | 'Nmap' | 'NotificationChannel' | 'NotificationRule' | 'Openvas' | 'OsvScaner' | 'Overrides' | 'Owasp' | 'POLICY_STEP' | 'PipelineStage' | 'PipelineSteps' | 'Pipelines' | 'Plugin' | 'PrismaCloud' | 'Projects' | 'Prowler' | 'Qualys' | 'Queue' | 'Reapsaw' | 'RegisterCatalog' | 'RestoreCache' | 'RestoreCacheAzure' | 'RestoreCacheGCS' | 'RestoreCacheS3' | 'RevertPR' | 'RollbackCloudFunctionGenOne' | 'RollbackGoogleAgentRuntimeRevision' | 'RollbackStack' | 'RouteMapping' | 'Run' | 'RunTests' | 'S3Upload' | 'SALESFORCE_VALIDATE' | 'SASTSecret' | 'SCA' | 'SalesforceApexTest' | 'SalesforceChangeset' | 'SalesforceComparisonPair' | 'SalesforceCreateScratchOrg' | 'SalesforceDeleteScratchOrg' | 'SalesforceDeploy' | 'SalesforceDownloadDeployables' | 'SalesforceDownloadOrg' | 'SalesforceEvaluateDiff' | 'SalesforceExecution' | 'SalesforceQuickDeploy' | 'SalesforceRollback' | 'SalesforceSourceBackup' | 'SaveCache' | 'SaveCacheAzure' | 'SaveCacheGCS' | 'SaveCacheS3' | 'Secrets' | 'Security' | 'SecurityStage' | 'SecuritySteps' | 'Semgrep' | 'ServerlessAwsLambdaDeploy' | 'ServerlessAwsLambdaDeployV2' | 'ServerlessAwsLambdaPackageV2' | 'ServerlessAwsLambdaPrepareRollbackV2' | 'ServerlessAwsLambdaRollback' | 'ServerlessAwsLambdaRollbackV2' | 'Service' | 'ServiceDiscoveryAgent' | 'ServiceNowApproval' | 'ServiceNowCreate' | 'ServiceNowImportSet' | 'ServiceNowUpdate' | 'ShellScript' | 'ShellScriptProvision' | 'ShiftGoogleAgentRuntimeTraffic' | 'ShiftLeft' | 'SlackNotify' | 'SlsaVerification' | 'Sniper' | 'Snyk' | 'Sonarqube' | 'SscaArtifactVerification' | 'SscaEnforcement' | 'SscaOrchestration' | 'StandAloneTrafficShiftRollback' | 'StrategyNode' | 'SwapRollback' | 'SwapRoutes' | 'Sysdig' | 'TanzuCommand' | 'TasRollingDeploy' | 'TasRollingRollback' | 'Template' | 'TemplateStage' | 'Tenable' | 'TerraformApply' | 'TerraformCloudRollback' | 'TerraformCloudRun' | 'TerraformDestroy' | 'TerraformPlan' | 'TerraformRollback' | 'TerragruntApply' | 'TerragruntDestroy' | 'TerragruntPlan' | 'TerragruntRollback' | 'Test' | 'Traceable' | 'Triggers' | 'UpdateCatalogProperty' | 'UpdateGitOpsApp' | 'UserGroup' | 'Veracode' | 'Verify' | 'Wait' | 'Wiz' | 'Zap';
19
19
  searchTerm?: string;
20
20
  }
21
21
  export type ListAllEntityUsageByFqnOkResponse = ResponseWithPagination<ResponsePageEntitySetupUsageDto>;
@@ -0,0 +1,35 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseInfrastructureResponse } from '../schemas/ResponseInfrastructureResponse';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { InfrastructureRequestDtoRequestBody } from '../requestBodies/InfrastructureRequestDtoRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface UpdateInfrastructureMutationQueryParams {
9
+ accountIdentifier: string;
10
+ branch?: string;
11
+ repoIdentifier?: string;
12
+ rootFolder?: string;
13
+ filePath?: string;
14
+ commitMsg?: string;
15
+ lastObjectId?: string;
16
+ resolvedConflictCommitId?: string;
17
+ baseBranch?: string;
18
+ connectorRef?: string;
19
+ storeType?: 'INLINE' | 'INLINE_HC' | 'REMOTE';
20
+ lastCommitId?: string;
21
+ isNewBranch?: boolean;
22
+ isHarnessCodeRepo?: boolean;
23
+ }
24
+ export type UpdateInfrastructureRequestBody = InfrastructureRequestDtoRequestBody;
25
+ export type UpdateInfrastructureOkResponse = ResponseWithPagination<ResponseInfrastructureResponse>;
26
+ export type UpdateInfrastructureErrorResponse = Failure | Error;
27
+ export interface UpdateInfrastructureProps extends Omit<FetcherOptions<UpdateInfrastructureMutationQueryParams, UpdateInfrastructureRequestBody>, 'url'> {
28
+ queryParams: UpdateInfrastructureMutationQueryParams;
29
+ body: UpdateInfrastructureRequestBody;
30
+ }
31
+ export declare function updateInfrastructure(props: UpdateInfrastructureProps): Promise<UpdateInfrastructureOkResponse>;
32
+ /**
33
+ *
34
+ */
35
+ export declare function useUpdateInfrastructureMutation(options?: Omit<UseMutationOptions<UpdateInfrastructureOkResponse, UpdateInfrastructureErrorResponse, UpdateInfrastructureProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<UpdateInfrastructureOkResponse, UpdateInfrastructureErrorResponse, UpdateInfrastructureProps, 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 updateInfrastructure(props) {
7
+ return fetcher(Object.assign({ url: `/infrastructures`, method: 'PUT' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useUpdateInfrastructureMutation(options) {
13
+ return useMutation((mutateProps) => updateInfrastructure(mutateProps), options);
14
+ }
@@ -19,6 +19,8 @@ export type { ClustersErrorResponse, ClustersOkResponse, ClustersProps, Clusters
19
19
  export { clusters, useClustersQuery } from './hooks/useClustersQuery';
20
20
  export type { CreateApiKeyErrorResponse, CreateApiKeyMutationQueryParams, CreateApiKeyOkResponse, CreateApiKeyProps, CreateApiKeyRequestBody, } from './hooks/useCreateApiKeyMutation';
21
21
  export { createApiKey, useCreateApiKeyMutation } from './hooks/useCreateApiKeyMutation';
22
+ export type { CreateInfrastructureErrorResponse, CreateInfrastructureMutationQueryParams, CreateInfrastructureOkResponse, CreateInfrastructureProps, CreateInfrastructureRequestBody, } from './hooks/useCreateInfrastructureMutation';
23
+ export { createInfrastructure, useCreateInfrastructureMutation, } from './hooks/useCreateInfrastructureMutation';
22
24
  export type { CreateJiraIssueErrorResponse, CreateJiraIssueMutationQueryParams, CreateJiraIssueOkResponse, CreateJiraIssueProps, CreateJiraIssueRequestBody, } from './hooks/useCreateJiraIssueMutation';
23
25
  export { createJiraIssue, useCreateJiraIssueMutation } from './hooks/useCreateJiraIssueMutation';
24
26
  export type { CreateKeyErrorResponse, CreateKeyMutationQueryParams, CreateKeyOkResponse, CreateKeyProps, CreateKeyRequestBody, } from './hooks/useCreateKeyMutation';
@@ -115,6 +117,8 @@ export type { GetEksClusterNamesErrorResponse, GetEksClusterNamesOkResponse, Get
115
117
  export { getEksClusterNames, useGetEksClusterNamesQuery } from './hooks/useGetEksClusterNamesQuery';
116
118
  export type { GetEnabledFeatureRestrictionDetailByAccountIdErrorResponse, GetEnabledFeatureRestrictionDetailByAccountIdOkResponse, GetEnabledFeatureRestrictionDetailByAccountIdProps, GetEnabledFeatureRestrictionDetailByAccountIdQueryQueryParams, } from './hooks/useGetEnabledFeatureRestrictionDetailByAccountIdQuery';
117
119
  export { getEnabledFeatureRestrictionDetailByAccountId, useGetEnabledFeatureRestrictionDetailByAccountIdQuery, } from './hooks/useGetEnabledFeatureRestrictionDetailByAccountIdQuery';
120
+ export type { GetEnvironmentAccessListErrorResponse, GetEnvironmentAccessListOkResponse, GetEnvironmentAccessListProps, GetEnvironmentAccessListQueryQueryParams, } from './hooks/useGetEnvironmentAccessListQuery';
121
+ export { getEnvironmentAccessList, useGetEnvironmentAccessListQuery, } from './hooks/useGetEnvironmentAccessListQuery';
118
122
  export type { GetEnvironmentListV2ErrorResponse, GetEnvironmentListV2MutationQueryParams, GetEnvironmentListV2OkResponse, GetEnvironmentListV2Props, GetEnvironmentListV2RequestBody, } from './hooks/useGetEnvironmentListV2Mutation';
119
123
  export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
120
124
  export type { GetEnvironmentsInputYamlAndServiceOverridesV2ErrorResponse, GetEnvironmentsInputYamlAndServiceOverridesV2MutationQueryParams, GetEnvironmentsInputYamlAndServiceOverridesV2OkResponse, GetEnvironmentsInputYamlAndServiceOverridesV2Props, GetEnvironmentsInputYamlAndServiceOverridesV2RequestBody, } from './hooks/useGetEnvironmentsInputYamlAndServiceOverridesV2Mutation';
@@ -143,6 +147,8 @@ export type { GetImagePathsForArtifactoryV2ErrorResponse, GetImagePathsForArtifa
143
147
  export { getImagePathsForArtifactoryV2, useGetImagePathsForArtifactoryV2Mutation, } from './hooks/useGetImagePathsForArtifactoryV2Mutation';
144
148
  export type { GetImagesListForEcrErrorResponse, GetImagesListForEcrMutationQueryParams, GetImagesListForEcrOkResponse, GetImagesListForEcrProps, GetImagesListForEcrRequestBody, } from './hooks/useGetImagesListForEcrMutation';
145
149
  export { getImagesListForEcr, useGetImagesListForEcrMutation, } from './hooks/useGetImagesListForEcrMutation';
150
+ export type { GetInfrastructureListErrorResponse, GetInfrastructureListOkResponse, GetInfrastructureListProps, GetInfrastructureListQueryQueryParams, } from './hooks/useGetInfrastructureListQuery';
151
+ export { getInfrastructureList, useGetInfrastructureListQuery, } from './hooks/useGetInfrastructureListQuery';
146
152
  export type { GetInfrastructureYamlAndRuntimeInputsV2ErrorResponse, GetInfrastructureYamlAndRuntimeInputsV2MutationQueryParams, GetInfrastructureYamlAndRuntimeInputsV2OkResponse, GetInfrastructureYamlAndRuntimeInputsV2Props, GetInfrastructureYamlAndRuntimeInputsV2RequestBody, } from './hooks/useGetInfrastructureYamlAndRuntimeInputsV2Mutation';
147
153
  export { getInfrastructureYamlAndRuntimeInputsV2, useGetInfrastructureYamlAndRuntimeInputsV2Mutation, } from './hooks/useGetInfrastructureYamlAndRuntimeInputsV2Mutation';
148
154
  export type { GetInheritingChildScopeListForServiceAccountErrorResponse, GetInheritingChildScopeListForServiceAccountOkResponse, GetInheritingChildScopeListForServiceAccountProps, GetInheritingChildScopeListForServiceAccountQueryPathParams, GetInheritingChildScopeListForServiceAccountQueryQueryParams, } from './hooks/useGetInheritingChildScopeListForServiceAccountQuery';
@@ -235,6 +241,8 @@ export type { GetRepositoriesForGoogleArtifactRegistryV2ErrorResponse, GetReposi
235
241
  export { getRepositoriesForGoogleArtifactRegistryV2, useGetRepositoriesForGoogleArtifactRegistryV2Mutation, } from './hooks/useGetRepositoriesForGoogleArtifactRegistryV2Mutation';
236
242
  export type { GetRepositoriesErrorResponse, GetRepositoriesMutationQueryParams, GetRepositoriesOkResponse, GetRepositoriesProps, GetRepositoriesRequestBody, } from './hooks/useGetRepositoriesMutation';
237
243
  export { getRepositories, useGetRepositoriesMutation } from './hooks/useGetRepositoriesMutation';
244
+ export type { GetServiceAccessListErrorResponse, GetServiceAccessListOkResponse, GetServiceAccessListProps, GetServiceAccessListQueryQueryParams, } from './hooks/useGetServiceAccessListQuery';
245
+ export { getServiceAccessList, useGetServiceAccessListQuery, } from './hooks/useGetServiceAccessListQuery';
238
246
  export type { GetServiceDefinitionTypesErrorResponse, GetServiceDefinitionTypesOkResponse, GetServiceDefinitionTypesProps, GetServiceDefinitionTypesQueryQueryParams, } from './hooks/useGetServiceDefinitionTypesQuery';
239
247
  export { getServiceDefinitionTypes, useGetServiceDefinitionTypesQuery, } from './hooks/useGetServiceDefinitionTypesQuery';
240
248
  export type { GetServiceListErrorResponse, GetServiceListOkResponse, GetServiceListProps, GetServiceListQueryQueryParams, } from './hooks/useGetServiceListQuery';
@@ -345,6 +353,8 @@ export type { UnlinkSsoGroupErrorResponse, UnlinkSsoGroupMutationPathParams, Unl
345
353
  export { unlinkSsoGroup, useUnlinkSsoGroupMutation } from './hooks/useUnlinkSsoGroupMutation';
346
354
  export type { UpdateApiKeyErrorResponse, UpdateApiKeyMutationPathParams, UpdateApiKeyOkResponse, UpdateApiKeyProps, UpdateApiKeyRequestBody, } from './hooks/useUpdateApiKeyMutation';
347
355
  export { updateApiKey, useUpdateApiKeyMutation } from './hooks/useUpdateApiKeyMutation';
356
+ export type { UpdateInfrastructureErrorResponse, UpdateInfrastructureMutationQueryParams, UpdateInfrastructureOkResponse, UpdateInfrastructureProps, UpdateInfrastructureRequestBody, } from './hooks/useUpdateInfrastructureMutation';
357
+ export { updateInfrastructure, useUpdateInfrastructureMutation, } from './hooks/useUpdateInfrastructureMutation';
348
358
  export type { UpdateKeyErrorResponse, UpdateKeyMutationPathParams, UpdateKeyMutationQueryParams, UpdateKeyOkResponse, UpdateKeyProps, UpdateKeyRequestBody, } from './hooks/useUpdateKeyMutation';
349
359
  export { updateKey, useUpdateKeyMutation } from './hooks/useUpdateKeyMutation';
350
360
  export type { UpdateLdapSettingsErrorResponse, UpdateLdapSettingsMutationQueryParams, UpdateLdapSettingsOkResponse, UpdateLdapSettingsProps, UpdateLdapSettingsRequestBody, } from './hooks/useUpdateLdapSettingsMutation';
@@ -377,6 +387,7 @@ export type { EcrRequestDtoRequestBody } from './requestBodies/EcrRequestDtoRequ
377
387
  export type { EnvironmentFilterPropertiesRequestBody } from './requestBodies/EnvironmentFilterPropertiesRequestBody';
378
388
  export type { GarRequestDtoRequestBody } from './requestBodies/GarRequestDtoRequestBody';
379
389
  export type { GetFileContentUsingScopedFilePathV2BodyRequestBody } from './requestBodies/GetFileContentUsingScopedFilePathV2BodyRequestBody';
390
+ export type { InfrastructureRequestDtoRequestBody } from './requestBodies/InfrastructureRequestDtoRequestBody';
380
391
  export type { LdapSettingsDtoRequestBody } from './requestBodies/LdapSettingsDtoRequestBody';
381
392
  export type { LdapSettingsRequestBody } from './requestBodies/LdapSettingsRequestBody';
382
393
  export type { ListTagsForAmiArtifactBodyRequestBody } from './requestBodies/ListTagsForAmiArtifactBodyRequestBody';
@@ -490,6 +501,7 @@ export type { GoogleCloudStorageBucketDetails } from './schemas/GoogleCloudStora
490
501
  export type { GoogleCloudStorageBucketsResponseDto } from './schemas/GoogleCloudStorageBucketsResponseDto';
491
502
  export type { GovernanceMetadata } from './schemas/GovernanceMetadata';
492
503
  export type { HelmChartResponseDto } from './schemas/HelmChartResponseDto';
504
+ export type { InfrastructureRequestDto } from './schemas/InfrastructureRequestDto';
493
505
  export type { InfrastructureResponse } from './schemas/InfrastructureResponse';
494
506
  export type { InfrastructureResponseDto } from './schemas/InfrastructureResponseDto';
495
507
  export type { InfrastructureYamlMetadata } from './schemas/InfrastructureYamlMetadata';
@@ -544,6 +556,7 @@ export type { OrganizationResponse } from './schemas/OrganizationResponse';
544
556
  export type { PageApiKeyAggregateDto } from './schemas/PageApiKeyAggregateDto';
545
557
  export type { PageEntitySetupUsageDto } from './schemas/PageEntitySetupUsageDto';
546
558
  export type { PageEnvironmentResponse } from './schemas/PageEnvironmentResponse';
559
+ export type { PageInfrastructureResponse } from './schemas/PageInfrastructureResponse';
547
560
  export type { PageKeyDto } from './schemas/PageKeyDto';
548
561
  export type { PageOrganizationResponse } from './schemas/PageOrganizationResponse';
549
562
  export type { PageProjectAggregateDto } from './schemas/PageProjectAggregateDto';
@@ -603,6 +616,7 @@ export type { ResponseGitListRepositoryResponse } from './schemas/ResponseGitLis
603
616
  export type { ResponseGithubPackagesResponseDto } from './schemas/ResponseGithubPackagesResponseDto';
604
617
  export type { ResponseGoogleCloudStorageBucketsResponseDto } from './schemas/ResponseGoogleCloudStorageBucketsResponseDto';
605
618
  export type { ResponseHelmChartResponseDto } from './schemas/ResponseHelmChartResponseDto';
619
+ export type { ResponseInfrastructureResponse } from './schemas/ResponseInfrastructureResponse';
606
620
  export type { ResponseInfrastructureYamlMetadataDto } from './schemas/ResponseInfrastructureYamlMetadataDto';
607
621
  export type { ResponseJenkinsJobDetailsDto } from './schemas/ResponseJenkinsJobDetailsDto';
608
622
  export type { ResponseJiraIssueCreateMetadataNg } from './schemas/ResponseJiraIssueCreateMetadataNg';
@@ -617,6 +631,7 @@ export type { ResponseListAzureArtifactsPackage } from './schemas/ResponseListAz
617
631
  export type { ResponseListAzureDevopsProject } from './schemas/ResponseListAzureDevopsProject';
618
632
  export type { ResponseListBucketResponse } from './schemas/ResponseListBucketResponse';
619
633
  export type { ResponseListBuildDetails } from './schemas/ResponseListBuildDetails';
634
+ export type { ResponseListEnvironmentResponse } from './schemas/ResponseListEnvironmentResponse';
620
635
  export type { ResponseListFeatureRestrictionDetailsDto } from './schemas/ResponseListFeatureRestrictionDetailsDto';
621
636
  export type { ResponseListFilePaths } from './schemas/ResponseListFilePaths';
622
637
  export type { ResponseListGetProviderResponse } from './schemas/ResponseListGetProviderResponse';
@@ -632,6 +647,7 @@ export type { ResponseListScopeName } from './schemas/ResponseListScopeName';
632
647
  export type { ResponseListServiceDefinitionType } from './schemas/ResponseListServiceDefinitionType';
633
648
  export type { ResponseListServiceNowFieldNg } from './schemas/ResponseListServiceNowFieldNg';
634
649
  export type { ResponseListServiceNowTicketTypeDto } from './schemas/ResponseListServiceNowTicketTypeDto';
650
+ export type { ResponseListServiceResponse } from './schemas/ResponseListServiceResponse';
635
651
  export type { ResponseListString } from './schemas/ResponseListString';
636
652
  export type { ResponseListUserRepoResponse } from './schemas/ResponseListUserRepoResponse';
637
653
  export type { ResponseMapStringString } from './schemas/ResponseMapStringString';
@@ -642,6 +658,7 @@ export type { ResponseOrganizationResponse } from './schemas/ResponseOrganizatio
642
658
  export type { ResponsePageApiKeyAggregateDto } from './schemas/ResponsePageApiKeyAggregateDto';
643
659
  export type { ResponsePageEntitySetupUsageDto } from './schemas/ResponsePageEntitySetupUsageDto';
644
660
  export type { ResponsePageEnvironmentResponse } from './schemas/ResponsePageEnvironmentResponse';
661
+ export type { ResponsePageInfrastructureResponse } from './schemas/ResponsePageInfrastructureResponse';
645
662
  export type { ResponsePageKeyDto } from './schemas/ResponsePageKeyDto';
646
663
  export type { ResponsePageOrganizationResponse } from './schemas/ResponsePageOrganizationResponse';
647
664
  export type { ResponsePageProjectAggregateDto } from './schemas/ResponsePageProjectAggregateDto';
@@ -8,6 +8,7 @@ export { cloneEnvironmentV2, useCloneEnvironmentV2Mutation, } from './hooks/useC
8
8
  export { cloneServiceV2, useCloneServiceV2Mutation } from './hooks/useCloneServiceV2Mutation';
9
9
  export { clusters, useClustersQuery } from './hooks/useClustersQuery';
10
10
  export { createApiKey, useCreateApiKeyMutation } from './hooks/useCreateApiKeyMutation';
11
+ export { createInfrastructure, useCreateInfrastructureMutation, } from './hooks/useCreateInfrastructureMutation';
11
12
  export { createJiraIssue, useCreateJiraIssueMutation } from './hooks/useCreateJiraIssueMutation';
12
13
  export { createKey, useCreateKeyMutation } from './hooks/useCreateKeyMutation';
13
14
  export { createLdapSettings, useCreateLdapSettingsMutation, } from './hooks/useCreateLdapSettingsMutation';
@@ -56,6 +57,7 @@ export { getCannyCategories, useGetCannyCategoriesQuery } from './hooks/useGetCa
56
57
  export { getClusterNamesForGcp, useGetClusterNamesForGcpQuery, } from './hooks/useGetClusterNamesForGcpQuery';
57
58
  export { getEksClusterNames, useGetEksClusterNamesQuery } from './hooks/useGetEksClusterNamesQuery';
58
59
  export { getEnabledFeatureRestrictionDetailByAccountId, useGetEnabledFeatureRestrictionDetailByAccountIdQuery, } from './hooks/useGetEnabledFeatureRestrictionDetailByAccountIdQuery';
60
+ export { getEnvironmentAccessList, useGetEnvironmentAccessListQuery, } from './hooks/useGetEnvironmentAccessListQuery';
59
61
  export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
60
62
  export { getEnvironmentsInputYamlAndServiceOverridesV2, useGetEnvironmentsInputYamlAndServiceOverridesV2Mutation, } from './hooks/useGetEnvironmentsInputYamlAndServiceOverridesV2Mutation';
61
63
  export { getFilePathsForS3, useGetFilePathsForS3Query } from './hooks/useGetFilePathsForS3Query';
@@ -70,6 +72,7 @@ export { getHelmChartVersionDetailsWithYaml, useGetHelmChartVersionDetailsWithYa
70
72
  export { getImagePathsForArtifactory, useGetImagePathsForArtifactoryQuery, } from './hooks/useGetImagePathsForArtifactoryQuery';
71
73
  export { getImagePathsForArtifactoryV2, useGetImagePathsForArtifactoryV2Mutation, } from './hooks/useGetImagePathsForArtifactoryV2Mutation';
72
74
  export { getImagesListForEcr, useGetImagesListForEcrMutation, } from './hooks/useGetImagesListForEcrMutation';
75
+ export { getInfrastructureList, useGetInfrastructureListQuery, } from './hooks/useGetInfrastructureListQuery';
73
76
  export { getInfrastructureYamlAndRuntimeInputsV2, useGetInfrastructureYamlAndRuntimeInputsV2Mutation, } from './hooks/useGetInfrastructureYamlAndRuntimeInputsV2Mutation';
74
77
  export { getInheritingChildScopeListForServiceAccount, useGetInheritingChildScopeListForServiceAccountQuery, } from './hooks/useGetInheritingChildScopeListForServiceAccountQuery';
75
78
  export { getInheritingChildScopeList, useGetInheritingChildScopeListQuery, } from './hooks/useGetInheritingChildScopeListQuery';
@@ -116,6 +119,7 @@ export { getRepositoriesDetailsV2ForArtifactory, useGetRepositoriesDetailsV2ForA
116
119
  export { getRepositoriesForGoogleArtifactRegistry, useGetRepositoriesForGoogleArtifactRegistryQuery, } from './hooks/useGetRepositoriesForGoogleArtifactRegistryQuery';
117
120
  export { getRepositoriesForGoogleArtifactRegistryV2, useGetRepositoriesForGoogleArtifactRegistryV2Mutation, } from './hooks/useGetRepositoriesForGoogleArtifactRegistryV2Mutation';
118
121
  export { getRepositories, useGetRepositoriesMutation } from './hooks/useGetRepositoriesMutation';
122
+ export { getServiceAccessList, useGetServiceAccessListQuery, } from './hooks/useGetServiceAccessListQuery';
119
123
  export { getServiceDefinitionTypes, useGetServiceDefinitionTypesQuery, } from './hooks/useGetServiceDefinitionTypesQuery';
120
124
  export { getServiceList, useGetServiceListQuery } from './hooks/useGetServiceListQuery';
121
125
  export { getServiceNowIssueMetadata, useGetServiceNowIssueMetadataQuery, } from './hooks/useGetServiceNowIssueMetadataQuery';
@@ -171,6 +175,7 @@ export { syncUserGroupLinkedToLdap, useSyncUserGroupLinkedToLdapQuery, } from '.
171
175
  export { tags, useTagsQuery } from './hooks/useTagsQuery';
172
176
  export { unlinkSsoGroup, useUnlinkSsoGroupMutation } from './hooks/useUnlinkSsoGroupMutation';
173
177
  export { updateApiKey, useUpdateApiKeyMutation } from './hooks/useUpdateApiKeyMutation';
178
+ export { updateInfrastructure, useUpdateInfrastructureMutation, } from './hooks/useUpdateInfrastructureMutation';
174
179
  export { updateKey, useUpdateKeyMutation } from './hooks/useUpdateKeyMutation';
175
180
  export { updateLdapSettings, useUpdateLdapSettingsMutation, } from './hooks/useUpdateLdapSettingsMutation';
176
181
  export { updateServiceV2, useUpdateServiceV2Mutation } from './hooks/useUpdateServiceV2Mutation';
@@ -0,0 +1,2 @@
1
+ import type { InfrastructureRequestDto } from '../schemas/InfrastructureRequestDto';
2
+ export type InfrastructureRequestDtoRequestBody = InfrastructureRequestDto;
@@ -4,5 +4,5 @@ export interface EntityDetail {
4
4
  entityGitMetadata?: EntityGitMetadata;
5
5
  entityRef?: EntityReference;
6
6
  name?: string;
7
- type?: 'AIEvaluation' | 'AIExperiment' | 'AWSECR' | 'AWSSecurityHub' | 'AZURE_SLOT_DEPLOYMENT_STEP' | 'Action' | 'AiTestAutomation' | 'AiVerify' | 'AlertSetting' | 'AnalyzeDeploymentImpact' | 'Anchore' | 'AppResize' | 'AppRollback' | 'ApprovalStage' | 'AquaSecurity' | 'AquaTrivy' | 'ArtifactSource' | 'ArtifactoryUpload' | 'AsgBlueGreenDeploy' | 'AsgBlueGreenRollback' | 'AsgBlueGreenSwapService' | 'AsgCanaryDelete' | 'AsgCanaryDeploy' | 'AsgPhasedDeploy' | 'AsgRollback' | 'AsgRollingDeploy' | 'AsgRollingRollback' | 'AsgScale' | 'AsgSetup' | 'AsgShiftTraffic' | 'AsgSteadyState' | 'AuditStreamingDestination' | 'AwsCdkBootstrap' | 'AwsCdkDeploy' | 'AwsCdkDestroy' | 'AwsCdkDiff' | 'AwsCdkRollback' | 'AwsCdkSynth' | 'AwsLambdaDeploy' | 'AwsLambdaRollback' | 'AwsSamBuild' | 'AwsSamDeploy' | 'AwsSamRollback' | 'AzureARMRollback' | 'AzureCreateARMResource' | 'AzureCreateBPResource' | 'AzureFunctionDeploy' | 'AzureFunctionRollback' | 'AzureSwapSlot' | 'AzureTrafficShift' | 'AzureWebAppRollback' | 'BGAppSetup' | 'Background' | 'BackstageEnvironmentVariable' | 'BambooBuild' | 'Bandit' | 'Barrier' | 'BasicAppSetup' | 'Bitrise' | 'BlackDuck' | 'Brakeman' | 'BuildAndPushACR' | 'BuildAndPushDockerRegistry' | 'BuildAndPushECR' | 'BuildAndPushGAR' | 'BuildAndPushGCR' | 'Burp' | 'CanaryAppSetup' | 'CdSscaEnforcement' | 'CdSscaOrchestration' | 'Certificates' | 'Chaos' | 'ChaosHub' | 'ChaosInfrastructure' | 'ChaosInfrastructureV2' | 'Checkmarx' | 'CheckmarxOne' | 'Checkov' | 'Clair' | 'CloudFunctionRollback' | 'CloudFunctionTrafficShift' | 'CodeQL' | 'Command' | 'Connectors' | 'Container' | 'CookieCutter' | 'CortexCloud' | 'Coverity' | 'CreateCatalog' | 'CreateOrganisation' | 'CreatePR' | 'CreateProject' | 'CreateRepo' | 'CreateResource' | 'CreateStack' | 'CustomApproval' | 'CustomDeployment' | 'CustomIngest' | 'CustomStage' | 'CvConfig' | 'CvKubernetesActivitySource' | 'CvVerificationJob' | 'DBSchemaApply' | 'DBSchemaRollback' | 'DataSink' | 'DataTheorem' | 'DelegateConfigurations' | 'Delegates' | 'DeleteStack' | 'DeployCloudFunction' | 'DeployCloudFunctionGenOne' | 'DeployCloudFunctionWithNoTraffic' | 'Deployable' | 'DeploymentStage' | 'DeploymentSteps' | 'DirectPush' | 'DockerContentTrust' | 'DownloadAwsS3' | 'DownloadHarnessStore' | 'DownloadManifests' | 'EcsBasicRollback' | 'EcsBlueGreenCreateService' | 'EcsBlueGreenRollback' | 'EcsBlueGreenSwapTargetGroups' | 'EcsBlueGreenTrafficShift' | 'EcsCanaryDelete' | 'EcsCanaryDeploy' | 'EcsRollingDeploy' | 'EcsRollingRollback' | 'EcsRunTask' | 'EcsScale' | 'EcsServiceSetup' | 'EcsUpgradeContainer' | 'ElastigroupBGStageSetup' | 'ElastigroupBlueGreenTrafficShift' | 'ElastigroupDeploy' | 'ElastigroupRollback' | 'ElastigroupSetup' | 'ElastigroupSwapRoute' | 'Email' | 'Environment' | 'EnvironmentGroup' | 'External' | 'FeatureFlagStage' | 'FeatureFlags' | 'FetchInstanceScript' | 'Files' | 'FlagConfiguration' | 'FortifyOnDemand' | 'Fossa' | 'Freeze' | 'GCSUpload' | 'GITOPS_MERGE_PR' | 'GITOPS_SYNC' | 'GitClone' | 'GitHubAdvancedSecurity' | 'GitOpsApplication' | 'GitOpsFetchLinkedApps' | 'GitOpsRollout' | 'GitOpsUpdateReleaseRepo' | 'GitRepositories' | 'Gitleaks' | 'GoogleCloudRunDeploy' | 'GoogleCloudRunJob' | 'GoogleCloudRunPrepareRollbackData' | 'GoogleCloudRunRollback' | 'GoogleCloudRunTrafficShift' | 'GovernancePolicies' | 'GovernanceRuleAWS' | 'Grype' | 'HarUpload' | 'HarnessApproval' | 'HelmDelete' | 'HelmDeploy' | 'HelmRollback' | 'Http' | 'IACM' | 'IACMAnsiblePlugin' | 'IACMApproval' | 'IACMAwsCdkPlugin' | 'IACMBlastRadiusAgent' | 'IACMCheckov' | 'IACMModuleTestPlugin' | 'IACMOpenTofuPlugin' | 'IACMPrepareExecution' | 'IACMRemediationAgent' | 'IACMStage' | 'IACMStep' | 'IACMTFCompliance' | 'IACMTFLint' | 'IACMTFSec' | 'IACMTerraformPlugin' | 'IACMTerragruntPlugin' | 'IACMWorkspace' | 'IDPStage' | 'IdpCatalog' | 'IdpCdService' | 'IdpCheck' | 'IdpConnector' | 'IdpEnvironment' | 'IdpEnvironmentBlueprint' | 'IdpScorecard' | 'Infrastructure' | 'InputSets' | 'IntegrationStage' | 'IntegrationSteps' | 'JenkinsBuild' | 'JfrogXray' | 'JiraApproval' | 'JiraCreate' | 'JiraUpdate' | 'K8S_PATCH_STEP' | 'K8S_ROLLOUT_STEP' | 'K8sApply' | 'K8sBGSwapServices' | 'K8sBlueGreenDeploy' | 'K8sBlueGreenStageScaleDown' | 'K8sBlueGreenStageScaleUp' | 'K8sCanaryDelete' | 'K8sCanaryDeploy' | 'K8sDelete' | 'K8sDryRun' | 'K8sRollingDeploy' | 'K8sRollingRollback' | 'K8sScale' | 'K8sTrafficRouting' | 'Mend' | 'Metasploit' | 'ModelScan' | 'MonitoredService' | 'Nessus' | 'NexusIQ' | 'Nikto' | 'Nmap' | 'NotificationChannel' | 'NotificationRule' | 'Openvas' | 'OsvScaner' | 'Overrides' | 'Owasp' | 'POLICY_STEP' | 'PipelineStage' | 'PipelineSteps' | 'Pipelines' | 'Plugin' | 'PrismaCloud' | 'Projects' | 'Prowler' | 'Qualys' | 'Queue' | 'Reapsaw' | 'RegisterCatalog' | 'RestoreCache' | 'RestoreCacheAzure' | 'RestoreCacheGCS' | 'RestoreCacheS3' | 'RevertPR' | 'RollbackCloudFunctionGenOne' | 'RollbackStack' | 'RouteMapping' | 'Run' | 'RunTests' | 'S3Upload' | 'SALESFORCE_VALIDATE' | 'SASTSecret' | 'SCA' | 'SalesforceApexTest' | 'SalesforceChangeset' | 'SalesforceComparisonPair' | 'SalesforceCreateScratchOrg' | 'SalesforceDeleteScratchOrg' | 'SalesforceDeploy' | 'SalesforceDownloadDeployables' | 'SalesforceDownloadOrg' | 'SalesforceEvaluateDiff' | 'SalesforceExecution' | 'SalesforceQuickDeploy' | 'SalesforceRollback' | 'SalesforceSourceBackup' | 'SaveCache' | 'SaveCacheAzure' | 'SaveCacheGCS' | 'SaveCacheS3' | 'Secrets' | 'Security' | 'SecurityStage' | 'SecuritySteps' | 'Semgrep' | 'ServerlessAwsLambdaDeploy' | 'ServerlessAwsLambdaDeployV2' | 'ServerlessAwsLambdaPackageV2' | 'ServerlessAwsLambdaPrepareRollbackV2' | 'ServerlessAwsLambdaRollback' | 'ServerlessAwsLambdaRollbackV2' | 'Service' | 'ServiceDiscoveryAgent' | 'ServiceNowApproval' | 'ServiceNowCreate' | 'ServiceNowImportSet' | 'ServiceNowUpdate' | 'ShellScript' | 'ShellScriptProvision' | 'ShiftLeft' | 'SlackNotify' | 'SlsaVerification' | 'Sniper' | 'Snyk' | 'Sonarqube' | 'SscaArtifactVerification' | 'SscaEnforcement' | 'SscaOrchestration' | 'StandAloneTrafficShiftRollback' | 'StrategyNode' | 'SwapRollback' | 'SwapRoutes' | 'Sysdig' | 'TanzuCommand' | 'TasRollingDeploy' | 'TasRollingRollback' | 'Template' | 'TemplateStage' | 'Tenable' | 'TerraformApply' | 'TerraformCloudRollback' | 'TerraformCloudRun' | 'TerraformDestroy' | 'TerraformPlan' | 'TerraformRollback' | 'TerragruntApply' | 'TerragruntDestroy' | 'TerragruntPlan' | 'TerragruntRollback' | 'Test' | 'Traceable' | 'Triggers' | 'UpdateCatalogProperty' | 'UpdateGitOpsApp' | 'UserGroup' | 'Veracode' | 'Verify' | 'Wait' | 'Wiz' | 'Zap';
7
+ type?: 'AIEvaluation' | 'AIExperiment' | 'AWSECR' | 'AWSSecurityHub' | 'AZURE_SLOT_DEPLOYMENT_STEP' | 'Action' | 'AiTestAutomation' | 'AiVerify' | 'AlertSetting' | 'AnalyzeDeploymentImpact' | 'Anchore' | 'AppResize' | 'AppRollback' | 'ApprovalStage' | 'AquaSecurity' | 'AquaTrivy' | 'ArtifactSource' | 'ArtifactoryUpload' | 'AsgBlueGreenDeploy' | 'AsgBlueGreenRollback' | 'AsgBlueGreenSwapService' | 'AsgCanaryDelete' | 'AsgCanaryDeploy' | 'AsgPhasedDeploy' | 'AsgRollback' | 'AsgRollingDeploy' | 'AsgRollingRollback' | 'AsgScale' | 'AsgSetup' | 'AsgShiftTraffic' | 'AsgSteadyState' | 'AuditStreamingDestination' | 'AwsCdkBootstrap' | 'AwsCdkDeploy' | 'AwsCdkDestroy' | 'AwsCdkDiff' | 'AwsCdkRollback' | 'AwsCdkSynth' | 'AwsLambdaDeploy' | 'AwsLambdaRollback' | 'AwsSamBuild' | 'AwsSamDeploy' | 'AwsSamRollback' | 'AzureARMRollback' | 'AzureCreateARMResource' | 'AzureCreateBPResource' | 'AzureFunctionDeploy' | 'AzureFunctionRollback' | 'AzureSwapSlot' | 'AzureTrafficShift' | 'AzureWebAppRollback' | 'BGAppSetup' | 'Background' | 'BackstageEnvironmentVariable' | 'BambooBuild' | 'Bandit' | 'Barrier' | 'BasicAppSetup' | 'Bitrise' | 'BlackDuck' | 'Brakeman' | 'BuildAndPushACR' | 'BuildAndPushDockerRegistry' | 'BuildAndPushECR' | 'BuildAndPushGAR' | 'BuildAndPushGCR' | 'Burp' | 'CanaryAppSetup' | 'CdSscaEnforcement' | 'CdSscaOrchestration' | 'Certificates' | 'Chaos' | 'ChaosHub' | 'ChaosInfrastructure' | 'ChaosInfrastructureV2' | 'Checkmarx' | 'CheckmarxOne' | 'Checkov' | 'Clair' | 'CloudFunctionRollback' | 'CloudFunctionTrafficShift' | 'CodeQL' | 'Command' | 'Connectors' | 'Container' | 'CookieCutter' | 'CortexCloud' | 'Coverity' | 'CreateCatalog' | 'CreateOrganisation' | 'CreatePR' | 'CreateProject' | 'CreateRepo' | 'CreateResource' | 'CreateStack' | 'CustomApproval' | 'CustomDeployment' | 'CustomIngest' | 'CustomStage' | 'CvConfig' | 'CvKubernetesActivitySource' | 'CvVerificationJob' | 'DBSchemaApply' | 'DBSchemaRollback' | 'DataSink' | 'DataTheorem' | 'DelegateConfigurations' | 'Delegates' | 'DeleteStack' | 'DeployCloudFunction' | 'DeployCloudFunctionGenOne' | 'DeployCloudFunctionWithNoTraffic' | 'DeployGoogleAgentRuntimeRevision' | 'Deployable' | 'DeploymentStage' | 'DeploymentSteps' | 'DirectPush' | 'DockerContentTrust' | 'DownloadAwsS3' | 'DownloadHarnessStore' | 'DownloadManifests' | 'EcsBasicRollback' | 'EcsBlueGreenCreateService' | 'EcsBlueGreenRollback' | 'EcsBlueGreenSwapTargetGroups' | 'EcsBlueGreenTrafficShift' | 'EcsCanaryDelete' | 'EcsCanaryDeploy' | 'EcsRollingDeploy' | 'EcsRollingRollback' | 'EcsRunTask' | 'EcsScale' | 'EcsServiceSetup' | 'EcsUpgradeContainer' | 'ElastigroupBGStageSetup' | 'ElastigroupBlueGreenTrafficShift' | 'ElastigroupDeploy' | 'ElastigroupRollback' | 'ElastigroupSetup' | 'ElastigroupSwapRoute' | 'Email' | 'Environment' | 'EnvironmentGroup' | 'External' | 'FeatureFlagStage' | 'FeatureFlags' | 'FetchInstanceScript' | 'Files' | 'FlagConfiguration' | 'FortifyOnDemand' | 'Fossa' | 'Freeze' | 'GCSUpload' | 'GITOPS_MERGE_PR' | 'GITOPS_SYNC' | 'GitClone' | 'GitHubAdvancedSecurity' | 'GitOpsApplication' | 'GitOpsFetchLinkedApps' | 'GitOpsRollout' | 'GitOpsUpdateReleaseRepo' | 'GitRepositories' | 'Gitleaks' | 'GoogleCloudRunDeploy' | 'GoogleCloudRunJob' | 'GoogleCloudRunPrepareRollbackData' | 'GoogleCloudRunRollback' | 'GoogleCloudRunTrafficShift' | 'GovernancePolicies' | 'GovernanceRuleAWS' | 'Grype' | 'HarUpload' | 'HarnessApproval' | 'HelmDelete' | 'HelmDeploy' | 'HelmRollback' | 'Http' | 'IACM' | 'IACMAnsiblePlugin' | 'IACMApproval' | 'IACMAwsCdkPlugin' | 'IACMBlastRadiusAgent' | 'IACMCheckov' | 'IACMModuleTestPlugin' | 'IACMOpenTofuPlugin' | 'IACMPrepareExecution' | 'IACMRemediationAgent' | 'IACMStage' | 'IACMStep' | 'IACMTFCompliance' | 'IACMTFLint' | 'IACMTFSec' | 'IACMTerraformPlugin' | 'IACMTerragruntPlugin' | 'IACMWorkspace' | 'IDPStage' | 'IdpCatalog' | 'IdpCdService' | 'IdpCheck' | 'IdpConnector' | 'IdpEnvironment' | 'IdpEnvironmentBlueprint' | 'IdpScorecard' | 'Infrastructure' | 'InputSets' | 'IntegrationStage' | 'IntegrationSteps' | 'JenkinsBuild' | 'JfrogXray' | 'JiraApproval' | 'JiraCreate' | 'JiraUpdate' | 'K8S_PATCH_STEP' | 'K8S_ROLLOUT_STEP' | 'K8sApply' | 'K8sBGSwapServices' | 'K8sBlueGreenDeploy' | 'K8sBlueGreenStageScaleDown' | 'K8sBlueGreenStageScaleUp' | 'K8sCanaryDelete' | 'K8sCanaryDeploy' | 'K8sDelete' | 'K8sDryRun' | 'K8sRollingDeploy' | 'K8sRollingRollback' | 'K8sScale' | 'K8sTrafficRouting' | 'Mend' | 'Metasploit' | 'ModelScan' | 'MonitoredService' | 'Nessus' | 'NexusIQ' | 'Nikto' | 'Nmap' | 'NotificationChannel' | 'NotificationRule' | 'Openvas' | 'OsvScaner' | 'Overrides' | 'Owasp' | 'POLICY_STEP' | 'PipelineStage' | 'PipelineSteps' | 'Pipelines' | 'Plugin' | 'PrismaCloud' | 'Projects' | 'Prowler' | 'Qualys' | 'Queue' | 'Reapsaw' | 'RegisterCatalog' | 'RestoreCache' | 'RestoreCacheAzure' | 'RestoreCacheGCS' | 'RestoreCacheS3' | 'RevertPR' | 'RollbackCloudFunctionGenOne' | 'RollbackGoogleAgentRuntimeRevision' | 'RollbackStack' | 'RouteMapping' | 'Run' | 'RunTests' | 'S3Upload' | 'SALESFORCE_VALIDATE' | 'SASTSecret' | 'SCA' | 'SalesforceApexTest' | 'SalesforceChangeset' | 'SalesforceComparisonPair' | 'SalesforceCreateScratchOrg' | 'SalesforceDeleteScratchOrg' | 'SalesforceDeploy' | 'SalesforceDownloadDeployables' | 'SalesforceDownloadOrg' | 'SalesforceEvaluateDiff' | 'SalesforceExecution' | 'SalesforceQuickDeploy' | 'SalesforceRollback' | 'SalesforceSourceBackup' | 'SaveCache' | 'SaveCacheAzure' | 'SaveCacheGCS' | 'SaveCacheS3' | 'Secrets' | 'Security' | 'SecurityStage' | 'SecuritySteps' | 'Semgrep' | 'ServerlessAwsLambdaDeploy' | 'ServerlessAwsLambdaDeployV2' | 'ServerlessAwsLambdaPackageV2' | 'ServerlessAwsLambdaPrepareRollbackV2' | 'ServerlessAwsLambdaRollback' | 'ServerlessAwsLambdaRollbackV2' | 'Service' | 'ServiceDiscoveryAgent' | 'ServiceNowApproval' | 'ServiceNowCreate' | 'ServiceNowImportSet' | 'ServiceNowUpdate' | 'ShellScript' | 'ShellScriptProvision' | 'ShiftGoogleAgentRuntimeTraffic' | 'ShiftLeft' | 'SlackNotify' | 'SlsaVerification' | 'Sniper' | 'Snyk' | 'Sonarqube' | 'SscaArtifactVerification' | 'SscaEnforcement' | 'SscaOrchestration' | 'StandAloneTrafficShiftRollback' | 'StrategyNode' | 'SwapRollback' | 'SwapRoutes' | 'Sysdig' | 'TanzuCommand' | 'TasRollingDeploy' | 'TasRollingRollback' | 'Template' | 'TemplateStage' | 'Tenable' | 'TerraformApply' | 'TerraformCloudRollback' | 'TerraformCloudRun' | 'TerraformDestroy' | 'TerraformPlan' | 'TerraformRollback' | 'TerragruntApply' | 'TerragruntDestroy' | 'TerragruntPlan' | 'TerragruntRollback' | 'Test' | 'Traceable' | 'Triggers' | 'UpdateCatalogProperty' | 'UpdateGitOpsApp' | 'UserGroup' | 'Veracode' | 'Verify' | 'Wait' | 'Wiz' | 'Zap';
8
8
  }
@@ -0,0 +1,13 @@
1
+ export interface InfrastructureRequestDto {
2
+ description?: string;
3
+ environmentRef?: string;
4
+ identifier?: string;
5
+ name?: string;
6
+ orgIdentifier?: string;
7
+ projectIdentifier?: string;
8
+ tags?: {
9
+ [key: string]: string;
10
+ };
11
+ type?: 'AWS_SAM' | 'Asg' | 'AwsAgentCore' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleAgentRuntime' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'KubernetesAws' | 'KubernetesAzure' | 'KubernetesDirect' | 'KubernetesGcp' | 'KubernetesRancher' | 'Pdc' | 'Salesforce' | 'ServerlessAwsLambda' | 'SshWinRmAws' | 'SshWinRmAzure' | 'TAS';
12
+ yaml?: string;
13
+ }
@@ -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 {};
@@ -4,7 +4,7 @@ export interface InfrastructureResponseDto {
4
4
  accountId?: string;
5
5
  cacheResponseMetadataDTO?: CacheResponseMetadata;
6
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';
7
+ deploymentType?: 'AWS_SAM' | 'AiAgent' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
8
8
  description?: string;
9
9
  entityGitDetails?: EntityGitDetails;
10
10
  environmentRef?: string;
@@ -17,6 +17,6 @@ export interface InfrastructureResponseDto {
17
17
  tags?: {
18
18
  [key: string]: string;
19
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';
20
+ type?: 'AWS_SAM' | 'Asg' | 'AwsAgentCore' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleAgentRuntime' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'KubernetesAws' | 'KubernetesAzure' | 'KubernetesDirect' | 'KubernetesGcp' | 'KubernetesRancher' | 'Pdc' | 'Salesforce' | 'ServerlessAwsLambda' | 'SshWinRmAws' | 'SshWinRmAzure' | 'TAS';
21
21
  yaml?: string;
22
22
  }
@@ -0,0 +1,26 @@
1
+ import type { InfrastructureResponse } from '../schemas/InfrastructureResponse';
2
+ export interface PageInfrastructureResponse {
3
+ content?: InfrastructureResponse[];
4
+ empty?: boolean;
5
+ /**
6
+ * @format int64
7
+ */
8
+ pageIndex?: number;
9
+ /**
10
+ * @format int64
11
+ */
12
+ pageItemCount?: number;
13
+ /**
14
+ * @format int64
15
+ */
16
+ pageSize?: number;
17
+ pageToken?: string;
18
+ /**
19
+ * @format int64
20
+ */
21
+ totalItems?: number;
22
+ /**
23
+ * @format int64
24
+ */
25
+ totalPages?: number;
26
+ }
@@ -0,0 +1,9 @@
1
+ import type { InfrastructureResponse } from '../schemas/InfrastructureResponse';
2
+ export interface ResponseInfrastructureResponse {
3
+ correlationId?: string;
4
+ data?: InfrastructureResponse;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { EnvironmentResponse } from '../schemas/EnvironmentResponse';
2
+ export interface ResponseListEnvironmentResponse {
3
+ correlationId?: string;
4
+ data?: EnvironmentResponse[];
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -1,6 +1,6 @@
1
1
  export interface ResponseListServiceDefinitionType {
2
2
  correlationId?: string;
3
- data?: Array<'AWS_SAM' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm'>;
3
+ data?: Array<'AWS_SAM' | 'AiAgent' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm'>;
4
4
  metaData?: {
5
5
  [key: string]: any;
6
6
  };
@@ -0,0 +1,9 @@
1
+ import type { ServiceResponse } from '../schemas/ServiceResponse';
2
+ export interface ResponseListServiceResponse {
3
+ correlationId?: string;
4
+ data?: ServiceResponse[];
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { PageInfrastructureResponse } from '../schemas/PageInfrastructureResponse';
2
+ export interface ResponsePageInfrastructureResponse {
3
+ correlationId?: string;
4
+ data?: PageInfrastructureResponse;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -17,7 +17,7 @@ export interface ServiceResponseDto {
17
17
  tags?: {
18
18
  [key: string]: string;
19
19
  };
20
- type?: 'AWS_SAM' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
20
+ type?: 'AWS_SAM' | 'AiAgent' | 'Asg' | 'AwsLambda' | 'AzureContainerApps' | 'AzureFunction' | 'AzureWebApp' | 'CustomDeployment' | 'ECS' | 'Elastigroup' | 'GoogleCloudFunctions' | 'GoogleCloudRun' | 'GoogleManagedInstanceGroup' | 'Kubernetes' | 'NativeHelm' | 'SERVICE_YAML_V1_TYPE' | 'Salesforce' | 'ServerlessAwsLambda' | 'Ssh' | 'TAS' | 'WinRm';
21
21
  v2Service?: boolean;
22
22
  yaml?: string;
23
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ng-manager-swagger-service-client",
3
- "version": "1.32.0",
3
+ "version": "1.33.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",