@harnessio/react-ng-manager-swagger-service-client 1.35.0 → 1.36.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 (69) hide show
  1. package/dist/ng-manager-swagger-service/src/services/hooks/useGetConnectorListV2Mutation.d.ts +51 -0
  2. package/dist/ng-manager-swagger-service/src/services/hooks/useGetConnectorListV2Mutation.js +14 -0
  3. package/dist/ng-manager-swagger-service/src/services/hooks/useGetEntityReferencesQuery.d.ts +32 -0
  4. package/dist/ng-manager-swagger-service/src/services/hooks/useGetEntityReferencesQuery.js +14 -0
  5. package/dist/ng-manager-swagger-service/src/services/hooks/useGetEnvironmentGroupListMutation.d.ts +48 -0
  6. package/dist/ng-manager-swagger-service/src/services/hooks/useGetEnvironmentGroupListMutation.js +14 -0
  7. package/dist/ng-manager-swagger-service/src/services/hooks/useListAggregatedServiceAccountsQuery.d.ts +39 -0
  8. package/dist/ng-manager-swagger-service/src/services/hooks/useListAggregatedServiceAccountsQuery.js +14 -0
  9. package/dist/ng-manager-swagger-service/src/services/hooks/useListSecretsV2Query.d.ts +42 -0
  10. package/dist/ng-manager-swagger-service/src/services/hooks/useListSecretsV2Query.js +15 -0
  11. package/dist/ng-manager-swagger-service/src/services/hooks/usePostSecretMutation.d.ts +25 -0
  12. package/dist/ng-manager-swagger-service/src/services/hooks/usePostSecretMutation.js +14 -0
  13. package/dist/ng-manager-swagger-service/src/services/index.d.ts +39 -0
  14. package/dist/ng-manager-swagger-service/src/services/index.js +6 -0
  15. package/dist/ng-manager-swagger-service/src/services/requestBodies/ConnectorFilterPropertiesRequestBody.d.ts +2 -0
  16. package/dist/ng-manager-swagger-service/src/services/requestBodies/ConnectorFilterPropertiesRequestBody.js +1 -0
  17. package/dist/ng-manager-swagger-service/src/services/schemas/CcmConnectorFilter.d.ts +10 -0
  18. package/dist/ng-manager-swagger-service/src/services/schemas/CcmConnectorFilter.js +4 -0
  19. package/dist/ng-manager-swagger-service/src/services/schemas/ConnectorActivityDetails.d.ts +6 -0
  20. package/dist/ng-manager-swagger-service/src/services/schemas/ConnectorActivityDetails.js +4 -0
  21. package/dist/ng-manager-swagger-service/src/services/schemas/ConnectorConfigDto.d.ts +3 -0
  22. package/dist/ng-manager-swagger-service/src/services/schemas/ConnectorConfigDto.js +4 -0
  23. package/dist/ng-manager-swagger-service/src/services/schemas/ConnectorConnectivityDetails.d.ts +18 -0
  24. package/dist/ng-manager-swagger-service/src/services/schemas/ConnectorConnectivityDetails.js +1 -0
  25. package/dist/ng-manager-swagger-service/src/services/schemas/ConnectorFilterProperties.d.ts +17 -0
  26. package/dist/ng-manager-swagger-service/src/services/schemas/ConnectorFilterProperties.js +1 -0
  27. package/dist/ng-manager-swagger-service/src/services/schemas/ConnectorInfoDto.d.ts +16 -0
  28. package/dist/ng-manager-swagger-service/src/services/schemas/ConnectorInfoDto.js +1 -0
  29. package/dist/ng-manager-swagger-service/src/services/schemas/ConnectorResponse.d.ts +24 -0
  30. package/dist/ng-manager-swagger-service/src/services/schemas/ConnectorResponse.js +1 -0
  31. package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentGroupResponse.d.ts +12 -0
  32. package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentGroupResponse.js +1 -0
  33. package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentGroupResponseDto.d.ts +19 -0
  34. package/dist/ng-manager-swagger-service/src/services/schemas/EnvironmentGroupResponseDto.js +1 -0
  35. package/dist/ng-manager-swagger-service/src/services/schemas/ErrorDetail.d.ts +8 -0
  36. package/dist/ng-manager-swagger-service/src/services/schemas/ErrorDetail.js +4 -0
  37. package/dist/ng-manager-swagger-service/src/services/schemas/FilterProperties.d.ts +9 -0
  38. package/dist/ng-manager-swagger-service/src/services/schemas/FilterProperties.js +4 -0
  39. package/dist/ng-manager-swagger-service/src/services/schemas/PageConnectorResponse.d.ts +26 -0
  40. package/dist/ng-manager-swagger-service/src/services/schemas/PageConnectorResponse.js +1 -0
  41. package/dist/ng-manager-swagger-service/src/services/schemas/PageEnvironmentGroupResponse.d.ts +26 -0
  42. package/dist/ng-manager-swagger-service/src/services/schemas/PageEnvironmentGroupResponse.js +1 -0
  43. package/dist/ng-manager-swagger-service/src/services/schemas/PageSecretResponseWrapper.d.ts +26 -0
  44. package/dist/ng-manager-swagger-service/src/services/schemas/PageSecretResponseWrapper.js +1 -0
  45. package/dist/ng-manager-swagger-service/src/services/schemas/PageServiceAccountAggregateDto.d.ts +26 -0
  46. package/dist/ng-manager-swagger-service/src/services/schemas/PageServiceAccountAggregateDto.js +1 -0
  47. package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageConnectorResponse.d.ts +9 -0
  48. package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageConnectorResponse.js +1 -0
  49. package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageEnvironmentGroupResponse.d.ts +9 -0
  50. package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageEnvironmentGroupResponse.js +1 -0
  51. package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageSecretResponseWrapper.d.ts +9 -0
  52. package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageSecretResponseWrapper.js +1 -0
  53. package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageServiceAccountAggregateDto.d.ts +9 -0
  54. package/dist/ng-manager-swagger-service/src/services/schemas/ResponsePageServiceAccountAggregateDto.js +1 -0
  55. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseSecretResponseWrapper.d.ts +9 -0
  56. package/dist/ng-manager-swagger-service/src/services/schemas/ResponseSecretResponseWrapper.js +1 -0
  57. package/dist/ng-manager-swagger-service/src/services/schemas/SecretDtov2.d.ts +15 -0
  58. package/dist/ng-manager-swagger-service/src/services/schemas/SecretDtov2.js +1 -0
  59. package/dist/ng-manager-swagger-service/src/services/schemas/SecretRequestWrapper.d.ts +4 -0
  60. package/dist/ng-manager-swagger-service/src/services/schemas/SecretRequestWrapper.js +1 -0
  61. package/dist/ng-manager-swagger-service/src/services/schemas/SecretResponseWrapper.d.ts +15 -0
  62. package/dist/ng-manager-swagger-service/src/services/schemas/SecretResponseWrapper.js +1 -0
  63. package/dist/ng-manager-swagger-service/src/services/schemas/SecretSpecDto.d.ts +3 -0
  64. package/dist/ng-manager-swagger-service/src/services/schemas/SecretSpecDto.js +4 -0
  65. package/dist/ng-manager-swagger-service/src/services/schemas/ServiceAccountAggregateDto.d.ts +18 -0
  66. package/dist/ng-manager-swagger-service/src/services/schemas/ServiceAccountAggregateDto.js +1 -0
  67. package/dist/ng-manager-swagger-service/src/services/schemas/ServiceAccountDto.d.ts +16 -0
  68. package/dist/ng-manager-swagger-service/src/services/schemas/ServiceAccountDto.js +1 -0
  69. package/package.json +1 -1
@@ -0,0 +1,51 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponsePageConnectorResponse } from '../schemas/ResponsePageConnectorResponse';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { ConnectorFilterPropertiesRequestBody } from '../requestBodies/ConnectorFilterPropertiesRequestBody';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetConnectorListV2MutationQueryParams {
9
+ accountIdentifier?: string;
10
+ searchTerm?: string;
11
+ orgIdentifier?: string;
12
+ projectIdentifier?: string;
13
+ filterIdentifier?: string;
14
+ includeAllConnectorsAvailableAtScope?: boolean;
15
+ branch?: string;
16
+ repoIdentifier?: string;
17
+ getDefaultFromOtherRepo?: boolean;
18
+ parentEntityConnectorRef?: string;
19
+ parentEntityRepoName?: string;
20
+ parentEntityAccountIdentifier?: string;
21
+ parentEntityOrgIdentifier?: string;
22
+ parentEntityProjectIdentifier?: string;
23
+ repoName?: string;
24
+ getDistinctFromBranches?: boolean;
25
+ version?: string;
26
+ onlyFavorites?: boolean;
27
+ /**
28
+ * @format int32
29
+ * @default 0
30
+ */
31
+ pageIndex?: number;
32
+ /**
33
+ * @format int32
34
+ * @default 50
35
+ */
36
+ pageSize?: number;
37
+ sortOrders?: string[];
38
+ pageToken?: string;
39
+ }
40
+ export type GetConnectorListV2RequestBody = ConnectorFilterPropertiesRequestBody;
41
+ export type GetConnectorListV2OkResponse = ResponseWithPagination<ResponsePageConnectorResponse>;
42
+ export type GetConnectorListV2ErrorResponse = Failure | Error;
43
+ export interface GetConnectorListV2Props extends Omit<FetcherOptions<GetConnectorListV2MutationQueryParams, GetConnectorListV2RequestBody>, 'url'> {
44
+ queryParams: GetConnectorListV2MutationQueryParams;
45
+ body: GetConnectorListV2RequestBody;
46
+ }
47
+ export declare function getConnectorListV2(props: GetConnectorListV2Props): Promise<GetConnectorListV2OkResponse>;
48
+ /**
49
+ *
50
+ */
51
+ export declare function useGetConnectorListV2Mutation(options?: Omit<UseMutationOptions<GetConnectorListV2OkResponse, GetConnectorListV2ErrorResponse, GetConnectorListV2Props>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetConnectorListV2OkResponse, GetConnectorListV2ErrorResponse, GetConnectorListV2Props, 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 getConnectorListV2(props) {
7
+ return fetcher(Object.assign({ url: `/connectors/listV2`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetConnectorListV2Mutation(options) {
13
+ return useMutation((mutateProps) => getConnectorListV2(mutateProps), options);
14
+ }
@@ -0,0 +1,32 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponsePageEntitySetupUsageDto } from '../schemas/ResponsePageEntitySetupUsageDto';
3
+ import type { ResponseWithPagination } from '../helpers';
4
+ import { FetcherOptions } from '../../../../fetcher/index.js';
5
+ export interface GetEntityReferencesQueryQueryParams {
6
+ /**
7
+ * @format int32
8
+ * @default 0
9
+ */
10
+ pageIndex?: number;
11
+ /**
12
+ * @format int32
13
+ * @default 100
14
+ */
15
+ pageSize?: number;
16
+ accountIdentifier?: string;
17
+ orgIdentifier?: string;
18
+ projectIdentifier?: string;
19
+ referredByEntityScope?: string;
20
+ referredEntityScope?: string;
21
+ referredEntityType?: 'AIEvaluation' | 'AIExperiment' | 'AWSECR' | 'AWSSecurityHub' | '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' | 'AzureSlotDeployment' | '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' | 'DeployAwsAgentCoreRevision' | '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' | 'GitClone' | 'GitHubAdvancedSecurity' | 'GitOpsApplication' | 'GitOpsFetchLinkedApps' | 'GitOpsRollout' | 'GitOpsSync' | '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' | 'K8sApply' | 'K8sBGSwapServices' | 'K8sBlueGreenDeploy' | 'K8sBlueGreenStageScaleDown' | 'K8sBlueGreenStageScaleUp' | 'K8sCanaryDelete' | 'K8sCanaryDeploy' | 'K8sDelete' | 'K8sDryRun' | 'K8sPatch' | 'K8sProgressiveCanaryRollback' | 'K8sRollingDeploy' | 'K8sRollingRollback' | 'K8sRollout' | 'K8sScale' | 'K8sTrafficRouting' | 'Mend' | 'MergePR' | 'Metasploit' | 'ModelScan' | 'MonitoredService' | 'Nessus' | 'NexusIQ' | 'Nikto' | 'Nmap' | 'NotificationChannel' | 'NotificationRule' | 'OpenAi' | 'Openvas' | 'OsvScaner' | 'Overrides' | 'Owasp' | 'PipelineStage' | 'PipelineSteps' | 'Pipelines' | 'Plugin' | 'Policy' | 'PrismaCloud' | 'Projects' | 'Prowler' | 'Qualys' | 'Queue' | 'Reapsaw' | 'RegisterCatalog' | 'RestoreCache' | 'RestoreCacheAzure' | 'RestoreCacheGCS' | 'RestoreCacheS3' | 'RevertPR' | 'RollbackAwsAgentCoreRevision' | 'RollbackCloudFunctionGenOne' | 'RollbackGoogleAgentRuntimeRevision' | 'RollbackStack' | 'RouteMapping' | 'Run' | 'RunTests' | 'S3Upload' | 'SASTSecret' | 'SCA' | 'SalesforceApexTest' | 'SalesforceChangeset' | 'SalesforceComparisonPair' | 'SalesforceCreateScratchOrg' | 'SalesforceDeleteScratchOrg' | 'SalesforceDeploy' | 'SalesforceDownloadDeployables' | 'SalesforceDownloadOrg' | 'SalesforceEvaluateDiff' | 'SalesforceExecution' | 'SalesforceQuickDeploy' | 'SalesforceRollback' | 'SalesforceSourceBackup' | 'SalesforceValidate' | 'SaveCache' | 'SaveCacheAzure' | 'SaveCacheGCS' | 'SaveCacheS3' | 'Secrets' | 'Security' | 'SecurityStage' | 'SecuritySteps' | 'Semgrep' | 'ServerlessAwsLambdaDeploy' | 'ServerlessAwsLambdaDeployV2' | 'ServerlessAwsLambdaPackageV2' | 'ServerlessAwsLambdaPrepareRollbackV2' | 'ServerlessAwsLambdaRollback' | 'ServerlessAwsLambdaRollbackV2' | 'Service' | 'ServiceDiscoveryAgent' | 'ServiceNowApproval' | 'ServiceNowCreate' | 'ServiceNowImportSet' | 'ServiceNowUpdate' | 'ShellScript' | 'ShellScriptProvision' | 'ShiftAwsAgentCoreTraffic' | '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';
22
+ }
23
+ export type GetEntityReferencesOkResponse = ResponseWithPagination<ResponsePageEntitySetupUsageDto>;
24
+ export type GetEntityReferencesErrorResponse = unknown;
25
+ export interface GetEntityReferencesProps extends Omit<FetcherOptions<GetEntityReferencesQueryQueryParams, unknown>, 'url'> {
26
+ queryParams: GetEntityReferencesQueryQueryParams;
27
+ }
28
+ export declare function getEntityReferences(props: GetEntityReferencesProps): Promise<GetEntityReferencesOkResponse>;
29
+ /**
30
+ *
31
+ */
32
+ export declare function useGetEntityReferencesQuery(props: GetEntityReferencesProps, options?: Omit<UseQueryOptions<GetEntityReferencesOkResponse, GetEntityReferencesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetEntityReferencesOkResponse, 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 { useQuery } from '@tanstack/react-query';
5
+ import { fetcher } from '../../../../fetcher/index.js';
6
+ export function getEntityReferences(props) {
7
+ return fetcher(Object.assign({ url: `/entitySetupUsage/getEntityReferences`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetEntityReferencesQuery(props, options) {
13
+ return useQuery(['getEntityReferences', props.queryParams], ({ signal }) => getEntityReferences(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,48 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponsePageEnvironmentGroupResponse } from '../schemas/ResponsePageEnvironmentGroupResponse';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { FilterProperties } from '../schemas/FilterProperties';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface GetEnvironmentGroupListMutationQueryParams {
9
+ accountIdentifier: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ envGroupIdentifiers?: string[];
13
+ searchTerm?: string;
14
+ /**
15
+ * @format int32
16
+ * @default 0
17
+ */
18
+ page?: number;
19
+ /**
20
+ * @format int32
21
+ * @default 25
22
+ */
23
+ size?: number;
24
+ sort?: string[];
25
+ filterIdentifier?: string;
26
+ branch?: string;
27
+ repoIdentifier?: string;
28
+ getDefaultFromOtherRepo?: boolean;
29
+ parentEntityConnectorRef?: string;
30
+ parentEntityRepoName?: string;
31
+ parentEntityAccountIdentifier?: string;
32
+ parentEntityOrgIdentifier?: string;
33
+ parentEntityProjectIdentifier?: string;
34
+ repoName?: string;
35
+ includeAllEnvGroupsAccessibleAtScope?: boolean;
36
+ }
37
+ export type GetEnvironmentGroupListRequestBody = FilterProperties;
38
+ export type GetEnvironmentGroupListOkResponse = ResponseWithPagination<ResponsePageEnvironmentGroupResponse>;
39
+ export type GetEnvironmentGroupListErrorResponse = Failure | Error;
40
+ export interface GetEnvironmentGroupListProps extends Omit<FetcherOptions<GetEnvironmentGroupListMutationQueryParams, GetEnvironmentGroupListRequestBody>, 'url'> {
41
+ queryParams: GetEnvironmentGroupListMutationQueryParams;
42
+ body: GetEnvironmentGroupListRequestBody;
43
+ }
44
+ export declare function getEnvironmentGroupList(props: GetEnvironmentGroupListProps): Promise<GetEnvironmentGroupListOkResponse>;
45
+ /**
46
+ *
47
+ */
48
+ export declare function useGetEnvironmentGroupListMutation(options?: Omit<UseMutationOptions<GetEnvironmentGroupListOkResponse, GetEnvironmentGroupListErrorResponse, GetEnvironmentGroupListProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<GetEnvironmentGroupListOkResponse, GetEnvironmentGroupListErrorResponse, GetEnvironmentGroupListProps, 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 getEnvironmentGroupList(props) {
7
+ return fetcher(Object.assign({ url: `/environmentGroup/list`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useGetEnvironmentGroupListMutation(options) {
13
+ return useMutation((mutateProps) => getEnvironmentGroupList(mutateProps), options);
14
+ }
@@ -0,0 +1,39 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponsePageServiceAccountAggregateDto } from '../schemas/ResponsePageServiceAccountAggregateDto';
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 ListAggregatedServiceAccountsQueryQueryParams {
8
+ accountIdentifier?: string;
9
+ orgIdentifier?: string;
10
+ projectIdentifier?: string;
11
+ identifiers?: string[];
12
+ /**
13
+ * @format int32
14
+ * @default 0
15
+ */
16
+ pageIndex?: number;
17
+ /**
18
+ * @format int32
19
+ * @default 50
20
+ */
21
+ pageSize?: number;
22
+ sortOrders?: string[];
23
+ pageToken?: string;
24
+ searchTerm?: string;
25
+ /**
26
+ * @default "EXCLUDE_INHERITED_SERVICE_ACCOUNTS"
27
+ */
28
+ filterType?: 'EXCLUDE_INHERITED_SERVICE_ACCOUNTS' | 'INCLUDE_CHILD_SCOPE_SERVICE_ACCOUNTS' | 'INCLUDE_INHERITED_SERVICE_ACCOUNTS';
29
+ }
30
+ export type ListAggregatedServiceAccountsOkResponse = ResponseWithPagination<ResponsePageServiceAccountAggregateDto>;
31
+ export type ListAggregatedServiceAccountsErrorResponse = Failure | Error;
32
+ export interface ListAggregatedServiceAccountsProps extends Omit<FetcherOptions<ListAggregatedServiceAccountsQueryQueryParams, unknown>, 'url'> {
33
+ queryParams: ListAggregatedServiceAccountsQueryQueryParams;
34
+ }
35
+ export declare function listAggregatedServiceAccounts(props: ListAggregatedServiceAccountsProps): Promise<ListAggregatedServiceAccountsOkResponse>;
36
+ /**
37
+ *
38
+ */
39
+ export declare function useListAggregatedServiceAccountsQuery(props: ListAggregatedServiceAccountsProps, options?: Omit<UseQueryOptions<ListAggregatedServiceAccountsOkResponse, ListAggregatedServiceAccountsErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListAggregatedServiceAccountsOkResponse, ListAggregatedServiceAccountsErrorResponse>;
@@ -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 listAggregatedServiceAccounts(props) {
7
+ return fetcher(Object.assign({ url: `/serviceaccount/aggregate`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function useListAggregatedServiceAccountsQuery(props, options) {
13
+ return useQuery(['listAggregatedServiceAccounts', props.queryParams], ({ signal }) => listAggregatedServiceAccounts(Object.assign(Object.assign({}, props), { signal })), options);
14
+ }
@@ -0,0 +1,42 @@
1
+ import { UseQueryOptions } from '@tanstack/react-query';
2
+ import type { ResponsePageSecretResponseWrapper } from '../schemas/ResponsePageSecretResponseWrapper';
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 ListSecretsV2QueryQueryParams {
8
+ accountIdentifier: string;
9
+ orgIdentifier?: string;
10
+ projectIdentifier?: string;
11
+ identifiers?: string[];
12
+ type?: 'SSHKey' | 'SecretFile' | 'SecretText' | 'WinRmCredentials';
13
+ searchTerm?: string;
14
+ types?: Array<'SSHKey' | 'SecretFile' | 'SecretText' | 'WinRmCredentials'>;
15
+ source_category?: 'AI' | 'ARTIFACTORY' | 'CLOUD_COST' | 'CLOUD_PROVIDER' | 'CODE_REPO' | 'COMMUNICATION' | 'CUSTOM' | 'DATABASE' | 'DOCUMENTATION' | 'MCP' | 'ML_OPS' | 'MONITORING' | 'SECRET_MANAGER' | 'TICKETING';
16
+ includeSecretsFromEverySubScope?: boolean;
17
+ includeAllSecretsAccessibleAtScope?: boolean;
18
+ /**
19
+ * @format int32
20
+ * @default 0
21
+ */
22
+ pageIndex?: number;
23
+ /**
24
+ * @format int32
25
+ * @default 50
26
+ */
27
+ pageSize?: number;
28
+ sortOrders?: string[];
29
+ pageToken?: string;
30
+ secretManagerIdentifiers?: string[];
31
+ }
32
+ export type ListSecretsV2OkResponse = ResponseWithPagination<ResponsePageSecretResponseWrapper>;
33
+ export type ListSecretsV2ErrorResponse = Failure | Error;
34
+ export interface ListSecretsV2Props extends Omit<FetcherOptions<ListSecretsV2QueryQueryParams, unknown>, 'url'> {
35
+ queryParams: ListSecretsV2QueryQueryParams;
36
+ }
37
+ export declare function listSecretsV2(props: ListSecretsV2Props): Promise<ListSecretsV2OkResponse>;
38
+ /**
39
+ *
40
+ * @deprecated
41
+ */
42
+ export declare function useListSecretsV2Query(props: ListSecretsV2Props, options?: Omit<UseQueryOptions<ListSecretsV2OkResponse, ListSecretsV2ErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListSecretsV2OkResponse, ListSecretsV2ErrorResponse>;
@@ -0,0 +1,15 @@
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 listSecretsV2(props) {
7
+ return fetcher(Object.assign({ url: `/v2/secrets`, method: 'GET' }, props));
8
+ }
9
+ /**
10
+ *
11
+ * @deprecated
12
+ */
13
+ export function useListSecretsV2Query(props, options) {
14
+ return useQuery(['listSecretsV2', props.queryParams], ({ signal }) => listSecretsV2(Object.assign(Object.assign({}, props), { signal })), options);
15
+ }
@@ -0,0 +1,25 @@
1
+ import { UseMutationOptions } from '@tanstack/react-query';
2
+ import type { ResponseSecretResponseWrapper } from '../schemas/ResponseSecretResponseWrapper';
3
+ import type { Failure } from '../schemas/Failure';
4
+ import type { Error } from '../schemas/Error';
5
+ import type { SecretRequestWrapper } from '../schemas/SecretRequestWrapper';
6
+ import type { ResponseWithPagination } from '../helpers';
7
+ import { FetcherOptions } from '../../../../fetcher/index.js';
8
+ export interface PostSecretMutationQueryParams {
9
+ accountIdentifier: string;
10
+ orgIdentifier?: string;
11
+ projectIdentifier?: string;
12
+ privateSecret?: boolean;
13
+ }
14
+ export type PostSecretRequestBody = SecretRequestWrapper;
15
+ export type PostSecretOkResponse = ResponseWithPagination<ResponseSecretResponseWrapper>;
16
+ export type PostSecretErrorResponse = Failure | Error;
17
+ export interface PostSecretProps extends Omit<FetcherOptions<PostSecretMutationQueryParams, PostSecretRequestBody>, 'url'> {
18
+ queryParams: PostSecretMutationQueryParams;
19
+ body: PostSecretRequestBody;
20
+ }
21
+ export declare function postSecret(props: PostSecretProps): Promise<PostSecretOkResponse>;
22
+ /**
23
+ *
24
+ */
25
+ export declare function usePostSecretMutation(options?: Omit<UseMutationOptions<PostSecretOkResponse, PostSecretErrorResponse, PostSecretProps>, 'mutationKey' | 'mutationFn'>): import("@tanstack/react-query").UseMutationResult<PostSecretOkResponse, PostSecretErrorResponse, PostSecretProps, 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 postSecret(props) {
7
+ return fetcher(Object.assign({ url: `/v2/secrets`, method: 'POST' }, props));
8
+ }
9
+ /**
10
+ *
11
+ */
12
+ export function usePostSecretMutation(options) {
13
+ return useMutation((mutateProps) => postSecret(mutateProps), options);
14
+ }
@@ -115,12 +115,18 @@ export type { GetCannyCategoriesErrorResponse, GetCannyCategoriesOkResponse, Get
115
115
  export { getCannyCategories, useGetCannyCategoriesQuery } from './hooks/useGetCannyCategoriesQuery';
116
116
  export type { GetClusterNamesForGcpErrorResponse, GetClusterNamesForGcpOkResponse, GetClusterNamesForGcpProps, GetClusterNamesForGcpQueryQueryParams, } from './hooks/useGetClusterNamesForGcpQuery';
117
117
  export { getClusterNamesForGcp, useGetClusterNamesForGcpQuery, } from './hooks/useGetClusterNamesForGcpQuery';
118
+ export type { GetConnectorListV2ErrorResponse, GetConnectorListV2MutationQueryParams, GetConnectorListV2OkResponse, GetConnectorListV2Props, GetConnectorListV2RequestBody, } from './hooks/useGetConnectorListV2Mutation';
119
+ export { getConnectorListV2, useGetConnectorListV2Mutation, } from './hooks/useGetConnectorListV2Mutation';
118
120
  export type { GetEksClusterNamesErrorResponse, GetEksClusterNamesOkResponse, GetEksClusterNamesProps, GetEksClusterNamesQueryQueryParams, } from './hooks/useGetEksClusterNamesQuery';
119
121
  export { getEksClusterNames, useGetEksClusterNamesQuery } from './hooks/useGetEksClusterNamesQuery';
120
122
  export type { GetEnabledFeatureRestrictionDetailByAccountIdErrorResponse, GetEnabledFeatureRestrictionDetailByAccountIdOkResponse, GetEnabledFeatureRestrictionDetailByAccountIdProps, GetEnabledFeatureRestrictionDetailByAccountIdQueryQueryParams, } from './hooks/useGetEnabledFeatureRestrictionDetailByAccountIdQuery';
121
123
  export { getEnabledFeatureRestrictionDetailByAccountId, useGetEnabledFeatureRestrictionDetailByAccountIdQuery, } from './hooks/useGetEnabledFeatureRestrictionDetailByAccountIdQuery';
124
+ export type { GetEntityReferencesErrorResponse, GetEntityReferencesOkResponse, GetEntityReferencesProps, GetEntityReferencesQueryQueryParams, } from './hooks/useGetEntityReferencesQuery';
125
+ export { getEntityReferences, useGetEntityReferencesQuery, } from './hooks/useGetEntityReferencesQuery';
122
126
  export type { GetEnvironmentAccessListErrorResponse, GetEnvironmentAccessListOkResponse, GetEnvironmentAccessListProps, GetEnvironmentAccessListQueryQueryParams, } from './hooks/useGetEnvironmentAccessListQuery';
123
127
  export { getEnvironmentAccessList, useGetEnvironmentAccessListQuery, } from './hooks/useGetEnvironmentAccessListQuery';
128
+ export type { GetEnvironmentGroupListErrorResponse, GetEnvironmentGroupListMutationQueryParams, GetEnvironmentGroupListOkResponse, GetEnvironmentGroupListProps, GetEnvironmentGroupListRequestBody, } from './hooks/useGetEnvironmentGroupListMutation';
129
+ export { getEnvironmentGroupList, useGetEnvironmentGroupListMutation, } from './hooks/useGetEnvironmentGroupListMutation';
124
130
  export type { GetEnvironmentListV2ErrorResponse, GetEnvironmentListV2MutationQueryParams, GetEnvironmentListV2OkResponse, GetEnvironmentListV2Props, GetEnvironmentListV2RequestBody, } from './hooks/useGetEnvironmentListV2Mutation';
125
131
  export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
126
132
  export type { GetEnvironmentsInputYamlAndServiceOverridesV2ErrorResponse, GetEnvironmentsInputYamlAndServiceOverridesV2MutationQueryParams, GetEnvironmentsInputYamlAndServiceOverridesV2OkResponse, GetEnvironmentsInputYamlAndServiceOverridesV2Props, GetEnvironmentsInputYamlAndServiceOverridesV2RequestBody, } from './hooks/useGetEnvironmentsInputYamlAndServiceOverridesV2Mutation';
@@ -299,6 +305,8 @@ export type { ListAggregatedApiKeysErrorResponse, ListAggregatedApiKeysOkRespons
299
305
  export { listAggregatedApiKeys, useListAggregatedApiKeysQuery, } from './hooks/useListAggregatedApiKeysQuery';
300
306
  export type { ListAggregatedKeysErrorResponse, ListAggregatedKeysOkResponse, ListAggregatedKeysProps, ListAggregatedKeysQueryQueryParams, } from './hooks/useListAggregatedKeysQuery';
301
307
  export { listAggregatedKeys, useListAggregatedKeysQuery } from './hooks/useListAggregatedKeysQuery';
308
+ export type { ListAggregatedServiceAccountsErrorResponse, ListAggregatedServiceAccountsOkResponse, ListAggregatedServiceAccountsProps, ListAggregatedServiceAccountsQueryQueryParams, } from './hooks/useListAggregatedServiceAccountsQuery';
309
+ export { listAggregatedServiceAccounts, useListAggregatedServiceAccountsQuery, } from './hooks/useListAggregatedServiceAccountsQuery';
302
310
  export type { ListAggregatedTokensErrorResponse, ListAggregatedTokensOkResponse, ListAggregatedTokensProps, ListAggregatedTokensQueryQueryParams, } from './hooks/useListAggregatedTokensQuery';
303
311
  export { listAggregatedTokens, useListAggregatedTokensQuery, } from './hooks/useListAggregatedTokensQuery';
304
312
  export type { ListAllEntityUsageByFqnErrorResponse, ListAllEntityUsageByFqnOkResponse, ListAllEntityUsageByFqnProps, ListAllEntityUsageByFqnQueryQueryParams, } from './hooks/useListAllEntityUsageByFqnQuery';
@@ -323,6 +331,8 @@ export type { ListProjectsForAzureArtifactsErrorResponse, ListProjectsForAzureAr
323
331
  export { listProjectsForAzureArtifacts, useListProjectsForAzureArtifactsQuery, } from './hooks/useListProjectsForAzureArtifactsQuery';
324
332
  export type { ListProjectsForAzureArtifactsWithServiceV2ErrorResponse, ListProjectsForAzureArtifactsWithServiceV2MutationQueryParams, ListProjectsForAzureArtifactsWithServiceV2OkResponse, ListProjectsForAzureArtifactsWithServiceV2Props, ListProjectsForAzureArtifactsWithServiceV2RequestBody, } from './hooks/useListProjectsForAzureArtifactsWithServiceV2Mutation';
325
333
  export { listProjectsForAzureArtifactsWithServiceV2, useListProjectsForAzureArtifactsWithServiceV2Mutation, } from './hooks/useListProjectsForAzureArtifactsWithServiceV2Mutation';
334
+ export type { ListSecretsV2ErrorResponse, ListSecretsV2OkResponse, ListSecretsV2Props, ListSecretsV2QueryQueryParams, } from './hooks/useListSecretsV2Query';
335
+ export { listSecretsV2, useListSecretsV2Query } from './hooks/useListSecretsV2Query';
326
336
  export type { ListTagsForAmiArtifactErrorResponse, ListTagsForAmiArtifactMutationQueryParams, ListTagsForAmiArtifactOkResponse, ListTagsForAmiArtifactProps, ListTagsForAmiArtifactRequestBody, } from './hooks/useListTagsForAmiArtifactMutation';
327
337
  export { listTagsForAmiArtifact, useListTagsForAmiArtifactMutation, } from './hooks/useListTagsForAmiArtifactMutation';
328
338
  export type { ListVersionsForAmiArtifactErrorResponse, ListVersionsForAmiArtifactMutationQueryParams, ListVersionsForAmiArtifactOkResponse, ListVersionsForAmiArtifactProps, ListVersionsForAmiArtifactRequestBody, } from './hooks/useListVersionsForAmiArtifactMutation';
@@ -335,6 +345,8 @@ export type { PostOrganizationErrorResponse, PostOrganizationMutationQueryParams
335
345
  export { postOrganization, usePostOrganizationMutation } from './hooks/usePostOrganizationMutation';
336
346
  export type { PostProjectErrorResponse, PostProjectMutationQueryParams, PostProjectOkResponse, PostProjectProps, PostProjectRequestBody, } from './hooks/usePostProjectMutation';
337
347
  export { postProject, usePostProjectMutation } from './hooks/usePostProjectMutation';
348
+ export type { PostSecretErrorResponse, PostSecretMutationQueryParams, PostSecretOkResponse, PostSecretProps, PostSecretRequestBody, } from './hooks/usePostSecretMutation';
349
+ export { postSecret, usePostSecretMutation } from './hooks/usePostSecretMutation';
338
350
  export type { PutLoginSettingsErrorResponse, PutLoginSettingsMutationPathParams, PutLoginSettingsMutationQueryParams, PutLoginSettingsOkResponse, PutLoginSettingsProps, PutLoginSettingsRequestBody, } from './hooks/usePutLoginSettingsMutation';
339
351
  export { putLoginSettings, usePutLoginSettingsMutation } from './hooks/usePutLoginSettingsMutation';
340
352
  export type { RemoveMemberErrorResponse, RemoveMemberMutationPathParams, RemoveMemberMutationQueryParams, RemoveMemberOkResponse, RemoveMemberProps, } from './hooks/useRemoveMemberMutation';
@@ -388,6 +400,7 @@ export { useVpcsQuery, vpcs } from './hooks/useVpcsQuery';
388
400
  export type { AcrRequestDtoRequestBody } from './requestBodies/AcrRequestDtoRequestBody';
389
401
  export type { ApiKeyDtoRequestBody } from './requestBodies/ApiKeyDtoRequestBody';
390
402
  export type { ArtifactoryRequestDtoRequestBody } from './requestBodies/ArtifactoryRequestDtoRequestBody';
403
+ export type { ConnectorFilterPropertiesRequestBody } from './requestBodies/ConnectorFilterPropertiesRequestBody';
391
404
  export type { DockerRequestDtoRequestBody } from './requestBodies/DockerRequestDtoRequestBody';
392
405
  export type { EcrRequestDtoRequestBody } from './requestBodies/EcrRequestDtoRequestBody';
393
406
  export type { EnvironmentFilterPropertiesRequestBody } from './requestBodies/EnvironmentFilterPropertiesRequestBody';
@@ -448,6 +461,13 @@ export type { BuildDetails } from './schemas/BuildDetails';
448
461
  export type { CacheResponseMetadata } from './schemas/CacheResponseMetadata';
449
462
  export type { CannyCategoriesResponseDto } from './schemas/CannyCategoriesResponseDto';
450
463
  export type { Category } from './schemas/Category';
464
+ export type { CcmConnectorFilter } from './schemas/CcmConnectorFilter';
465
+ export type { ConnectorActivityDetails } from './schemas/ConnectorActivityDetails';
466
+ export type { ConnectorConfigDto } from './schemas/ConnectorConfigDto';
467
+ export type { ConnectorConnectivityDetails } from './schemas/ConnectorConnectivityDetails';
468
+ export type { ConnectorFilterProperties } from './schemas/ConnectorFilterProperties';
469
+ export type { ConnectorInfoDto } from './schemas/ConnectorInfoDto';
470
+ export type { ConnectorResponse } from './schemas/ConnectorResponse';
451
471
  export type { CreateProviderRequestDto } from './schemas/CreateProviderRequestDto';
452
472
  export type { CreateProviderResponse } from './schemas/CreateProviderResponse';
453
473
  export type { CreateUserDto } from './schemas/CreateUserDto';
@@ -477,15 +497,19 @@ export type { EnvironmentAndServiceOverridesMetadataInput } from './schemas/Envi
477
497
  export type { EnvironmentCloneRequestDto } from './schemas/EnvironmentCloneRequestDto';
478
498
  export type { EnvironmentCloneResponseDto } from './schemas/EnvironmentCloneResponseDto';
479
499
  export type { EnvironmentFilterProperties } from './schemas/EnvironmentFilterProperties';
500
+ export type { EnvironmentGroupResponse } from './schemas/EnvironmentGroupResponse';
501
+ export type { EnvironmentGroupResponseDto } from './schemas/EnvironmentGroupResponseDto';
480
502
  export type { EnvironmentInputsetYamlAndServiceOverridesMetadata } from './schemas/EnvironmentInputsetYamlAndServiceOverridesMetadata';
481
503
  export type { EnvironmentResponse } from './schemas/EnvironmentResponse';
482
504
  export type { EnvironmentResponseDto } from './schemas/EnvironmentResponseDto';
483
505
  export type { EnvironmentYamlMetadataDto } from './schemas/EnvironmentYamlMetadataDto';
484
506
  export type { Error } from './schemas/Error';
507
+ export type { ErrorDetail } from './schemas/ErrorDetail';
485
508
  export type { ErrorMetadataDto } from './schemas/ErrorMetadataDto';
486
509
  export type { Failure } from './schemas/Failure';
487
510
  export type { FeatureRestrictionDetailsDto } from './schemas/FeatureRestrictionDetailsDto';
488
511
  export type { FilePaths } from './schemas/FilePaths';
512
+ export type { FilterProperties } from './schemas/FilterProperties';
489
513
  export type { FreezeReference } from './schemas/FreezeReference';
490
514
  export type { GarBuildDetailsDto } from './schemas/GarBuildDetailsDto';
491
515
  export type { GarPackageDto } from './schemas/GarPackageDto';
@@ -561,13 +585,17 @@ export type { Organization } from './schemas/Organization';
561
585
  export type { OrganizationRequest } from './schemas/OrganizationRequest';
562
586
  export type { OrganizationResponse } from './schemas/OrganizationResponse';
563
587
  export type { PageApiKeyAggregateDto } from './schemas/PageApiKeyAggregateDto';
588
+ export type { PageConnectorResponse } from './schemas/PageConnectorResponse';
564
589
  export type { PageEntitySetupUsageDto } from './schemas/PageEntitySetupUsageDto';
590
+ export type { PageEnvironmentGroupResponse } from './schemas/PageEnvironmentGroupResponse';
565
591
  export type { PageEnvironmentResponse } from './schemas/PageEnvironmentResponse';
566
592
  export type { PageInfrastructureResponse } from './schemas/PageInfrastructureResponse';
567
593
  export type { PageKeyDto } from './schemas/PageKeyDto';
568
594
  export type { PageOrganizationResponse } from './schemas/PageOrganizationResponse';
569
595
  export type { PageProjectAggregateDto } from './schemas/PageProjectAggregateDto';
570
596
  export type { PageProjectResponse } from './schemas/PageProjectResponse';
597
+ export type { PageSecretResponseWrapper } from './schemas/PageSecretResponseWrapper';
598
+ export type { PageServiceAccountAggregateDto } from './schemas/PageServiceAccountAggregateDto';
571
599
  export type { PageServiceDashboardResponseDto } from './schemas/PageServiceDashboardResponseDto';
572
600
  export type { PageServiceResponse } from './schemas/PageServiceResponse';
573
601
  export type { PageTokenAggregateDto } from './schemas/PageTokenAggregateDto';
@@ -664,13 +692,17 @@ export type { ResponseNexusBuildDetailsDto } from './schemas/ResponseNexusBuildD
664
692
  export type { ResponseNexusResponseDto } from './schemas/ResponseNexusResponseDto';
665
693
  export type { ResponseOrganizationResponse } from './schemas/ResponseOrganizationResponse';
666
694
  export type { ResponsePageApiKeyAggregateDto } from './schemas/ResponsePageApiKeyAggregateDto';
695
+ export type { ResponsePageConnectorResponse } from './schemas/ResponsePageConnectorResponse';
667
696
  export type { ResponsePageEntitySetupUsageDto } from './schemas/ResponsePageEntitySetupUsageDto';
697
+ export type { ResponsePageEnvironmentGroupResponse } from './schemas/ResponsePageEnvironmentGroupResponse';
668
698
  export type { ResponsePageEnvironmentResponse } from './schemas/ResponsePageEnvironmentResponse';
669
699
  export type { ResponsePageInfrastructureResponse } from './schemas/ResponsePageInfrastructureResponse';
670
700
  export type { ResponsePageKeyDto } from './schemas/ResponsePageKeyDto';
671
701
  export type { ResponsePageOrganizationResponse } from './schemas/ResponsePageOrganizationResponse';
672
702
  export type { ResponsePageProjectAggregateDto } from './schemas/ResponsePageProjectAggregateDto';
673
703
  export type { ResponsePageProjectResponse } from './schemas/ResponsePageProjectResponse';
704
+ export type { ResponsePageSecretResponseWrapper } from './schemas/ResponsePageSecretResponseWrapper';
705
+ export type { ResponsePageServiceAccountAggregateDto } from './schemas/ResponsePageServiceAccountAggregateDto';
674
706
  export type { ResponsePageServiceDashboardResponseDto } from './schemas/ResponsePageServiceDashboardResponseDto';
675
707
  export type { ResponsePageServiceResponse } from './schemas/ResponsePageServiceResponse';
676
708
  export type { ResponsePageTokenAggregateDto } from './schemas/ResponsePageTokenAggregateDto';
@@ -678,6 +710,7 @@ export type { ResponsePageUserGroupAggregateDto } from './schemas/ResponsePageUs
678
710
  export type { ResponsePageVariableResponseDto } from './schemas/ResponsePageVariableResponseDto';
679
711
  export type { ResponsePasswordChangeResponse } from './schemas/ResponsePasswordChangeResponse';
680
712
  export type { ResponseProjectResponse } from './schemas/ResponseProjectResponse';
713
+ export type { ResponseSecretResponseWrapper } from './schemas/ResponseSecretResponseWrapper';
681
714
  export type { ResponseServiceResponse } from './schemas/ResponseServiceResponse';
682
715
  export type { ResponseServicesV2YamlMetadataDto } from './schemas/ResponseServicesV2YamlMetadataDto';
683
716
  export type { ResponseSetHelmCommandFlagType } from './schemas/ResponseSetHelmCommandFlagType';
@@ -710,8 +743,14 @@ export type { ScopeName } from './schemas/ScopeName';
710
743
  export type { ScopeSelector } from './schemas/ScopeSelector';
711
744
  export type { ScopedResourceMetadata } from './schemas/ScopedResourceMetadata';
712
745
  export type { ScopedResourcePermission } from './schemas/ScopedResourcePermission';
746
+ export type { SecretDtov2 } from './schemas/SecretDtov2';
713
747
  export type { SecretRefData } from './schemas/SecretRefData';
748
+ export type { SecretRequestWrapper } from './schemas/SecretRequestWrapper';
749
+ export type { SecretResponseWrapper } from './schemas/SecretResponseWrapper';
750
+ export type { SecretSpecDto } from './schemas/SecretSpecDto';
714
751
  export type { SecretUniqueIdentifier } from './schemas/SecretUniqueIdentifier';
752
+ export type { ServiceAccountAggregateDto } from './schemas/ServiceAccountAggregateDto';
753
+ export type { ServiceAccountDto } from './schemas/ServiceAccountDto';
715
754
  export type { ServiceCloneRequestDto } from './schemas/ServiceCloneRequestDto';
716
755
  export type { ServiceDashboardResponseDto } from './schemas/ServiceDashboardResponseDto';
717
756
  export type { ServiceNowFieldAllowedValueNg } from './schemas/ServiceNowFieldAllowedValueNg';
@@ -56,9 +56,12 @@ export { getBuildsForBamboo, useGetBuildsForBambooMutation, } from './hooks/useG
56
56
  export { getBuildsForJenkins, useGetBuildsForJenkinsQuery, } from './hooks/useGetBuildsForJenkinsQuery';
57
57
  export { getCannyCategories, useGetCannyCategoriesQuery } from './hooks/useGetCannyCategoriesQuery';
58
58
  export { getClusterNamesForGcp, useGetClusterNamesForGcpQuery, } from './hooks/useGetClusterNamesForGcpQuery';
59
+ export { getConnectorListV2, useGetConnectorListV2Mutation, } from './hooks/useGetConnectorListV2Mutation';
59
60
  export { getEksClusterNames, useGetEksClusterNamesQuery } from './hooks/useGetEksClusterNamesQuery';
60
61
  export { getEnabledFeatureRestrictionDetailByAccountId, useGetEnabledFeatureRestrictionDetailByAccountIdQuery, } from './hooks/useGetEnabledFeatureRestrictionDetailByAccountIdQuery';
62
+ export { getEntityReferences, useGetEntityReferencesQuery, } from './hooks/useGetEntityReferencesQuery';
61
63
  export { getEnvironmentAccessList, useGetEnvironmentAccessListQuery, } from './hooks/useGetEnvironmentAccessListQuery';
64
+ export { getEnvironmentGroupList, useGetEnvironmentGroupListMutation, } from './hooks/useGetEnvironmentGroupListMutation';
62
65
  export { getEnvironmentListV2, useGetEnvironmentListV2Mutation, } from './hooks/useGetEnvironmentListV2Mutation';
63
66
  export { getEnvironmentsInputYamlAndServiceOverridesV2, useGetEnvironmentsInputYamlAndServiceOverridesV2Mutation, } from './hooks/useGetEnvironmentsInputYamlAndServiceOverridesV2Mutation';
64
67
  export { getFilePathsForS3, useGetFilePathsForS3Query } from './hooks/useGetFilePathsForS3Query';
@@ -148,6 +151,7 @@ export { linkToOidcGroup, useLinkToOidcGroupMutation } from './hooks/useLinkToOi
148
151
  export { linkToSamlGroup, useLinkToSamlGroupMutation } from './hooks/useLinkToSamlGroupMutation';
149
152
  export { listAggregatedApiKeys, useListAggregatedApiKeysQuery, } from './hooks/useListAggregatedApiKeysQuery';
150
153
  export { listAggregatedKeys, useListAggregatedKeysQuery } from './hooks/useListAggregatedKeysQuery';
154
+ export { listAggregatedServiceAccounts, useListAggregatedServiceAccountsQuery, } from './hooks/useListAggregatedServiceAccountsQuery';
151
155
  export { listAggregatedTokens, useListAggregatedTokensQuery, } from './hooks/useListAggregatedTokensQuery';
152
156
  export { listAllEntityUsageByFqn, useListAllEntityUsageByFqnQuery, } from './hooks/useListAllEntityUsageByFqnQuery';
153
157
  export { listApiKeys, useListApiKeysQuery } from './hooks/useListApiKeysQuery';
@@ -160,12 +164,14 @@ export { listPackagesForAzureArtifacts, useListPackagesForAzureArtifactsQuery, }
160
164
  export { listPackagesForAzureArtifactsWithServiceV2, useListPackagesForAzureArtifactsWithServiceV2Mutation, } from './hooks/useListPackagesForAzureArtifactsWithServiceV2Mutation';
161
165
  export { listProjectsForAzureArtifacts, useListProjectsForAzureArtifactsQuery, } from './hooks/useListProjectsForAzureArtifactsQuery';
162
166
  export { listProjectsForAzureArtifactsWithServiceV2, useListProjectsForAzureArtifactsWithServiceV2Mutation, } from './hooks/useListProjectsForAzureArtifactsWithServiceV2Mutation';
167
+ export { listSecretsV2, useListSecretsV2Query } from './hooks/useListSecretsV2Query';
163
168
  export { listTagsForAmiArtifact, useListTagsForAmiArtifactMutation, } from './hooks/useListTagsForAmiArtifactMutation';
164
169
  export { listVersionsForAmiArtifact, useListVersionsForAmiArtifactMutation, } from './hooks/useListVersionsForAmiArtifactMutation';
165
170
  export { listVersionsFromPackageWithServiceV2, useListVersionsFromPackageWithServiceV2Mutation, } from './hooks/useListVersionsFromPackageWithServiceV2Mutation';
166
171
  export { postLdapAuthenticationTest, usePostLdapAuthenticationTestMutation, } from './hooks/usePostLdapAuthenticationTestMutation';
167
172
  export { postOrganization, usePostOrganizationMutation } from './hooks/usePostOrganizationMutation';
168
173
  export { postProject, usePostProjectMutation } from './hooks/usePostProjectMutation';
174
+ export { postSecret, usePostSecretMutation } from './hooks/usePostSecretMutation';
169
175
  export { putLoginSettings, usePutLoginSettingsMutation } from './hooks/usePutLoginSettingsMutation';
170
176
  export { removeMember, useRemoveMemberMutation } from './hooks/useRemoveMemberMutation';
171
177
  export { rotateToken, useRotateTokenMutation } from './hooks/useRotateTokenMutation';
@@ -0,0 +1,2 @@
1
+ import type { ConnectorFilterProperties } from '../schemas/ConnectorFilterProperties';
2
+ export type ConnectorFilterPropertiesRequestBody = ConnectorFilterProperties;
@@ -0,0 +1,10 @@
1
+ export interface CcmConnectorFilter {
2
+ awsAccountId?: string;
3
+ awsAccountIds?: string[];
4
+ azureSubscriptionId?: string;
5
+ azureTenantId?: string;
6
+ featuresDisabled?: Array<'BILLING' | 'CLUSTER_ORCHESTRATOR' | 'COMMITMENT_ORCHESTRATOR' | 'GOVERNANCE' | 'OPTIMIZATION' | 'VISIBILITY'>;
7
+ featuresEnabled?: Array<'BILLING' | 'CLUSTER_ORCHESTRATOR' | 'COMMITMENT_ORCHESTRATOR' | 'GOVERNANCE' | 'OPTIMIZATION' | 'VISIBILITY'>;
8
+ gcpProjectId?: string;
9
+ k8sConnectorRef?: string[];
10
+ }
@@ -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 ConnectorActivityDetails {
2
+ /**
3
+ * @format int64
4
+ */
5
+ lastActivityTime?: number;
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,3 @@
1
+ export interface ConnectorConfigDto {
2
+ [key: string]: any;
3
+ }
@@ -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,18 @@
1
+ import type { ErrorDetail } from '../schemas/ErrorDetail';
2
+ export interface ConnectorConnectivityDetails {
3
+ errorSummary?: string;
4
+ errors?: ErrorDetail[];
5
+ /**
6
+ * @format int64
7
+ */
8
+ lastConnectedAt?: number;
9
+ /**
10
+ * @format int64
11
+ */
12
+ lastTestedAt?: number;
13
+ status?: 'FAILURE' | 'PARTIAL' | 'PENDING' | 'SUCCESS' | 'UNKNOWN';
14
+ /**
15
+ * @format int64
16
+ */
17
+ testedAt?: number;
18
+ }
@@ -0,0 +1,17 @@
1
+ import type { CcmConnectorFilter } from '../schemas/CcmConnectorFilter';
2
+ import type { FilterProperties } from '../schemas/FilterProperties';
3
+ export interface ConnectorFilterProperties extends FilterProperties {
4
+ categories?: Array<'AI' | 'ARTIFACTORY' | 'CLOUD_COST' | 'CLOUD_PROVIDER' | 'CODE_REPO' | 'COMMUNICATION' | 'CUSTOM' | 'DATABASE' | 'DOCUMENTATION' | 'MCP' | 'ML_OPS' | 'MONITORING' | 'SECRET_MANAGER' | 'TICKETING'>;
5
+ ccmConnectorFilter?: CcmConnectorFilter;
6
+ connectivityStatuses?: Array<'FAILURE' | 'PARTIAL' | 'PENDING' | 'SUCCESS' | 'UNKNOWN'>;
7
+ connectorConnectivityModes?: Array<'DELEGATE' | 'MANAGER'>;
8
+ connectorIdentifiers?: string[];
9
+ connectorIds?: string[];
10
+ connectorNames?: string[];
11
+ description?: string;
12
+ inheritingCredentialsFromDelegate?: boolean;
13
+ parentUniqueIdToFavoriteMap?: {
14
+ [key: string]: string[];
15
+ };
16
+ types?: Array<'Anthropic' | 'AppDynamics' | 'Artifactory' | 'Aws' | 'AwsKms' | 'AwsSecretManager' | 'Azure' | 'AzureArtifacts' | 'AzureKeyVault' | 'AzureRepo' | 'Bamboo' | 'Bitbucket' | 'CEAws' | 'CEAzure' | 'CEK8sCluster' | 'Codecommit' | 'Confluence' | 'Cursor' | 'CustomHealth' | 'CustomHttp' | 'CustomSecretManager' | 'Datadog' | 'DockerRegistry' | 'Dynatrace' | 'ElasticSearch' | 'ErrorTracking' | 'Gcp' | 'GcpCloudCost' | 'GcpKms' | 'GcpSecretManager' | 'Git' | 'Github' | 'GithubMcp' | 'Gitlab' | 'GoogleChat' | 'Harness' | 'HttpHelmRepo' | 'JDBC' | 'Jenkins' | 'Jira' | 'Jsm' | 'K8sCluster' | 'LangSmith' | 'Local' | 'MLFlow' | 'Mcp' | 'MsTeams' | 'NewRelic' | 'Nexus' | 'OciHelmRepo' | 'OpenAI' | 'OpsGenie' | 'PagerDuty' | 'Pdc' | 'Prometheus' | 'Rancher' | 'Salesforce' | 'ServiceNow' | 'SignalFX' | 'Slack' | 'Splunk' | 'Spot' | 'SumoLogic' | 'Tas' | 'TerraformCloud' | 'Vault' | 'XMatters' | 'Zoom'>;
17
+ }
@@ -0,0 +1,16 @@
1
+ import type { ConnectorConfigDto } from '../schemas/ConnectorConfigDto';
2
+ export interface ConnectorInfoDto {
3
+ accountIdentifier?: string;
4
+ description?: string;
5
+ identifier: string;
6
+ name: string;
7
+ orgIdentifier?: string;
8
+ parentUniqueId?: string;
9
+ projectIdentifier?: string;
10
+ spec: ConnectorConfigDto;
11
+ tags?: {
12
+ [key: string]: string;
13
+ };
14
+ type: 'Anthropic' | 'AppDynamics' | 'Artifactory' | 'Aws' | 'AwsKms' | 'AwsSecretManager' | 'Azure' | 'AzureArtifacts' | 'AzureKeyVault' | 'AzureRepo' | 'Bamboo' | 'Bitbucket' | 'CEAws' | 'CEAzure' | 'CEK8sCluster' | 'Codecommit' | 'Confluence' | 'Cursor' | 'CustomHealth' | 'CustomHttp' | 'CustomSecretManager' | 'Datadog' | 'DockerRegistry' | 'Dynatrace' | 'ElasticSearch' | 'ErrorTracking' | 'Gcp' | 'GcpCloudCost' | 'GcpKms' | 'GcpSecretManager' | 'Git' | 'Github' | 'GithubMcp' | 'Gitlab' | 'GoogleChat' | 'Harness' | 'HttpHelmRepo' | 'JDBC' | 'Jenkins' | 'Jira' | 'Jsm' | 'K8sCluster' | 'LangSmith' | 'Local' | 'MLFlow' | 'Mcp' | 'MsTeams' | 'NewRelic' | 'Nexus' | 'OciHelmRepo' | 'OpenAI' | 'OpsGenie' | 'PagerDuty' | 'Pdc' | 'Prometheus' | 'Rancher' | 'Salesforce' | 'ServiceNow' | 'SignalFX' | 'Slack' | 'Splunk' | 'Spot' | 'SumoLogic' | 'Tas' | 'TerraformCloud' | 'Vault' | 'XMatters' | 'Zoom';
15
+ uniqueId?: string;
16
+ }
@@ -0,0 +1,24 @@
1
+ import type { ConnectorActivityDetails } from '../schemas/ConnectorActivityDetails';
2
+ import type { ConnectorInfoDto } from '../schemas/ConnectorInfoDto';
3
+ import type { EntityValidityDetails } from '../schemas/EntityValidityDetails';
4
+ import type { EntityGitDetails } from '../schemas/EntityGitDetails';
5
+ import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
6
+ import type { ConnectorConnectivityDetails } from '../schemas/ConnectorConnectivityDetails';
7
+ export interface ConnectorResponse {
8
+ activityDetails?: ConnectorActivityDetails;
9
+ connector?: ConnectorInfoDto;
10
+ /**
11
+ * @format int64
12
+ */
13
+ createdAt?: number;
14
+ entityValidityDetails?: EntityValidityDetails;
15
+ gitDetails?: EntityGitDetails;
16
+ governanceMetadata?: GovernanceMetadata;
17
+ harnessManaged?: boolean;
18
+ isFavorite?: boolean;
19
+ /**
20
+ * @format int64
21
+ */
22
+ lastModifiedAt?: number;
23
+ status?: ConnectorConnectivityDetails;
24
+ }
@@ -0,0 +1,12 @@
1
+ import type { EnvironmentGroupResponseDto } from '../schemas/EnvironmentGroupResponseDto';
2
+ export interface EnvironmentGroupResponse {
3
+ /**
4
+ * @format int64
5
+ */
6
+ createdAt?: number;
7
+ envGroup?: EnvironmentGroupResponseDto;
8
+ /**
9
+ * @format int64
10
+ */
11
+ lastModifiedAt?: number;
12
+ }
@@ -0,0 +1,19 @@
1
+ import type { EnvironmentResponse } from '../schemas/EnvironmentResponse';
2
+ import type { EntityGitDetails } from '../schemas/EntityGitDetails';
3
+ export interface EnvironmentGroupResponseDto {
4
+ accountId?: string;
5
+ color?: string;
6
+ deleted?: boolean;
7
+ description?: string;
8
+ envIdentifiers?: string[];
9
+ envResponse?: EnvironmentResponse[];
10
+ gitDetails?: EntityGitDetails;
11
+ identifier?: string;
12
+ name?: string;
13
+ orgIdentifier?: string;
14
+ projectIdentifier?: string;
15
+ tags?: {
16
+ [key: string]: string;
17
+ };
18
+ yaml?: string;
19
+ }
@@ -0,0 +1,8 @@
1
+ export interface ErrorDetail {
2
+ /**
3
+ * @format int32
4
+ */
5
+ code?: number;
6
+ message?: string;
7
+ reason?: string;
8
+ }
@@ -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
+ export interface FilterProperties {
2
+ filterType?: 'Anomaly' | 'Audit' | 'Autocud' | 'CCMBudget' | 'CCMConnector' | 'CCMK8sConnector' | 'CCMRecommendation' | 'Connector' | 'Delegate' | 'DelegateProfile' | 'Deployment' | 'Environment' | 'EnvironmentGroup' | 'FileStore' | 'InputSet' | 'Override' | 'PipelineExecution' | 'PipelineSetup' | 'QueuedPipeline' | 'RIInventory' | 'RuleExecution' | 'SPInventory' | 'Secret' | 'Service' | 'Template' | 'Trigger' | 'Webhook';
3
+ labels?: {
4
+ [key: string]: string;
5
+ };
6
+ tags?: {
7
+ [key: string]: string;
8
+ };
9
+ }
@@ -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,26 @@
1
+ import type { ConnectorResponse } from '../schemas/ConnectorResponse';
2
+ export interface PageConnectorResponse {
3
+ content?: ConnectorResponse[];
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,26 @@
1
+ import type { EnvironmentGroupResponse } from '../schemas/EnvironmentGroupResponse';
2
+ export interface PageEnvironmentGroupResponse {
3
+ content?: EnvironmentGroupResponse[];
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,26 @@
1
+ import type { SecretResponseWrapper } from '../schemas/SecretResponseWrapper';
2
+ export interface PageSecretResponseWrapper {
3
+ content?: SecretResponseWrapper[];
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,26 @@
1
+ import type { ServiceAccountAggregateDto } from '../schemas/ServiceAccountAggregateDto';
2
+ export interface PageServiceAccountAggregateDto {
3
+ content?: ServiceAccountAggregateDto[];
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 { PageConnectorResponse } from '../schemas/PageConnectorResponse';
2
+ export interface ResponsePageConnectorResponse {
3
+ correlationId?: string;
4
+ data?: PageConnectorResponse;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { PageEnvironmentGroupResponse } from '../schemas/PageEnvironmentGroupResponse';
2
+ export interface ResponsePageEnvironmentGroupResponse {
3
+ correlationId?: string;
4
+ data?: PageEnvironmentGroupResponse;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { PageSecretResponseWrapper } from '../schemas/PageSecretResponseWrapper';
2
+ export interface ResponsePageSecretResponseWrapper {
3
+ correlationId?: string;
4
+ data?: PageSecretResponseWrapper;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { PageServiceAccountAggregateDto } from '../schemas/PageServiceAccountAggregateDto';
2
+ export interface ResponsePageServiceAccountAggregateDto {
3
+ correlationId?: string;
4
+ data?: PageServiceAccountAggregateDto;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,9 @@
1
+ import type { SecretResponseWrapper } from '../schemas/SecretResponseWrapper';
2
+ export interface ResponseSecretResponseWrapper {
3
+ correlationId?: string;
4
+ data?: SecretResponseWrapper;
5
+ metaData?: {
6
+ [key: string]: any;
7
+ };
8
+ status?: 'ERROR' | 'FAILURE' | 'SUCCESS';
9
+ }
@@ -0,0 +1,15 @@
1
+ import type { SecretSpecDto } from '../schemas/SecretSpecDto';
2
+ export interface SecretDtov2 {
3
+ description?: string;
4
+ identifier: string;
5
+ name: string;
6
+ orgIdentifier?: string;
7
+ parentUniqueId?: string;
8
+ projectIdentifier?: string;
9
+ spec: SecretSpecDto;
10
+ tags?: {
11
+ [key: string]: string;
12
+ };
13
+ type: 'SSHKey' | 'SecretFile' | 'SecretText' | 'WinRmCredentials';
14
+ uniqueId?: string;
15
+ }
@@ -0,0 +1,4 @@
1
+ import type { SecretDtov2 } from '../schemas/SecretDtov2';
2
+ export interface SecretRequestWrapper {
3
+ secret: SecretDtov2;
4
+ }
@@ -0,0 +1,15 @@
1
+ import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
2
+ import type { SecretDtov2 } from '../schemas/SecretDtov2';
3
+ export interface SecretResponseWrapper {
4
+ /**
5
+ * @format int64
6
+ */
7
+ createdAt?: number;
8
+ draft?: boolean;
9
+ governanceMetadata?: GovernanceMetadata;
10
+ secret: SecretDtov2;
11
+ /**
12
+ * @format int64
13
+ */
14
+ updatedAt?: number;
15
+ }
@@ -0,0 +1,3 @@
1
+ export interface SecretSpecDto {
2
+ errorMessageForInvalidYaml?: string;
3
+ }
@@ -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,18 @@
1
+ import type { RoleAssignmentMetadataDto } from '../schemas/RoleAssignmentMetadataDto';
2
+ import type { ServiceAccountDto } from '../schemas/ServiceAccountDto';
3
+ export interface ServiceAccountAggregateDto {
4
+ /**
5
+ * @format int64
6
+ */
7
+ createdAt: number;
8
+ /**
9
+ * @format int64
10
+ */
11
+ lastModifiedAt: number;
12
+ roleAssignmentsMetadataDTO?: RoleAssignmentMetadataDto[];
13
+ serviceAccount: ServiceAccountDto;
14
+ /**
15
+ * @format int32
16
+ */
17
+ tokensCount?: number;
18
+ }
@@ -0,0 +1,16 @@
1
+ import type { GovernanceMetadata } from '../schemas/GovernanceMetadata';
2
+ export interface ServiceAccountDto {
3
+ accountIdentifier: string;
4
+ description?: string;
5
+ email: string;
6
+ governanceMetadata?: GovernanceMetadata;
7
+ identifier: string;
8
+ name: string;
9
+ orgIdentifier?: string;
10
+ parentUniqueId?: string;
11
+ projectIdentifier?: string;
12
+ tags?: {
13
+ [key: string]: string;
14
+ };
15
+ uniqueId?: string;
16
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-ng-manager-swagger-service-client",
3
- "version": "1.35.0",
3
+ "version": "1.36.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",